ugfx/drivers/multiple/Win32/readme.txt

23 lines
802 B
Plaintext
Raw Normal View History

2013-02-11 08:25:45 +00:00
To use this driver:
2013-10-17 04:55:10 +00:00
This driver is special in that it implements both the gdisp low level driver,
optionally a touchscreen driver, and optionally a toggle driver.
2013-02-11 08:25:45 +00:00
1. Add in your gfxconf.h:
2013-02-11 08:25:45 +00:00
a) #define GFX_USE_GDISP TRUE
2013-10-17 04:55:10 +00:00
b) Optionally #define GFX_USE_GINPUT TRUE
#define GINPUT_USE_MOUSE TRUE
#define GINPUT_USE_TOGGLE TRUE
2013-02-11 08:25:45 +00:00
c) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD
2013-10-17 04:55:10 +00:00
d) Optionally the following (with appropriate values):
2013-02-11 08:25:45 +00:00
#define GDISP_SCREEN_WIDTH 640
#define GDISP_SCREEN_HEIGHT 480
2. To your makefile add the following lines:
include $(GFXLIB)/gfx.mk
include $(GFXLIB)/drivers/multiple/Win32/gdisp_lld.mk
2013-10-17 04:55:10 +00:00
3. Modify your makefile to add -lws2_32 and -lgdi32 to the DLIBS line. i.e.
2013-02-11 08:25:45 +00:00
DLIBS = -lws2_32 -lgdi32