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
+43
View File
@@ -0,0 +1,43 @@
/* XPM */
static char *stick_pressed[] = {
/* columns rows colors chars-per-pixel */
"22 25 12 1 ",
" c #2D2D2D2D2D2D",
". c #3B872F842E07",
"X c #3C0F2F9A2E0F",
"o c #3D412FCC2E21",
"O c #3F3F301F2E3F",
"+ c #484848484848",
"@ c #85943B95326A",
"# c #86FF3BD03280",
"$ c #8CD83CC432D8",
"% c #A43A4094343B",
"& c #ABAB41CA34AC",
"* c #B4B443433535",
/* pixels */
"++++++++++++++++++++++",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" o#%%#o ",
" o&****&o ",
" @*$oo$*# ",
" &*. o*% ",
" %*. o*& ",
" @*$..$*@ ",
" .&****&X ",
" X#&&#X ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};