Compare commits

...

10 Commits

Author SHA1 Message Date
Joel Bodenmann 13d360b17f Doxygen: Set PROJECT_NAME appropriately. 2021-04-13 18:53:06 +02:00
Joel Bodenmann df7027881a Doxygen improvements 2021-04-13 18:36:22 +02:00
Joel Bodenmann 2d4bbea4a3 Update doxygen file
Updated doxygenfile using $>_ doxygen -u Doxyfile
2021-04-13 18:21:54 +02:00
inmarket ff93884f71 Fix doxygen comment 2020-01-21 12:10:35 +10:00
inmarket 0586fd276d Fix to gImage BMP handling where the system pixel size is less than a byte 2019-05-08 09:25:35 +10:00
inmarket 127a7cd2a2 Fix to GWIN console widget 2019-05-08 09:01:56 +10:00
inmarket 701f697df5 Fix release notes 2019-05-08 08:33:47 +10:00
Joel Bodenmann 39bde23dd9 Merge branch 'develop' 2019-05-01 17:07:43 +02:00
Joel Bodenmann 835f0f197f Release v2.9 2019-02-26 16:01:07 +01:00
Joel Bodenmann 138b49a1a0 Updating .gitignore 2019-02-26 16:00:55 +01:00
16 changed files with 539 additions and 248 deletions

6
.gitignore vendored
View File

@ -1,4 +1,3 @@
docs/html
build
.build
.dep
@ -9,5 +8,10 @@ build
*.lst
*.o
*.map
src/gdisp/fonts/*.dat
docs/html
docs/html.zip
docs/*.db
docs/*.tmp

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,13 @@
*** Releases ***
*****************************************************************************
*** After Release 2.8 ***
*** After Release 2.9 ***
CHANGE: Added type gImage to replace V2.x gdispImage
FIX: Fixed GWIN console widget scroll
FIX: A warning and adjusted is made if GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE is less than 40 bytes.
*** Release 2.9 ***
FEATURE: Added config vars GINPUT_TOUCH_CALIBRATION_FONT1 and GINPUT_TOUCH_CALIBRATION_FONT2
FEATURE: Added config vars GINPUT_TOUCH_CALIBRATION_TITLE and GINPUT_TOUCH_CALIBRATION_ERROR
FIX: Fixed ensuring the clock is fully started in STM32LTDC based boards
@ -22,7 +28,6 @@ CHANGE: Added type gThread to replace V2.x gfxThreadHandle and macros G
CHANGE: Added type gThreadreturn to replace V2.x threadreturn_t and pseudo function gfxThreadReturn() to replace THREAD_RETURN()
CHANGE: Added type gThreadpriority to replace V2.x threadpriority_t and values gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY
CHANGE: Added type gPoint to replace V2.x point and point_t
CHANGE: Added type gImage to replace V2.x gdispImage
CHANGE: Added type gCoord to replace V2.x coord_t
CHANGE: Added type gPixel to replace V2.x pixel_t
CHANGE: Added type gColor to replace V2.x color_t

View File

@ -216,7 +216,7 @@ typedef gU16 gColorformat;
*/
#define LUMA_OF(c) ((RED_OF(c)+((gU16)GREEN_OF(c)<<1)+BLUE_OF(c))>>2)
#define RED_OF(c) (((c) & 0xF800)>>8)
#define GREEN_OF(c) (((c)&0x007E)>>3)
#define GREEN_OF(c) (((c)&0x07E0)>>3)
#define BLUE_OF(c) (((c)&0x001F)<<3)
/** @} */

View File

@ -11,6 +11,16 @@
#include "gdisp_image_support.h"
#if GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE * (COLOR_TYPE_BITS/8) < 40
#if GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_DIRECT
#warning "GDISP: GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE must be at least 40 bytes. It has been adjusted for you."
#elif GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_MACRO
COMPILER_WARNING("GDISP: GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE must be at least 40 bytes. It has been adjusted for you.")
#endif
#undef GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE
#define GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE ((40 + (COLOR_TYPE_BITS/8) - 1) / (COLOR_TYPE_BITS/8))
#endif
typedef struct gdispImagePrivate_BMP {
gU8 bmpflags;
#define BMP_V2 0x01 // Version 2 (old) header format

View File

@ -389,8 +389,8 @@
#define GDISP_NEED_IMAGE_BMP_32 GFXON
#endif
/**
* @brief The BMP blit buffer size.
* @details Defaults to 32
* @brief The BMP blit buffer size in pixels.
* @details Defaults to 32 pixels
* @note Bigger is faster but requires more RAM.
* @note This must be greater than 40 bytes and 32 pixels as we read our headers into this space as well.
*/

View File

@ -833,4 +833,3 @@ void _gmouseWakeupI(GMouse *m) {
}
#endif /* GFX_USE_GINPUT && GINPUT_NEED_MOUSE */
/** @} */

View File

@ -127,5 +127,3 @@ gThreadreturn gfxThreadWait(gThread thread) {
}
#endif /* GFX_USE_OS_WIN32 */
/** @} */

View File

@ -90,4 +90,3 @@ gTicks gfxSystemTicks();
#endif /* GFX_USE_OS_ZEPHYR */
#endif /* _GOS_H */
/** @} */

View File

@ -414,5 +414,3 @@ void gwinBlitArea(GHandle gh, gCoord x, gCoord y, gCoord cx, gCoord cy, gCoord s
#endif
#endif /* GFX_USE_GWIN */
/** @} */

View File

@ -445,4 +445,3 @@ gBool _gwinWMAdd(GHandle gh, const GWindowInit *pInit);
#endif /* GFX_USE_GWIN */
#endif /* _CLASS_GWIN_H */
/** @} */

View File

@ -179,7 +179,7 @@
}
// Was there a newline, if not delete everything.
if (*p != '\n') {
if (p >= ep) {
gcw->bufpos = 0;
return;
}

View File

@ -72,7 +72,6 @@ gCoord gwinGetInnerHeight(GHandle gh) {
}
#endif /* GFX_USE_GWIN && GWIN_NEED_CONTAINERS */
/** @} */
/*-----------------------------------------------
* The simplest container type - a container
@ -201,6 +200,8 @@ void gwinContainerDraw_Std(GWidgetObject *gw, void *param) {
#undef gi
}
#endif
#endif /* GDISP_NEED_IMAGE */
#endif
#endif /* GFX_USE_GWIN && GWIN_NEED_CONTAINERS */
/** @} */

View File

@ -66,4 +66,3 @@ typedef struct GVKeyTable {
} GVKeyTable;
#endif /* _GWIN_KEYBOARD_LAYOUT_H */
/** @} */

View File

@ -747,5 +747,5 @@ gBool gwinAttachListener(GListener *pl) {
#undef gw
#undef wvmt
#endif /* GFX_USE_GWIN && GWIN_NEED_WIDGET */
/** @} */

View File

@ -1029,4 +1029,3 @@ static void WM_Raise(GHandle gh) {
}
#endif /* GFX_USE_GWIN && GWIN_NEED_WINDOWMANAGER */
/** @} */