Commit Graph

241 Commits (b3216fa0cceaa6d2751a6e1602554d5da66d0436)

Author SHA1 Message Date
Joel Bodenmann cf01cb2e7c GDISP: Move extern GDISPVMT declarations outside of function body
This prevents generation of "nested-externs" compiler warnings.
2021-08-13 11:51:47 +02:00
Joel Bodenmann 9c0678a291 Avoid duplicate const specifier compiler warnings
The original code is perfectly valid standard C. However, some compilers (especially GCC) complain about duplicate const specifiers anyway.
At this point we cave in as there doesn't seem to be any efforts to fix this problem by the corresponding compiler vendors.

uGFX v3 will no longer suffer from this problem as the driver interface works differently in this area.
2021-08-12 12:20:07 +02:00
Joel Bodenmann 47d9826a0a Fix compiler warning due to implicit cast 2021-08-10 15:41:26 +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
Joel Bodenmann ac4b7fc8b4 Typedef gImage compatibility only when GDISP_NEED_IMAGE is GFXON 2019-05-01 16:54:39 +02:00
Joel Bodenmann 785047b0aa Introduce type gImage to replace v2.x gdispImage 2019-04-10 17:33:15 +02:00
inmarket 8a9ed5195b Tidy u gfxSem, gfxMutex and various Macros by converting to new types gSem, gMutex etc 2018-11-03 12:29:30 +10:00
inmarket 7c5a6c928f For all source files update integer types to the new gI8 etc type names 2018-11-03 10:51:23 +10:00
Tibo Clausen 0840c8e784 Update license header 2018-10-01 17:34:15 +02:00
Tibo Clausen 601d8f893d Fix color macros 2018-09-27 12:53:47 +02:00
inmarket 93da5a0578 gDelayNone/gDelayForever to replace TIME_IMMEDIATE/TIME_INFINITE 2018-07-08 15:15:15 +10:00
inmarket 215f31ee3d Added type gDelay to replace V2.x delaytime_t
Added type gTicks          to replace V2.x systemticks_t
Added type gThreadreturn   to replace V2.x threadreturn_t
Added type gThreadpriority to replace V2.x threadpriority_t
2018-07-08 14:30:31 +10:00
inmarket e23ae94e91 Added type gColorformat to replace V2.x colorformat 2018-07-08 14:04:14 +10:00
inmarket e61f0ae424 Added type gOrientation to replace V2.x orientation_t, and values gOrientationX replace GDISP_ROTATE_X 2018-07-08 13:51:20 +10:00
inmarket d9258efd4d Added macros JUSTIFYMASK_HORIZONTAL, JUSTIFYMASK_VERTICAL to replace macros JUSTIFYMASK_LEFTRIGHT, JUSTIFYMASK_TOPBOTTOM 2018-07-08 13:25:20 +10:00
inmarket cbf1d4dfa0 Added type gFont to replace V2.x font_t 2018-07-08 13:05:27 +10:00
inmarket a24fab0d72 Added type gFontmetric to replace V2.x fontmetric_t, and values gFontXXX replace fontXXX 2018-07-08 12:50:05 +10:00
inmarket 2e8eaa3471 Added type gJustify to replace V2.x justify_t, and values gJustifyXXX replace justifyXXX 2018-07-08 12:19:30 +10:00
inmarket 788cbced62 Correct V2 powermode macros 2018-07-08 11:58:35 +10:00
inmarket bda8c738b1 Added type gPowermode to replace V2.x powermode_t, and values gPowerXXX replace powerXXX 2018-07-08 11:47:36 +10:00
inmarket f9c848e985 Change color_t to gColor 2018-07-08 11:19:43 +10:00
inmarket cfb1b2a488 Change pixel_t to gPixel 2018-07-08 11:08:55 +10:00
inmarket 2ab2d77fcb Change coord_t to gCoord 2018-07-08 10:54:19 +10:00
inmarket 7e95acb731 Change point and point_t to gPoint 2018-07-08 10:43:30 +10:00
inmarket e8b789bfb1 Fix some missing gBool conversions 2018-07-08 10:05:34 +10:00
inmarket 41271d632b Added new type definitions - moving towards V3.0 2018-06-23 13:02:07 +10:00
inmarket 0771c14817 Merge remote-tracking branch 'origin/master' 2018-03-10 20:36:35 +10:00
inmarket 94f1cc2f0a Change new colors to GFX_RED instead of GFXRED. Use the new color defs 2018-03-10 20:36:12 +10:00
Thomas Sterren bee02d5bb5 C comment style 2018-03-06 09:56:18 +01:00
Thomas Sterren 509b4113ad Got stuck in here with a source font file generated out of `arial` size 48 2018-03-06 09:56:11 +01:00
inmarket f265924396 First set of V3 macro changes 2018-02-27 17:44:21 +10:00
inmarket 013bac84ce Support negative baseline_x in a font. 2018-01-09 17:53:30 +10:00
inmarket c41cbd05e9 Fix for wordwrapping when there is a space then a newline 2018-01-05 15:55:30 +10:00
inmarket 87ec4b7c77 Bug fix for drawing boxes of size 3x3 pixels 2017-11-07 17:47:55 +10:00
inmarket 2a249e6140 Update to hacked alpha support - now uses pre-multiplied color blending algorithm 2017-10-10 09:21:06 +10:00
inmarket f9be386e52 Add alpha blending support 2017-10-02 16:47:18 +10:00
inmarket 989b12608f Tidy up 2017-10-02 11:25:27 +10:00
Joel Bodenmann ea158a836d Adding nullpointer checks to GDISP image functions 2017-10-01 13:21:56 +02:00
inmarket 82047b1ac6 STM32LTDC 2nd layer support with alpha 2017-10-01 18:00:49 +10:00
inmarket 2513b54e71 Fix image byte extraction macros 2017-09-23 09:30:02 +10:00
Joel Bodenmann ecfcf994c6 Fixing issue in JPG decoder 2017-09-22 12:16:53 +02:00
Joel Bodenmann 285c6528e6 Merge branch 'master' of git.ugfx.io:uGFX/uGFX 2017-08-27 13:43:53 +02:00
Joel Bodenmann f9494c44a2 Improving gdispPixmapCreate() documentation 2017-08-27 13:43:49 +02:00
inmarket db7971734f First attempt at the JPG decoder. Compiles but may not run. 2017-08-26 15:22:38 +10:00
inmarket 9b73187100 Add compatibility with Visual Studio and make compile warning capabilities more cross platform 2017-06-30 19:43:51 +10:00
inmarket 5c84885995 Improve handling of streaming drivers with a setpos and a fillarea acceleration 2017-06-24 10:08:59 +10:00
Joel Bodenmann 64a8f8dde1 Fixing clipping issue with gdispGDrawString() 2017-05-24 10:52:44 +02:00
inmarket d8c9ca184f Fix font baseline_x problem, decrease word-wrap stack usage, add text justification options 2017-03-11 14:39:53 +10:00
inmarket 9500ed2bcc Fix a bug that can cause large fonts to not be read correctly. 2017-03-11 14:23:27 +10:00