alexeevov Posted February 18, 2017 Report Share Posted February 18, 2017 Hello ! Examples of the GDISP , GWIN (console and base ) are working normally, but not working and falls GWIN ( button , label etc ) examples . My hardware configuration : STM32F207 board RAW32 , Display with ili9341 (spi 240x320 ) . I use only GDISPdriver (no GINPUT ) For the test I use the example of a program - label . This is my configuration: #define GFX_USE_OS_RAW32 TRUE #define GFX_OS_HEAP_SIZE 20000 #define GDISP_NEED_CONTROL TRUE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE #define GFX_USE_GDISP TRUE #define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_CLIP TRUE #define GDISP_NEED_TEXT TRUE //#define GDISP_NEED_ANTIALIAS TRUE #define GDISP_NEED_UTF8 TRUE #define GDISP_NEED_TEXT_KERNING TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS12 TRUE #define GFX_USE_GWIN TRUE #define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_LABEL TRUE #define GWIN_LABEL_ATTRIBUTE TRUE #define GFX_USE_GEVENT TRUE #define GFX_USE_GTIMER TRUE #define GFX_USE_GQUEUE TRUE #define GQUEUE_NEED_ASYNC TRUE #define GFX_USE_GINPUT TRUE #define GWIN_NEED_WIDGET TRUE #define GDISP_NEED_MULTITHREAD TRUE This compiler output : ../Src/main.c(104): warning: #550-D: variable "pe" was set but never used ..\ugfx_2.7\src\gwin/gwin_widget.c(102): warning: #177-D: variable "h" was declared but never referenced ..\ugfx_2.7\src\gwin/gwin_widget.c(103): warning: #177-D: variable "gh" was declared but never referenced "LCD Configuration\LCD Configuration.axf" - 0 Error(s), 4 Warning(s).All of the examples where there is a modules (GINPUT and GListener) does not work. They do not work because of the lack GINPUT drivers? I tried to remove from the sample code processing these modules. But still does not work.. Thanks.. : Link to comment Share on other sites More sharing options...
inmarket Posted February 19, 2017 Report Share Posted February 19, 2017 Yes GINPUT drivers are required for most gwin objects as they actually interact with the user. The ones that don't are the base gwin object, the console object and the graph object. All others require a GINPUT driver. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted February 19, 2017 Report Share Posted February 19, 2017 Note that you can actually use the GINPUT module without the need of having a touchscreen. Link to comment Share on other sites More sharing options...
alexeevov Posted February 19, 2017 Author Report Share Posted February 19, 2017 Thank you very much !!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now