Make Xfwm4 theme use symbolic colors from the theme

Specifically, the hover and pressed effects are drawn with bg[SELECTED]
pull/94/merge
Simon Steinbeiss 2014-02-15 00:35:06 +01:00
parent 34172de078
commit b87b7dad9e
28 changed files with 113 additions and 162 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@ -9,7 +9,7 @@ static char *close_prelight[] = {
"O c #BEE2455135CC",
"+ c #C23645DE35FF",
"@ c #C60A46813639",
"# c #D6D649493737",
"# c #D6D649493737 s active_color_1",
/* pixels */
"oooooooooooooooooooooo",
" ",
@ -20,14 +20,14 @@ static char *close_prelight[] = {
" ",
" ",
" ",
" #O. .O# ",
" +#O..O#+ ",
" .O#@@#O. ",
" .@##+. ",
" X@##@X ",
" X+#++#+X ",
" +#@.X@#+ ",
" #O. .+# ",
" ##. .## ",
" ###..### ",
" .######. ",
" .####. ",
" .####. ",
" .######. ",
" ###..### ",
" ##. .## ",
" ",
" ",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

View File

@ -1,17 +1,17 @@
/* XPM */
static char *close_pressed[] = {
static char *close_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 8 1 ",
" c #2D2D2D2D2D2D",
". c #3C0F2F9A2E0F",
"X c #3C972FB02E17",
"o c #402230442E4C",
"O c #484848484848",
"+ c #A1A940293414",
"@ c #A76B4119346B",
"# c #B4B443433535",
". c #4007304C2E4A",
"X c #452131252E98",
"o c #484848484848",
"O c #BEE2455135CC",
"+ c #C23645DE35FF",
"@ c #C60A46813639",
"# c #D6D649493737 s active_color_1",
/* pixels */
"OOOOOOOOOOOOOOOOOOOOOO",
"oooooooooooooooooooooo",
" ",
" ",
" ",
@ -20,14 +20,14 @@ static char *close_pressed[] = {
" ",
" ",
" ",
" #+. .+# ",
" @#+.X+#+ ",
" X+#@@#+X ",
" .@##@X ",
" X@##@X ",
" X@#+@#@o ",
" +#@oo+#@ ",
" #+. X+# ",
" ##. .## ",
" ###..### ",
" .######. ",
" .####. ",
" .####. ",
" .######. ",
" ###..### ",
" ##. .## ",
" ",
" ",
" ",

View File

@ -1,12 +1,10 @@
/* XPM */
static char *hide_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 5 1 ",
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #32802E0F2D7E",
". c #32802E0F2D7E s active_color_1",
"X c #484848484848",
"o c #D22E488336F0",
"O c #D6D649493737",
/* pixels */
"XXXXXXXXXXXXXXXXXXXXXX",
" ",
@ -19,9 +17,9 @@ static char *hide_prelight[] = {
" ",
" ",
" ",
" ",
" ........ ",
" ........ ",
" OOOOOOOO ",
" oooooooo ",
" ",
" ",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

View File

@ -1,12 +1,12 @@
/* XPM */
static char *hide_pressed[] = {
static char *hide_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 5 1 ",
" c #2D2D2D2D2D2D",
". c #316D2DDE2D6E",
". c #32802E0F2D7E s active_color_1",
"X c #484848484848",
"o c #B0FC42A834FD",
"O c #B4B443433535",
"o c #D22E488336F0",
"O c #D6D649493737",
/* pixels */
"XXXXXXXXXXXXXXXXXXXXXX",
" ",
@ -19,9 +19,9 @@ static char *hide_pressed[] = {
" ",
" ",
" ",
" ",
" ........ ",
" ........ ",
" OOOOOOOO ",
" oooooooo ",
" ",
" ",
" ",

View File

@ -4,7 +4,7 @@ static char *maximize_prelight[] = {
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #484848484848",
"X c #D6D649493737",
"X c #D6D649493737 s active_color_1",
/* pixels */
"......................",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

View File

@ -1,10 +1,10 @@
/* XPM */
static char *maximize_pressed[] = {
static char *maximize_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #484848484848",
"X c #B4B443433535",
"X c #D6D649493737 s active_color_1",
/* pixels */
"......................",
" ",

View File

@ -1,10 +1,10 @@
/* XPM */
static char *maximize_toggled_prelight[] = {
static char *maximize_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #484848484848",
"X c #D6D649493737",
"X c #D6D649493737 s active_color_1",
/* pixels */
"......................",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

View File

@ -1,10 +1,10 @@
/* XPM */
static char *maximize_toggled_pressed[] = {
static char *maximize_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #484848484848",
"X c #B4B443433535",
"X c #D6D649493737 s active_color_1",
/* pixels */
"......................",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

View File

@ -1,15 +1,11 @@
/* XPM */
static char *shade_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 8 1 ",
"22 25 4 1 ",
" c #2D2D2D2D2D2D",
". c #43CC30EC2E84",
"X c #7C5A3A4B31DC",
"o c #484848484848",
"O c #82573B493237",
"+ c #C23645DE35FF",
"@ c #C3E046253618",
"# c #D6D649493737",
"# c #D6D649493737 s active_color_1",
/* pixels */
"oooooooooooooooooooooo",
" ",
@ -20,11 +16,11 @@ static char *shade_prelight[] = {
" ",
" ",
" ",
" XX ",
" O##O ",
" O####O ",
" X#+##+#X ",
" #+.##.+# ",
" ## ",
" #### ",
" ###### ",
" ######## ",
" ## ## ## ",
" ## ",
" ## ",
" ## ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

View File

@ -1,16 +1,13 @@
/* XPM */
static char *shade_pressed[] = {
static char *shade_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 7 1 ",
"22 25 4 1 ",
" c #2D2D2D2D2D2D",
". c #3F3F301F2E3F",
"X c #6C6C377C30EC",
"o c #713538433135",
"O c #484848484848",
"+ c #A43A4094343B",
"@ c #B4B443433535",
". c #43CC30EC2E84",
"o c #484848484848",
"# c #D6D649493737 s active_color_1",
/* pixels */
"OOOOOOOOOOOOOOOOOOOOOO",
"oooooooooooooooooooooo",
" ",
" ",
" ",
@ -19,14 +16,14 @@ static char *shade_pressed[] = {
" ",
" ",
" ",
" XX ",
" o@@o ",
" o@@@@o ",
" X@+@@+@X ",
" @+.@@.+@ ",
" @@ ",
" @@ ",
" @@ ",
" ## ",
" #### ",
" ###### ",
" ######## ",
" ## ## ## ",
" ## ",
" ## ",
" ## ",
" ",
" ",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

View File

@ -1,15 +1,11 @@
/* XPM */
static char *shade_toggled_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 8 1 ",
"22 25 4 1 ",
" c #2D2D2D2D2D2D",
". c #4123307C2E5B",
"X c #484848484848",
"o c #82573B493237",
"O c #87A93C2B3288",
"+ c #BF8D456D35D6",
"@ c #C18C45C235F4",
"# c #D6D649493737",
"# c #D6D649493737 s active_color_1",
/* pixels */
"XXXXXXXXXXXXXXXXXXXXXX",
" ",
@ -23,11 +19,11 @@ static char *shade_toggled_prelight[] = {
" ## ",
" ## ",
" ## ",
" #+.##.+# ",
" O#@##@#O ",
" o####o ",
" o##o ",
" oo ",
" ## ## ## ",
" ######## ",
" ###### ",
" #### ",
" ## ",
" ",
" ",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

View File

@ -1,20 +1,10 @@
/* XPM */
static char *stick_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 13 1 ",
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #3F2430272E3D",
"X c #4123307C2E5B",
"o c #43CC30EC2E84",
"X c #4123307C2E5B s active_color_1",
"O c #484848484848",
"+ c #9B9F3F7933B6",
"@ c #9C9F3FA433C5",
"# c #9D9E3FCE33D4",
"$ c #A4F041053443",
"% c #C23645DE35FF",
"& c #C4DF464F3627",
"* c #CB864769368C",
"= c #D6D649493737",
/* pixels */
"OOOOOOOOOOOOOOOOOOOOOO",
" ",
@ -25,14 +15,14 @@ static char *stick_prelight[] = {
" ",
" ",
" ",
" X#%%#X ",
" X*====*X ",
" #=$Xo$=+ ",
" &=X X=& ",
" &=. X=& ",
" +=$..$=@ ",
" .*====*X ",
" X#**#X ",
" XXXXXX ",
" XXXXXXXX ",
" XXXXXXXX ",
" XXX XXX ",
" XXX XXX ",
" XXXXXXXX ",
" XXXXXXXX ",
" XXXXXX ",
" ",
" ",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

View File

@ -1,21 +1,12 @@
/* XPM */
static char *stick_pressed[] = {
static char *stick_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 12 1 ",
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #3B872F842E07",
"X c #3C0F2F9A2E0F",
"o c #3D412FCC2E21",
"O c #3F3F301F2E3F",
"+ c #484848484848",
"@ c #85943B95326A",
"# c #86FF3BD03280",
"$ c #8CD83CC432D8",
"% c #A43A4094343B",
"& c #ABAB41CA34AC",
"* c #B4B443433535",
"X c #4123307C2E5B s active_color_1",
"O c #484848484848",
/* pixels */
"++++++++++++++++++++++",
"OOOOOOOOOOOOOOOOOOOOOO",
" ",
" ",
" ",
@ -24,14 +15,14 @@ static char *stick_pressed[] = {
" ",
" ",
" ",
" o#%%#o ",
" o&****&o ",
" @*$oo$*# ",
" &*. o*% ",
" %*. o*& ",
" @*$..$*@ ",
" .&****&X ",
" X#&&#X ",
" XXXXXX ",
" XXXXXXXX ",
" XXXXXXXX ",
" XXX XXX ",
" XXX XXX ",
" XXXXXXXX ",
" XXXXXXXX ",
" XXXXXX ",
" ",
" ",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

View File

@ -1,19 +1,10 @@
/* XPM */
static char *stick_toggled_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 12 1 ",
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #312B2DD62D69",
"X c #566D34032F9E",
"o c #591634732FC6",
"X c #566D34032F9E s active_color_1",
"O c #484848484848",
"+ c #85AA3BD63269",
"@ c #87A93C2B3288",
"# c #88543C473292",
"$ c #C23645DE35FF",
"% c #C5DF467A3636",
"& c #C8DD46F83663",
"* c #D6D649493737",
/* pixels */
"OOOOOOOOOOOOOOOOOOOOOO",
" ",
@ -25,12 +16,12 @@ static char *stick_toggled_prelight[] = {
" ",
" ",
" ",
" .@$$@ ",
" @****@ ",
" %*Xo*% ",
" %*XX*% ",
" #****@ ",
" .#%%@. ",
" XXXX ",
" XXXXXX ",
" XXXXXX ",
" XXXXXX ",
" XXXXXX ",
" XXXX ",
" ",
" ",
" ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

View File

@ -1,20 +1,12 @@
/* XPM */
static char *stick_toggled_pressed[] = {
static char *stick_toggled_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 11 1 ",
"22 25 3 1 ",
" c #2D2D2D2D2D2D",
". c #305D2DB22D5D",
"X c #4E6532972F25",
"o c #504132E42F41",
"O c #73DD38B2315D",
"+ c #757538F43176",
"@ c #484848484848",
"# c #A43A4094343B",
"$ c #A76B4119346B",
"% c #A87B4145347C",
"& c #B4B443433535",
"X c #566D34032F9E s active_color_1",
"O c #484848484848",
/* pixels */
"@@@@@@@@@@@@@@@@@@@@@@",
"OOOOOOOOOOOOOOOOOOOOOO",
" ",
" ",
" ",
@ -24,12 +16,12 @@ static char *stick_toggled_pressed[] = {
" ",
" ",
" ",
" .+##+ ",
" +&&&&O ",
" #&Xo&% ",
" %&XX&# ",
" +&&&&+ ",
" .+%%+. ",
" XXXX ",
" XXXXXX ",
" XXXXXX ",
" XXXXXX ",
" XXXXXX ",
" XXXX ",
" ",
" ",
" ",