Add a little more comments to hBars/vBars.

This commit is contained in:
mmdolze
2010-05-11 20:55:23 +00:00
parent fbe7c3d4a0
commit f8d7efd868
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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;
}