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
+36 -34
View File
@@ -1,35 +1,37 @@
/* XPM */
static char * close_inactive_xpm[] = {
"16 16 16 1",
" c None",
". c #2D2D2D",
"+ c #AAAAAA",
"@ c #828282",
"# c #3A3A3A",
"$ c #848484",
"% c #A2A2A2",
"& c #474747",
"* c #3B3B3B",
"= c #A4A4A4",
"- c #A0A0A0",
"; c #4B4B4B",
"> c #A1A1A1",
", c #464646",
"' c #818181",
") c #383838",
"................",
"................",
"................",
"................",
"....+@#..#@+....",
"....$+%&&%+@....",
"....*=+--+%#....",
".....;=++-&.....",
".....;=++-&.....",
"....*=+--+%#....",
"....$+>,,>+@....",
"....+')..)'+....",
"................",
"................",
"................",
"................"};
static char *close_inactive[] = {
/* columns rows colors chars-per-pixel */
"22 25 6 1 ",
" c #2D2D2D2D2D2D",
". c #375437543754",
"X c #394439443944",
"o c #7BA27BA27BA2",
"O c #7F7C7F7C7F7C",
"+ c #888888888888",
/* pixels */
"XXXXXXXXXXXXXXXXXXXXXX",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" +o. .o+ ",
" O+o..o+O ",
" .o+OO+o. ",
" .O++O. ",
" .O++O. ",
" XO+oO+OX ",
" o+OX.O+O ",
" +o. .o+ ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};