Jump to content

Virus.V

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. In the ./ugfx_2.8/src/gwin/gwin_tabset.c file: static void fgarea(GWidgetObjset *gw, const char *text, coord_t y, coord_t x, coord_t w) static void bgarea(GWidgetObjset *gw, const char *text, coord_t y, coord_t x, coord_t w) static void ntarea(GWidgetObjset *gw, coord_t y, coord_t x, coord_t w) What is the type of "GWidgetObjset"? Where is the definition? Is it wrong to spell "GWidgetObject"?
  2. When I use uGFX, I do not know how to get the "content change event" or "focus event" of the "txtedit" object, for example, when the object is focused, execute some code to display the virtual keyboard. So I read uGFX source code trying to achieve this function, but I encountered a little problem. In the "gevent.h" file on the 66th line, there is such a code: typedef struct GSource_t GSource, * GSourceHandle; I did not find the structure named GSource_t where the definition, but the compiler can be, can also run, why? I think this code should be equivalent to the following code: typedef struct GSource_t{} GSource, * GSourceHandle; Is this right?
×
×
  • Create New...