? mulberry-aesthetics.patch
Index: data/rc.xml.in
===================================================================
RCS file: /cvs/cvsroot/openbox/data/rc.xml.in,v
retrieving revision 1.21
diff -p -u -r1.21 rc.xml.in
--- data/rc.xml.in 4 Nov 2004 12:13:25 -0000 1.21
+++ data/rc.xml.in 15 Jul 2005 08:17:08 -0000
@@ -25,6 +25,7 @@
TheBear
NLIMC
+ yes
Index: openbox/dock.c
===================================================================
RCS file: /cvs/cvsroot/openbox/openbox/dock.c,v
retrieving revision 1.39
diff -p -u -r1.39 dock.c
--- openbox/dock.c 26 Mar 2005 06:34:58 -0000 1.39
+++ openbox/dock.c 15 Jul 2005 08:17:08 -0000
@@ -60,7 +60,7 @@ void dock_startup(gboolean reconfig)
XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
RrAppearanceFree(dock->a_frame);
- dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_unfocused_title);
+ dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_menu);
stacking_add(DOCK_AS_WINDOW(dock));
@@ -88,7 +88,7 @@ void dock_startup(gboolean reconfig)
RrVisual(ob_rr_inst),
CWOverrideRedirect | CWEventMask,
&attrib);
- dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_unfocused_title);
+ dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_menu);
XSetWindowBorder(ob_display, dock->frame,
RrColorPixel(ob_rr_theme->b_color));
XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
Index: render/gradient.c
===================================================================
RCS file: /cvs/cvsroot/openbox/render/gradient.c,v
retrieving revision 1.45
diff -p -u -r1.45 gradient.c
--- render/gradient.c 15 Oct 2003 03:59:35 -0000 1.45
+++ render/gradient.c 15 Jul 2005 08:17:09 -0000
@@ -132,11 +132,11 @@ static void highlight(RrPixel32 *x, RrPi
down = x;
}
r = (*up >> RrDefaultRedOffset) & 0xFF;
- r += r >> 1;
+ r += r >> 3;
g = (*up >> RrDefaultGreenOffset) & 0xFF;
- g += g >> 1;
+ g += g >> 3;
b = (*up >> RrDefaultBlueOffset) & 0xFF;
- b += b >> 1;
+ b += b >> 3;
if (r > 0xFF) r = 0xFF;
if (g > 0xFF) g = 0xFF;
if (b > 0xFF) b = 0xFF;
Index: render/image.c
===================================================================
RCS file: /cvs/cvsroot/openbox/render/image.c,v
retrieving revision 1.16
diff -p -u -r1.16 image.c
--- render/image.c 11 Nov 2003 12:04:47 -0000 1.16
+++ render/image.c 15 Jul 2005 08:17:09 -0000
@@ -162,6 +162,7 @@ void RrImageDraw(RrPixel32 *target, RrTe
guchar alpha, r, g, b, bgr, bgg, bgb;
alpha = *source >> RrDefaultAlphaOffset;
+ alpha /= 1.5;
r = *source >> RrDefaultRedOffset;
g = *source >> RrDefaultGreenOffset;
b = *source >> RrDefaultBlueOffset;
Index: render/theme.c
===================================================================
RCS file: /cvs/cvsroot/openbox/render/theme.c,v
retrieving revision 1.76
diff -p -u -r1.76 theme.c
--- render/theme.c 14 Jul 2005 20:41:24 -0000 1.76
+++ render/theme.c 15 Jul 2005 08:17:11 -0000
@@ -901,10 +901,10 @@ RrTheme* RrThemeNew(const RrInstance *in
/* this should match the above title_height given the same font size
for both. */
theme->menu_title_height = theme->menu_title_font_height +
- theme->padding * 2;
+ theme->padding * 1.5;
}
theme->button_size = theme->label_height - 2;
- theme->grip_width = theme->title_height * 1.5;
+ theme->grip_width = theme->label_height* 1.3;
return theme;
}
Index: themes/TheBear/openbox-3/themerc
===================================================================
RCS file: /cvs/cvsroot/openbox/themes/TheBear/openbox-3/themerc,v
retrieving revision 1.9
diff -p -u -r1.9 themerc
--- themes/TheBear/openbox-3/themerc 28 Sep 2003 09:54:07 -0000 1.9
+++ themes/TheBear/openbox-3/themerc 15 Jul 2005 08:17:11 -0000
@@ -98,7 +98,7 @@ window.active.client.color: #e6e6e6
!! Global width settings
border.width: 1
-padding.width: 1
+padding.width: 2
window.handle.width: 3
window.client.padding.width: 0
@@ -107,7 +107,7 @@ window.client.padding.width: 0
border.color: #222222
!! font me!
-window.active.label.text.font:Bitstream Vera Sans:bold:pixelsize=9:shadow=y:shadowoffset=1:shadowtint=75
-window.inactive.label.text.font:Bitstream Vera Sans:bold:pixelsize=9
-menu.items.font: Bitstream Vera Sans:pixelsize=10
-menu.title.text.font: Bitstream Vera Sans:bold:pixelsize=9:shadow=y:shadowoffset=1:shadowtint=75
+window.active.label.text.font:Bitstream Vera Sans:bold:size=9:shadow=y:shadowoffset=1:shadowtint=60
+window.inactive.label.text.font:Bitstream Vera Sans:bold:size=9
+menu.items.font: Bitstream Vera Sans:size=9
+menu.title.text.font: Bitstream Vera Sans:bold:size=9:shadow=y:shadowoffset=1:shadowtint=60