[openbox] bigger button patch
Jason 'vanRijn' Kasper
vR at movingparts.net
Thu Aug 22 19:12:00 EDT 2002
gotta screenshot for this?
On Thu, 2002-08-22 at 18:56, David Barr wrote:
> i think that the iconify button should be a xfillrectangle thing or
> something (?) but you know, it all *looks* the same. oh and the X looks
> pretty bad too, infact this is lame.
>
> merry
> ----
>
> ? bigbutton.patch
> ? autom4te.cache/requests
> ? autom4te.cache/output.0
> ? autom4te.cache/traces.0
> Index: src/Window.cc
> ===================================================================
> RCS file: /cvs/cvsroot/openbox/src/Window.cc,v
> retrieving revision 1.158
> diff -p -u -r1.158 Window.cc
> --- src/Window.cc 2002/08/22 03:46:45 1.158
> +++ src/Window.cc 2002/08/22 21:01:00
> @@ -2536,8 +2536,10 @@ void BlackboxWindow::redrawIconifyButton
>
> BPen pen((flags.focused) ? screen->getWindowStyle()->b_pic_focus :
> screen->getWindowStyle()->b_pic_unfocus);
> + XDrawRectangle(blackbox->getXDisplay(), frame.iconify_button, pen.gc(),
> + 2, (frame.button_w - 5), (frame.button_w - 5), 2);
> XDrawRectangle(blackbox->getXDisplay(), frame.iconify_button, pen.gc(),
> - 2, (frame.button_w - 5), (frame.button_w - 5), 2);
> + 2, (frame.button_w - 5), (frame.button_w - 5), 1);
> }
>
>
> @@ -2606,10 +2608,14 @@ void BlackboxWindow::redrawCloseButton(b
>
> BPen pen((flags.focused) ? screen->getWindowStyle()->b_pic_focus :
> screen->getWindowStyle()->b_pic_unfocus);
> + XDrawLine(blackbox->getXDisplay(), frame.close_button, pen.gc(),
> + 2, 2, (frame.button_w - 3), (frame.button_w - 3));
> + XDrawLine(blackbox->getXDisplay(), frame.close_button, pen.gc(),
> + 2, (frame.button_w - 3), (frame.button_w - 3), 2);
> XDrawLine(blackbox->getXDisplay(), frame.close_button, pen.gc(),
> - 2, 2, (frame.button_w - 3), (frame.button_w - 3));
> + 2, 1, (frame.button_w - 3), (frame.button_w - 4));
> XDrawLine(blackbox->getXDisplay(), frame.close_button, pen.gc(),
> - 2, (frame.button_w - 3), (frame.button_w - 3), 2);
> + 2, (frame.button_w - 4), (frame.button_w - 3), 1);
> }
>
>
--
,-----------------------------------------------------------------//
| Jason 'vanRijn' Kasper :: Numbers 6:22-26
`
| All brontosauruses are thin at one end, much MUCH thicker
| in the middle, and then thin again at the far end. That is
| the theory that I have and which is mine, and what it is too.
,
| bash$ :(){ :|:&};:
`----------------------//
More information about the openbox
mailing list