|
Lines 127-132
static int setWTitleColor();
Link Here
|
| 127 |
static int setFTitleBack(); |
127 |
static int setFTitleBack(); |
| 128 |
static int setPTitleBack(); |
128 |
static int setPTitleBack(); |
| 129 |
static int setUTitleBack(); |
129 |
static int setUTitleBack(); |
|
|
130 |
static int setFrameBorder(); |
| 130 |
static int setResizebarBack(); |
131 |
static int setResizebarBack(); |
| 131 |
static int setWorkspaceBack(); |
132 |
static int setWorkspaceBack(); |
| 132 |
static int setWorkspaceSpecificBack(); |
133 |
static int setWorkspaceSpecificBack(); |
|
Lines 180-185
static int setCursor();
Link Here
|
| 180 |
|
181 |
|
| 181 |
#define REFRESH_ICON_TITLE_COLOR (1<<13) |
182 |
#define REFRESH_ICON_TITLE_COLOR (1<<13) |
| 182 |
#define REFRESH_ICON_TITLE_BACK (1<<14) |
183 |
#define REFRESH_ICON_TITLE_BACK (1<<14) |
|
|
184 |
#define REFRESH_BORDER_COLOR (1<<15) |
| 183 |
|
185 |
|
| 184 |
static WOptionEnumeration seFocusModes[] = { |
186 |
static WOptionEnumeration seFocusModes[] = { |
| 185 |
{"Manual", WKF_CLICK, 0}, {"ClickToFocus", WKF_CLICK, 1}, |
187 |
{"Manual", WKF_CLICK, 0}, {"ClickToFocus", WKF_CLICK, 1}, |
|
Lines 505-510
WDefaultEntry optionList[] = {
Link Here
|
| 505 |
NULL, getColor, setWTitleColor, NULL, NULL}, |
507 |
NULL, getColor, setWTitleColor, NULL, NULL}, |
| 506 |
{"UTitleColor", "black", (void *)WS_UNFOCUSED, |
508 |
{"UTitleColor", "black", (void *)WS_UNFOCUSED, |
| 507 |
NULL, getColor, setWTitleColor, NULL, NULL}, |
509 |
NULL, getColor, setWTitleColor, NULL, NULL}, |
|
|
510 |
{"FrameBorderColor", "cyan", NULL, |
| 511 |
NULL, getColor, setFrameBorder, NULL, NULL}, |
| 508 |
{"FTitleBack", "(solid, black)", NULL, |
512 |
{"FTitleBack", "(solid, black)", NULL, |
| 509 |
NULL, getTexture, setFTitleBack, NULL, NULL}, |
513 |
NULL, getTexture, setFTitleBack, NULL, NULL}, |
| 510 |
{"PTitleBack", "(solid, \"#616161\")", NULL, |
514 |
{"PTitleBack", "(solid, \"#616161\")", NULL, |
|
Lines 1093-1098
void wReadDefaults(WScreen * scr, WMPropList * new_dict)
Link Here
|
| 1093 |
int foo; |
1097 |
int foo; |
| 1094 |
|
1098 |
|
| 1095 |
foo = 0; |
1099 |
foo = 0; |
|
|
1100 |
if (needs_refresh & REFRESH_BORDER_COLOR) |
| 1101 |
foo |= WColorSettings; |
| 1102 |
if (foo) |
| 1103 |
WMPostNotificationName(WNMenuAppearanceSettingsChanged, NULL, (void *)(uintptr_t) foo); |
| 1104 |
|
| 1105 |
foo = 0; |
| 1096 |
if (needs_refresh & REFRESH_MENU_TITLE_TEXTURE) |
1106 |
if (needs_refresh & REFRESH_MENU_TITLE_TEXTURE) |
| 1097 |
foo |= WTextureSettings; |
1107 |
foo |= WTextureSettings; |
| 1098 |
if (needs_refresh & REFRESH_MENU_TITLE_FONT) |
1108 |
if (needs_refresh & REFRESH_MENU_TITLE_FONT) |
|
Lines 2554-2559
static int setClipTitleColor(WScreen * scr, WDefaultEntry * entry, XColor * colo
Link Here
|
| 2554 |
return REFRESH_ICON_TITLE_COLOR; |
2564 |
return REFRESH_ICON_TITLE_COLOR; |
| 2555 |
} |
2565 |
} |
| 2556 |
|
2566 |
|
|
|
2567 |
static int setFrameBorder(WScreen * scr, WDefaultEntry * entry, XColor * color, void *foo) |
| 2568 |
{ |
| 2569 |
if (scr->select_border_color) |
| 2570 |
WMReleaseColor(scr->select_border_color); |
| 2571 |
|
| 2572 |
scr->select_border_color = WMCreateRGBColor(scr->wmscreen, color->red, color->green, color->blue, True); |
| 2573 |
|
| 2574 |
wFreeColor(scr, color->pixel); |
| 2575 |
|
| 2576 |
return REFRESH_BORDER_COLOR; |
| 2577 |
} |
| 2578 |
|
| 2557 |
static int setWTitleColor(WScreen * scr, WDefaultEntry * entry, XColor * color, long widx) |
2579 |
static int setWTitleColor(WScreen * scr, WDefaultEntry * entry, XColor * color, long widx) |
| 2558 |
{ |
2580 |
{ |
| 2559 |
if (scr->window_title_color[widx]) |
2581 |
if (scr->window_title_color[widx]) |