1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

change Clearance to ExtendSpace. Also add ExtendSpace option for menu

title and menu text..
This commit is contained in:
id
2000-01-11 23:15:51 +00:00
parent c6bc1227de
commit 808d4e7df0
7 changed files with 31 additions and 17 deletions

View File

@@ -558,8 +558,14 @@ WDefaultEntry optionList[] = {
{"WindowTitleFont", DEF_TITLE_FONT, NULL,
NULL, getFont, setWinTitleFont,
},
{"WindowTitleClearance", DEF_TITLE_CLEARANCE, NULL,
&wPreferences.title_clearance, getInt, setClearance
{"WindowTitleExtendSpace", DEF_WINDOW_TITLE_EXTEND_SPACE, NULL,
&wPreferences.window_title_clearance, getInt, setClearance
},
{"MenuTitleExtendSpace", DEF_MENU_TITLE_EXTEND_SPACE, NULL,
&wPreferences.menu_title_clearance, getInt, setClearance
},
{"MenuTextExtendSpace", DEF_MENU_TEXT_EXTEND_SPACE, NULL,
&wPreferences.menu_text_clearance, getInt, setClearance
},
{"MenuTitleFont", DEF_MENU_TITLE_FONT, NULL,
NULL, getFont, setMenuTitleFont
@@ -2414,7 +2420,7 @@ setJustify(WScreen *scr, WDefaultEntry *entry, WTexture **texture, void *foo)
static int
setClearance(WScreen *scr, WDefaultEntry *entry, void *bar, void *foo)
{
return REFRESH_WINDOW_FONT|REFRESH_BUTTON_IMAGES|REFRESH_MENU_TITLE_FONT;
return REFRESH_WINDOW_FONT|REFRESH_BUTTON_IMAGES|REFRESH_MENU_TITLE_FONT|REFRESH_MENU_FONT;
}
static int