minor GUI update

This commit is contained in:
Lephenixnoir 2022-11-19 19:01:57 +01:00
parent d0806af51e
commit 5875a2f59a
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
4 changed files with 3 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -81,7 +81,7 @@ static void table_gen(gtable *t, int row)
void gintctl_libs_justui(void)
{
gscreen *scr = gscreen_create2("JustUI Widgets", &img_opt_libs_jui,
"JustUI graphical interfaces", "/SCENE;/TREE;;;;");
"JustUI graphical interfaces", "/SCENE;/TREE;#INPUT;;;");
// Sample GUI

View File

@ -127,7 +127,7 @@ void gintctl_mem(void)
jpainted *mem = jpainted_create(paint_mem, &v, _(115,321), _(53,167), tab);
jinput *input = jinput_create("Go to:" _(," "), 12, tab);
jwidget_set_margin(mem, _(0,8), 0, _(0,8), 0);
jwidget_set_margin(mem, _(0,6), 0, _(0,6), 0);
jwidget_set_margin(input, 0, 0, 0, _(1,4));
jwidget_set_stretch(input, 1, 0, false);
jwidget_set_visible(input, false);

View File

@ -48,8 +48,7 @@ void row_title(char const *format, ...)
#ifdef FXCG50
dtext(ROW_X, 3, C_BLACK, str);
uint32_t *long_vram = (void *)gint_vram;
for(int i = 0; i < 198 * 16; i++) long_vram[i] = ~long_vram[i];
drect(0, 0, DWIDTH-1, 15, C_INVERT);
#endif
}