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 -21
View File
@@ -1,22 +1,39 @@
/* XPM */
static char * shade_toggled_prelight_xpm[] = {
"16 16 3 1",
" c None",
". c #2D2D2D",
"+ c #D64937",
"................",
"................",
"................",
"................",
".......++.......",
".......++.......",
".......++.......",
"...+++.++.+++...",
"....++++++++....",
".....++++++.....",
"......++++......",
".......++.......",
"................",
"................",
"................",
"................"};
static char *shade_toggled_prelight[] = {
/* columns rows colors chars-per-pixel */
"22 25 8 1 ",
" c #2D2D2D2D2D2D",
". c #4123307C2E5B",
"X c #484848484848",
"o c #82573B493237",
"O c #87A93C2B3288",
"+ c #BF8D456D35D6",
"@ c #C18C45C235F4",
"# c #D6D649493737",
/* pixels */
"XXXXXXXXXXXXXXXXXXXXXX",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ## ",
" ## ",
" ## ",
" #+.##.+# ",
" O#@##@#O ",
" o####o ",
" o##o ",
" oo ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};