version 1.204, 2021/10/25 09:38:36 |
version 1.205, 2021/10/26 12:22:23 |
|
|
if (*name == '-') { |
if (*name == '-') { |
name++; |
name++; |
default_gc.attr |= GRID_ATTR_DIM; |
default_gc.attr |= GRID_ATTR_DIM; |
format_draw(ctx, gc, menu->width, name, NULL); |
format_draw(ctx, gc, menu->width, name, NULL, |
|
0); |
default_gc.attr &= ~GRID_ATTR_DIM; |
default_gc.attr &= ~GRID_ATTR_DIM; |
} else |
} else |
format_draw(ctx, gc, menu->width, name, NULL); |
format_draw(ctx, gc, menu->width, name, NULL, |
|
gc == choice_gc); |
gc = &default_gc; |
gc = &default_gc; |
} |
} |
} |
} |
|
|
if (title != NULL) { |
if (title != NULL) { |
gc.attr &= ~GRID_ATTR_CHARSET; |
gc.attr &= ~GRID_ATTR_CHARSET; |
screen_write_cursormove(ctx, cx + 2, cy, 0); |
screen_write_cursormove(ctx, cx + 2, cy, 0); |
format_draw(ctx, &gc, nx - 4, title, NULL); |
format_draw(ctx, &gc, nx - 4, title, NULL, 0); |
} |
} |
|
|
screen_write_set_cursor(ctx, cx, cy); |
screen_write_set_cursor(ctx, cx, cy); |