diff --git a/lib/widget/listbox.c b/lib/widget/listbox.c
index b8cc901..ba2670b 100644
a
|
b
|
listbox_drawscroll (WListbox * l) |
123 | 123 | /* --------------------------------------------------------------------------------------------- */ |
124 | 124 | |
125 | 125 | static void |
126 | | listbox_draw (WListbox * l, gboolean focused) |
| 126 | listbox_draw (WListbox * l) |
127 | 127 | { |
128 | 128 | Widget *w = WIDGET (l); |
129 | 129 | const WDialog *h = w->owner; |
… |
… |
listbox_draw (WListbox * l, gboolean focused) |
132 | 132 | /* *INDENT-OFF* */ |
133 | 133 | int selc = disabled |
134 | 134 | ? DISABLED_COLOR |
135 | | : focused |
136 | | ? h->color[DLG_COLOR_HOT_FOCUS] |
137 | | : h->color[DLG_COLOR_FOCUS]; |
| 135 | : h->color[DLG_COLOR_FOCUS]; |
138 | 136 | /* *INDENT-ON* */ |
139 | 137 | |
140 | 138 | int length = 0; |
… |
… |
listbox_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void |
432 | 430 | ret_code = listbox_key (l, parm); |
433 | 431 | if (ret_code != MSG_NOT_HANDLED) |
434 | 432 | { |
435 | | listbox_draw (l, TRUE); |
| 433 | listbox_draw (l); |
436 | 434 | send_message (h, w, MSG_ACTION, l->pos, NULL); |
437 | 435 | } |
438 | 436 | return ret_code; |
… |
… |
listbox_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void |
445 | 443 | send_message (h, w, MSG_ACTION, l->pos, NULL); |
446 | 444 | return MSG_HANDLED; |
447 | 445 | |
448 | | case MSG_FOCUS: |
449 | | case MSG_UNFOCUS: |
450 | 446 | case MSG_DRAW: |
451 | | listbox_draw (l, msg != MSG_UNFOCUS); |
| 447 | listbox_draw (l); |
452 | 448 | return MSG_HANDLED; |
453 | 449 | |
454 | 450 | case MSG_DESTROY: |
… |
… |
listbox_event (Gpm_Event * event, void *data) |
509 | 505 | |
510 | 506 | /* We need to refresh ourselves since the dialog manager doesn't */ |
511 | 507 | /* know about this event */ |
512 | | listbox_draw (l, TRUE); |
| 508 | listbox_draw (l); |
513 | 509 | return ret; |
514 | 510 | } |
515 | 511 | |
diff --git a/misc/skins/sand256.ini b/misc/skins/sand256.ini
index 456f7c8..873a138 100644
a
|
b
|
|
133 | 133 | |
134 | 134 | [popupmenu] |
135 | 135 | _default_ = black;rgb553 |
136 | | menusel = ;rgb452;underline |
| 136 | menusel = ;rgb452 |
137 | 137 | menutitle = ;;underline |
138 | 138 | |
139 | 139 | [buttonbar] |