mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
small fix in wtest
This commit is contained in:
@@ -337,6 +337,9 @@ testGradientButtons(WMScreen *scr)
|
||||
WMSetWindowTitle(win, "Gradiented Button Demo");
|
||||
WMResizeWidget(win, 300, 200);
|
||||
|
||||
WMSetWindowCloseAction(win, closeAction, NULL);
|
||||
|
||||
|
||||
light.red = 0x90;
|
||||
light.green = 0x85;
|
||||
light.blue = 0x90;
|
||||
|
||||
@@ -1306,6 +1306,8 @@ wClipIconPaint(WAppIcon *aicon)
|
||||
|
||||
WMDrawString(scr->wmscreen, win, gc, scr->clip_title_font, tx,
|
||||
ty, ws_name, length);
|
||||
/*WMDrawString(scr->wmscreen, win, gc, scr->clip_title_font, 4,
|
||||
2, ws_name, length);*/
|
||||
|
||||
tx = (ICON_SIZE/2 - WMWidthOfString(scr->clip_title_font, ws_number,
|
||||
nlength))/2;
|
||||
|
||||
Reference in New Issue
Block a user