Add a little more comments to hBars/vBars.
This commit is contained in:
@@ -271,7 +271,7 @@ widget_set_func(Client *c, int argc, char **argv)
|
||||
length = atoi(argv[i + 2]);
|
||||
w->x = x;
|
||||
w->y = y;
|
||||
w->length = length;
|
||||
w->length = length; /* This is the length in pixels */
|
||||
}
|
||||
debug(RPT_DEBUG, "Widget %s set to %i", wid, w->length);
|
||||
sock_send_string(c->sock, "success\n");
|
||||
|
||||
+2
-1
@@ -228,7 +228,7 @@ render_frame(LinkedList *list,
|
||||
case WID_VBAR: /* FIXME: Vbars don't work in frames! */
|
||||
render_vbar(w, left, top, right, bottom);
|
||||
break;
|
||||
case WID_ICON:
|
||||
case WID_ICON: /* FIXME: Vbars don't work in frames! */
|
||||
drivers_icon(w->x, w->y, w->length);
|
||||
break;
|
||||
case WID_TITLE: /* FIXME: Doesn't work quite right in frames... */
|
||||
@@ -260,6 +260,7 @@ render_frame(LinkedList *list,
|
||||
}
|
||||
break;
|
||||
case WID_NONE:
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user