dragonzhang
-
Posts
8 -
Joined
-
Last visited
Content Type
Forums
Store
Downloads
Blogs
Posts posted by dragonzhang
-
-
Hi:
Does uGFX have functions similar to messagebox ?
When user operation fails, I want to realize the function of prompt box.
tks!
-
I create all the widgets during startup/initialization .
ghTabset = gwinTabsetCreate(0, &wi, GWIN_TABSET_BORDER);
ghPgSetting = gwinTabsetAddTab(ghTabset, "tab1", FALSE);
ghPgVersion = gwinTabsetAddTab(ghTabset, "tab2", FALSE);I want to show tab1 only, tab2 hide. but can`t work use follow code.
gwinShow(ghPgSetting);
gwinHide(ghPgVersion); -
tks!
I used Menu sample code!
when i create new Widget , label can`t display on lcd.
if i mask "gwinLabelSetAttribute(ghLabelLcdBlTime, 100, ""); " ,the label can show .
GWidgetInit wi; // Apply some default values for GWIN
gwinWidgetClearInit(&wi);
wi.g.show = TRUE; // Create the IP label
wi.g.width = 200;
wi.g.height = 20;
wi.g.x = 10,
wi.g.y = 100;
wi.text = "192.168.1.42";
ghLabelLcdBlTime = gwinLabelCreate(0, &wi);
gwinLabelSetAttribute(ghLabelLcdBlTime, 100, ""); -
hi:
my LCD size is 240x320。
when uGFX power on,I created a Widget with only two buttons。
When a user clicks on different buttons, there will be different Widget (full screen).
but,I dont`t know how to create a new Widget with a button click event!
tks
-
Now uGFX-Studio can support jpg ,bmp and png files, but ico file can't be used directly.
Is the development of this software planned to join this function?
tks
-
yes!
thank you!
I add this line and use GEVENT_KEYBOARD event, the program runs normally!
"geventAttachSource(&gl, gwinKeyboardGetEventSource(ghKeyboard), GLISTEN_KEYTRANSITIONS|GLISTEN_KEYUP);"
-
hi:
I used virtual keyboard in textedit, I want to get keyboard event use GEVENT_GWIN_KEYBOARD, but this event isn't come.
Can you help me ?
some code:
pe = geventEventWait(&gl, TIME_INFINITE);
.....
case GEVENT_GWIN_KEYBOARD:
gwinPrintf(ghConsole, "KEYSTATE: 0x%04X [ %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s]",........
uGFX have messagebox?
in Development and Feedback
Posted
tks。 I will try it。