xfwm4: bigger buttons, top left/right px clickable

Allow the top left and right pixels of maximized windows to be clickable
if there's a window button there, for greater Fitts's Law compliance. The
exception is the window menu button, which needs a minor hack to be sized
correctly.

Somewhat darker inactive button icons, to match window title text.

Add an SVG-based build system to allow colours to be changed easily.
This commit is contained in:
Andrew Chadwick
2014-02-10 21:23:27 +00:00
parent 686a0b4007
commit 73491d3470
50 changed files with 2147 additions and 557 deletions
+38 -35
View File
@@ -1,36 +1,39 @@
/* XPM */
static char * close_prelight_xpm[] = {
"16 16 17 1",
" c None",
". c #2D2D2D",
"+ c #D64937",
"@ c #A04034",
"# c #3F302E",
"$ c #A34033",
"% c #CC4736",
"& c #50322F",
"* c #40302D",
"= c #CE4736",
"- c #C94636",
"; c #57332F",
"> c #C84636",
", c #CA4736",
"' c #4F332F",
") c #9E3F33",
"! c #3C2F2D",
"................",
"................",
"................",
"................",
"....+@#..#@+....",
"....$+%&&%+@....",
"....*=+--+%#....",
".....;=++-&.....",
".....;=++-&.....",
"....*=+>>+%#....",
"....$+,'',+@....",
"....+)!..!)+....",
"................",
"................",
"................",
"................"};
static char *close_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 8 1 ",
" c #2D2D2D2D2D2D",
". c #4007304C2E4A",
"X c #452131252E98",
"o c #484848484848",
"O c #BEE2455135CC",
"+ c #C23645DE35FF",
"@ c #C60A46813639",
"# c #D6D649493737",
/* pixels */
"oooooooooooooooooooooo",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" #O. .O# ",
" +#O..O#+ ",
" .O#@@#O. ",
" .@##+. ",
" X@##@X ",
" X+#++#+X ",
" +#@.X@#+ ",
" #O. .+# ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};