aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_image.h')
-rw-r--r--src/gwin/gwin_image.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/gwin/gwin_image.h b/src/gwin/gwin_image.h
index b45629ee..2cf00761 100644
--- a/src/gwin/gwin_image.h
+++ b/src/gwin/gwin_image.h
@@ -40,10 +40,6 @@ typedef struct GImageObject {
#endif
} GImageObject;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* @brief Create an image widget.
* @details Display's a picture.
@@ -63,18 +59,18 @@ GHandle gwinGImageCreate(GDisplay *g, GImageObject *widget, GWindowInit *pInit);
/**
* @brief Opens the image using a GFILE
- * @return TRUE if the image can be opened
+ * @return gTrue if the image can be opened
*
* @param[in] gh The widget (must be an image widget)
* @param[in] f The open (for reading) GFILE to use
*
* @api
*/
-bool_t gwinImageOpenGFile(GHandle gh, GFILE *f);
+gBool gwinImageOpenGFile(GHandle gh, GFILE *f);
/**
* @brief Opens the image using the specified filename
- * @return TRUE if the open succeeds
+ * @return gTrue if the open succeeds
*
* @param[in] gh The widget (must be an image widget)
* @param[in] filename The filename to open
@@ -87,7 +83,7 @@ bool_t gwinImageOpenGFile(GHandle gh, GFILE *f);
* @brief Sets the input routines that support reading the image from memory
* in RAM or flash.
* @pre GFILE_NEED_MEMFS must be GFXON
- * @return TRUE if the IO open function succeeds
+ * @return gTrue if the IO open function succeeds
*
* @param[in] gh The widget (must be an image widget)
* @param[in] ptr A pointer to the image in RAM or Flash
@@ -98,7 +94,7 @@ bool_t gwinImageOpenGFile(GHandle gh, GFILE *f);
/**
* @brief Sets the input routines that support reading the image from a BaseFileStream (eg. an SD-Card).
- * @return TRUE if the IO open function succeeds
+ * @return gTrue if the IO open function succeeds
* @pre GFILE_NEED_CHIBIOSFS and GFX_USE_OS_CHIBIOS must be GFXON
*
* @param[in] gh The widget (must be an image widget)
@@ -120,10 +116,6 @@ bool_t gwinImageOpenGFile(GHandle gh, GFILE *f);
*/
gdispImageError gwinImageCache(GHandle gh);
-#ifdef __cplusplus
-}
-#endif
-
#endif // _GWIN_IMAGE_H
/** @} */