Commit Graph

131 Commits

Author SHA1 Message Date
64aa71339c Adding CMake support 2021-10-12 17:44:54 +02:00
1c29a88ee1 Fix SDL2 driver arguments to mmap() and sem_open()
Linux & MacOS seem to tolerate the incorrect parameters but they are wrong as per the documentation.
On more pedantic systems such as FreeBSD these calls fails.
2021-09-21 17:44:43 +02:00
Joel Bodenmann
7845f44f20 Win32 driver: Fix memory leak / invalid pointer to free() when re-calculating buffer position in a specific situation.
Thanks to @nathanwiebe for reporting this.
2021-08-26 00:22:19 +02:00
Joel Bodenmann
1235a9056c Win32 driver: Fix buffer position calculation in gdisp_lld_blit_area()
Thanks to @nathanwiebe for reporting this.
2021-08-26 00:04: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
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
inmarket
330f891081 Added type gThread to replace V2.x gfxThreadHandle 2018-07-08 15:40:27 +10:00
inmarket
1fc4180d41 gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY 2018-07-08 15:32:26 +10:00
inmarket
93da5a0578 gDelayNone/gDelayForever to replace TIME_IMMEDIATE/TIME_INFINITE 2018-07-08 15:15:15 +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
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
41271d632b Added new type definitions - moving towards V3.0 2018-06-23 13:02:07 +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
inmarket
f265924396 First set of V3 macro changes 2018-02-27 17:44:21 +10:00
97511a9fc7 Ensure correct window titles on unicode compiles on Windows 2017-06-30 19:44:38 +10:00
9b73187100 Add compatibility with Visual Studio and make compile warning capabilities more cross platform 2017-06-30 19:43:51 +10:00
inmarket
d8526e672a Fix some prototypes for win32.raw32 emulation environments 2017-04-01 13:22:30 +10:00
inmarket
60b3fc0769 Fix a win32.raw32 platform compile bug caused by the windows headers not being included 2016-12-12 19:58:46 +10:00
inmarket
0d1741a52e Protect Win32 GDISP driver from some strange config file configurations 2016-10-01 18:11:12 +10:00
inmarket
81505c8be2 New uGFXnetESP8266 driver. A gdisp driver for the ESP8266.
Not tested yet.
2016-08-30 19:12:46 +10:00
5897122c07 Modifying SDL window title (it's not a simulation) 2016-08-15 15:34:28 +02:00
Oleg Gerasimov
cbb0617981 Added SDL multiply driver 2016-08-08 00:11:29 +03:00
Andrew Hannam
9fe1abe9e3 Compile fix for Win32 2016-07-25 19:25:55 +10:00
Andrew Hannam
19e54c88ec Add support for reparenting, capture and control of Win32 Emulator windows. 2016-07-19 18:54:17 +10:00
inmarket
c5a86757bd Make all include paths in ugfx relative.
The only include path now needed is for drivers (in particular GDISP drivers)
2015-11-21 19:27:08 +10:00
inmarket
07a63f7143 Compile error and emulation errors for GFILE_NEED_STDIO 2015-02-21 09:23:33 +10:00
inmarket
7c7459f1d2 Toggle fixes. 2015-02-14 09:16:28 +10:00
inmarket
fa8167b94d Big file rename to reduce problems with brain-dead IDE's that don't handle project file hierarchies well.
Naming is more consistent with the new scheme.
May affect some third party drivers (header file renames).
2015-01-21 17:26:24 +10:00
inmarket
d51ce4e00e First keyboard driver for X 2015-01-08 19:53:28 +10:00
inmarket
610cc917cb Better keyboard driver doco and new driver configuration flag for Win32 2015-01-08 19:53:08 +10:00
inmarket
b125e5d299 Win32 keyboard driver with US English keyboard layout. 2015-01-07 13:21:23 +10:00
inmarket
100e74d8e0 Make a Win32 driver define available from gfxconf.h 2015-01-03 18:40:38 +10:00
inmarket
bd041926b4 Allow a mouse driver to not return any results when it is polled. 2014-11-07 12:02:41 +10:00
inmarket
5497bf82b3 Remove stuff made superfluous by newmouse 2014-10-07 21:53:17 +10:00
inmarket
68a784d67e First ARM build to use the new makefile plus makefile updates 2014-10-01 00:44:40 +10:00
inmarket
ac6e26f1a0 uGFXnet ported to newmouse driver (and tidied up) 2014-09-29 17:51:23 +10:00
inmarket
d4a40cb507 Makefile fix 2014-09-29 17:50:43 +10:00
inmarket
a9e802395e X bug fix so that window closes properly when using a window manager 2014-09-29 16:00:17 +10:00
inmarket
6b158b8a0b Move mouse initialisation to a better spot 2014-09-29 15:59:37 +10:00
inmarket
d4eaafce10 Fix occassional startup crash under Win32 with newmouse 2014-09-28 01:44:24 +10:00
inmarket
bbdc236967 Merge branch 'master' into newmouse 2014-09-28 01:42:56 +10:00
inmarket
daf9f65b9f New makefile structure. Also OSX board defintion 2014-09-28 01:42:30 +10:00
inmarket
1298e3d635 First version X newmouse driver 2014-09-26 17:29:31 +10:00
inmarket
67fdb1e0b8 comments 2014-09-26 17:29:06 +10:00
inmarket
19e2e7a60c Win32 mouse ported to new mouse driver format 2014-09-26 16:32:34 +10:00