From 1099450cbe052e50f49dce34dd26cd8a979663e2 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 17 Dec 2019 22:50:40 -0500 Subject: [PATCH] add cutouts to circular buttons; mostly for menu icons to make sense but also looks pretty good in titlebar; change desk[hover] style --- openbox-3/close.xbm | 4 ++-- openbox-3/desk.xbm | 4 ++-- openbox-3/desk_hover.xbm | 8 ++++---- openbox-3/desk_hover_toggled.xbm | 6 +++--- openbox-3/desk_toggled.xbm | 10 +++++----- openbox-3/iconify.xbm | 2 +- openbox-3/max.xbm | 4 ++-- openbox-3/max_toggled.xbm | 10 +++++----- openbox-3/shade.xbm | 2 +- openbox-3/shade_toggled.xbm | 8 ++++---- 10 files changed, 29 insertions(+), 29 deletions(-) diff --git a/openbox-3/close.xbm b/openbox-3/close.xbm index 515600c..041af41 100755 --- a/openbox-3/close.xbm +++ b/openbox-3/close.xbm @@ -1,5 +1,5 @@ #define close_width 10 #define close_height 10 static unsigned char close_bits[] = { - 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, - 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; + 0x7c, 0x00, 0xfe, 0x00, 0xbb, 0x01, 0xd7, 0x01, 0xef, 0x01, 0xd7, 0x01, + 0xbb, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/desk.xbm b/openbox-3/desk.xbm index 31cba56..59ee18a 100644 --- a/openbox-3/desk.xbm +++ b/openbox-3/desk.xbm @@ -1,5 +1,5 @@ #define desk_width 10 #define desk_height 10 static unsigned char desk_bits[] = { - 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, - 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; + 0x7c, 0x00, 0xfe, 0x00, 0xc7, 0x01, 0xef, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xc7, 0x01, 0xee, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/desk_hover.xbm b/openbox-3/desk_hover.xbm index 8a96ec9..e8d2b72 100644 --- a/openbox-3/desk_hover.xbm +++ b/openbox-3/desk_hover.xbm @@ -1,4 +1,4 @@ -#define desk_hover_toggled_width 8 -#define desk_hover_toggled_height 8 -static unsigned char desk_hover_toggled_bits[] = { - 0xff, 0x81, 0xbd, 0xa5, 0xa5, 0xbd, 0x81, 0xff }; +#define desk_hover_width 8 +#define desk_hover_height 8 +static unsigned char desk_hover_bits[] = { + 0x00, 0x1c, 0x1c, 0x00, 0x00, 0x1c, 0x1c, 0x00 }; diff --git a/openbox-3/desk_hover_toggled.xbm b/openbox-3/desk_hover_toggled.xbm index 306db39..7fadb17 100644 --- a/openbox-3/desk_hover_toggled.xbm +++ b/openbox-3/desk_hover_toggled.xbm @@ -1,4 +1,4 @@ -#define desk_hover_width 8 -#define desk_hover_height 8 -static unsigned char desk_hover_bits[] = { +#define desk_hover_toggled_width 8 +#define desk_hover_toggled_height 8 +static unsigned char desk_hover_toggled_bits[] = { 0x00, 0x3c, 0x42, 0x5a, 0x5a, 0x42, 0x3c, 0x00 }; diff --git a/openbox-3/desk_toggled.xbm b/openbox-3/desk_toggled.xbm index 31cba56..4e29c1f 100644 --- a/openbox-3/desk_toggled.xbm +++ b/openbox-3/desk_toggled.xbm @@ -1,5 +1,5 @@ -#define desk_width 10 -#define desk_height 10 -static unsigned char desk_bits[] = { - 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, - 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; +#define desk_toggled_width 10 +#define desk_toggled_height 10 +static unsigned char desk_toggled_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xc7, 0x01, 0xef, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xc7, 0x01, 0xee, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/iconify.xbm b/openbox-3/iconify.xbm index 85566d0..6640f42 100755 --- a/openbox-3/iconify.xbm +++ b/openbox-3/iconify.xbm @@ -1,5 +1,5 @@ #define iconify_width 10 #define iconify_height 10 static unsigned char iconify_bits[] = { - 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0x83, 0x01, 0xff, 0x01, 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/max.xbm b/openbox-3/max.xbm index bb4bde7..6844f7f 100755 --- a/openbox-3/max.xbm +++ b/openbox-3/max.xbm @@ -1,5 +1,5 @@ #define max_width 10 #define max_height 10 static unsigned char max_bits[] = { - 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, - 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; + 0x7c, 0x00, 0xfe, 0x00, 0x9f, 0x01, 0xbf, 0x01, 0xff, 0x01, 0xfb, 0x01, + 0xf3, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/max_toggled.xbm b/openbox-3/max_toggled.xbm index bb4bde7..1bd0088 100755 --- a/openbox-3/max_toggled.xbm +++ b/openbox-3/max_toggled.xbm @@ -1,5 +1,5 @@ -#define max_width 10 -#define max_height 10 -static unsigned char max_bits[] = { - 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, - 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; +#define max_toggled_width 10 +#define max_toggled_height 10 +static unsigned char max_toggled_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0x9f, 0x01, 0xbf, 0x01, 0xff, 0x01, 0xfb, 0x01, + 0xf3, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/shade.xbm b/openbox-3/shade.xbm index 51fd3d8..26b8f35 100644 --- a/openbox-3/shade.xbm +++ b/openbox-3/shade.xbm @@ -1,5 +1,5 @@ #define shade_width 10 #define shade_height 10 static unsigned char shade_bits[] = { - 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xef, 0x01, 0xd7, 0x01, 0xbb, 0x01, 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/shade_toggled.xbm b/openbox-3/shade_toggled.xbm index 51fd3d8..50e1e0d 100644 --- a/openbox-3/shade_toggled.xbm +++ b/openbox-3/shade_toggled.xbm @@ -1,5 +1,5 @@ -#define shade_width 10 -#define shade_height 10 -static unsigned char shade_bits[] = { - 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, +#define shade_toggled_width 10 +#define shade_toggled_height 10 +static unsigned char shade_toggled_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xef, 0x01, 0xd7, 0x01, 0xbb, 0x01, 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 };