Make Xfwm4 theme use symbolic colors from the theme

Specifically, the hover and pressed effects are drawn with bg[SELECTED]
This commit is contained in:
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

+9 -9
View File
@@ -9,7 +9,7 @@ static char *close_prelight[] = {
"O c #BEE2455135CC", "O c #BEE2455135CC",
"+ c #C23645DE35FF", "+ c #C23645DE35FF",
"@ c #C60A46813639", "@ c #C60A46813639",
"# c #D6D649493737", "# c #D6D649493737 s active_color_1",
/* pixels */ /* pixels */
"oooooooooooooooooooooo", "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

+17 -17
View File
@@ -1,17 +1,17 @@
/* XPM */ /* XPM */
static char *close_pressed[] = { static char *close_prelight[] = {
/* columns rows colors chars-per-pixel */ /* columns rows colors chars-per-pixel */
"22 25 8 1 ", "22 25 8 1 ",
" c #2D2D2D2D2D2D", " c #2D2D2D2D2D2D",
". c #3C0F2F9A2E0F", ". c #4007304C2E4A",
"X c #3C972FB02E17", "X c #452131252E98",
"o c #402230442E4C", "o c #484848484848",
"O c #484848484848", "O c #BEE2455135CC",
"+ c #A1A940293414", "+ c #C23645DE35FF",
"@ c #A76B4119346B", "@ c #C60A46813639",
"# c #B4B443433535", "# c #D6D649493737 s active_color_1",
/* pixels */ /* pixels */
"OOOOOOOOOOOOOOOOOOOOOO", "oooooooooooooooooooooo",
" ", " ",
" ", " ",
" ", " ",
@@ -20,14 +20,14 @@ static char *close_pressed[] = {
" ", " ",
" ", " ",
" ", " ",
" #+. .+# ", " ##. .## ",
" @#+.X+#+ ", " ###..### ",
" X+#@@#+X ", " .######. ",
" .@##@X ", " .####. ",
" X@##@X ", " .####. ",
" X@#+@#@o ", " .######. ",
" +#@oo+#@ ", " ###..### ",
" #+. X+# ", " ##. .## ",
" ", " ",
" ", " ",
" ", " ",
+4 -6
View File
@@ -1,12 +1,10 @@
/* XPM */ /* XPM */
static char *hide_prelight[] = { static char *hide_prelight[] = {
/* columns rows colors chars-per-pixel */ /* columns rows colors chars-per-pixel */
"22 25 5 1 ", "22 25 3 1 ",
" c #2D2D2D2D2D2D", " c #2D2D2D2D2D2D",
". c #32802E0F2D7E", ". c #32802E0F2D7E s active_color_1",
"X c #484848484848", "X c #484848484848",
"o c #D22E488336F0",
"O c #D6D649493737",
/* pixels */ /* pixels */
"XXXXXXXXXXXXXXXXXXXXXX", "XXXXXXXXXXXXXXXXXXXXXX",
" ", " ",
@@ -19,9 +17,9 @@ static char *hide_prelight[] = {
" ", " ",
" ", " ",
" ", " ",
" ",
" ........ ",
" ........ ", " ........ ",
" OOOOOOOO ",
" oooooooo ",
" ", " ",
" ", " ",
" ", " ",
Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

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

After

Width:  |  Height:  |  Size: 190 B

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

After

Width:  |  Height:  |  Size: 190 B

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

After

Width:  |  Height:  |  Size: 286 B

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

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

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

Some files were not shown because too many files have changed in this diff Show More