Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
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
d4eaafce10 Fix occassional startup crash under Win32 with newmouse 2014-09-28 01:44:24 +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
inmarket
cb606359cc Multiple changes to GWIN to support containers. 2014-05-10 01:11:30 +10:00
Joel Bodenmann
6909345296 Chaning window title of Win32 simulator 2014-04-27 18:15:35 +02:00
Joel Bodenmann
08e1b0ebc7 Removed the doxygen inside of every driver as doxygen is only meant for highlevel API documentation.
Documenting the drivers interface should be done inside a template driver or the gdisp LLD abstraction.
2014-03-28 19:45:08 +01:00
inmarket
37966ff16d Integrate the include files with each module. Simplifies structure of code. 2014-02-19 00:36:52 +10:00
Joel Bodenmann
6515373b2a removing casts of gfxAlloc() return value as that is the whole idea behind having a void pointer 2014-02-02 12:59:36 +01:00
inmarket
983342b001 Create the window class in the message thread for the Win32 driver (and replacement of NULL's with 0 for consitancy with other code) 2013-12-21 13:23:16 +10:00
inmarket
018a930d55 Always use native threads in the Win32 driver even if a different threading model is being used for the rest of uGFX 2013-12-21 11:20:30 +10:00
inmarket
4dc9bf34a7 New versions of mingw use Red, Green Blue so we need to undefine them in certain places.
This should really be fixed by renaming Red, Green, Blue as the names are too common however this would create compatibility problems.
2013-12-11 00:38:42 +10:00
inmarket
7f1b78a067 Replace color format conversion macros with proper routines to prevent side effects with using the macro.
Also fix a number of compiler warnings.
2013-11-17 23:32:19 +10:00
inmarket
a3935c653e Win32 GDISP driver - Get rid of compiler warnings created by the new orientation modes. 2013-11-16 01:56:34 +10:00
inmarket
a8e860678d New GDISP now supports multiple controllers with different pixel formats.
You can now have a main color display and a secondary monochrome display.
You can now optionally set GDISP_PIXELFORMAT to any color or grayscale format for your application and the driver will internally convert to the display hardware format.
2013-11-05 19:34:12 +10:00
inmarket
e35b76388c Fix to streaming read pixel for Win32 driver in emulation mode. 2013-11-05 13:43:28 +10:00
inmarket
9b9a57c2c9 Better debugging for Win32 driver 2013-10-29 20:25:41 +10:00
inmarket
b05a29f830 Rename GDISP driver files to prevent problems when compiling for multiple controllers on platforms that put all generated object files into a single directory. 2013-10-28 11:03:39 +10:00