debug: add text selection to the example project to test changes
This commit is contained in:
parent
e6b7670e97
commit
9c391068d7
|
@ -20,8 +20,10 @@ static int onShouldQuit(void *data)
|
|||
static uiEntry *focusable = NULL;
|
||||
static void wideOnClicked(uiButton *b, void *data)
|
||||
{
|
||||
if (focusable)
|
||||
if (focusable) {
|
||||
uiControlSetFocus(uiControl(focusable));
|
||||
uiEntrySelectAllText(focusable);
|
||||
}
|
||||
}
|
||||
|
||||
static uiControl *makeBasicControlsPage(void)
|
||||
|
|
Loading…
Reference in New Issue