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_pressed_xpm[] = {
"16 16 17 1",
" c None",
". c #2D2D2D",
"+ c #B44335",
"@ c #893C32",
"# c #3B2F2E",
"$ c #8B3D33",
"% c #AC4233",
"& c #49312E",
"* c #3C2F2D",
"= c #AD4334",
"- c #A94134",
"; c #4E322F",
"> c #A94135",
", c #AA4134",
"' c #47312E",
") c #873B32",
"! c #392E2D",
"................",
"................",
"................",
"................",
"....+@#..#@+....",
"....$+%&&%+@....",
"....*=+--+%#....",
".....;=++-&.....",
".....;=++-&.....",
"....*=+>>+%#....",
"....$+,'',+@....",
"....+)!..!)+....",
"................",
"................",
"................",
"................"};
static char *close_pressed[] = {
/* 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",
/* pixels */
"OOOOOOOOOOOOOOOOOOOOOO",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" #+. .+# ",
" @#+.X+#+ ",
" X+#@@#+X ",
" .@##@X ",
" X@##@X ",
" X@#+@#@o ",
" +#@oo+#@ ",
" #+. X+# ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};