summaryrefslogtreecommitdiffstats
path: root/ColumnsPanel.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-11-02 10:33:37 -0500
committerHisham Muhammad <hisham@gobolinux.org>2015-11-02 10:33:37 -0500
commit3cfbcb72c8b36b3d9be5082053933abc60c849d1 (patch)
tree3d334bb0611598a5960e1775f05056f8b4320741 /ColumnsPanel.c
parentf187be92968fdf0563c17f2f8a8815ca942ed0f6 (diff)
Highlight moving meters in a different color.
Diffstat (limited to 'ColumnsPanel.c')
-rw-r--r--ColumnsPanel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ColumnsPanel.c b/ColumnsPanel.c
index 5733a3ff..e6fd7601 100644
--- a/ColumnsPanel.c
+++ b/ColumnsPanel.c
@@ -54,6 +54,7 @@ static HandlerResult ColumnsPanel_eventHandler(Panel* super, int ch) {
{
if (selected < size - 1) {
this->moving = !(this->moving);
+ Panel_setSelectionColor(super, this->moving ? CRT_colors[PANEL_SELECTION_FOLLOW] : CRT_colors[PANEL_SELECTION_FOCUS]);
((ListItem*)Panel_getSelected(super))->moving = this->moving;
result = HANDLED;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy