[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] Chubby buttons patch
From:       smoynes () nexus ! carleton ! ca (Scott Moynes)
Date:       2002-08-23 18:23:41
Message-ID: 20020823182341.GA10341 () marilyn
[Download RAW message or body]

* Ben Jansens (ben at orodu.net) wrote:
> I committed your changes to GCCache pretty much verbatim. The
> Window.cc stuff was simple, just changing line widths to 2. I
> committed that part by accident, but now that its in, lets see if
> people go nuts and complain, or cheer, i guess :>

Some of the changes to to GCCache aren't correct. The default line
width should be 0. The X server interprets this as "You want zero?
Sorry you get one!" except the drawing algorithm is allowed to be
faster. The specs specify a few contraints on how to draw line_widths
of 1 or more (called wide lines), but allow the server to use any
hardware acceleration it likes for line_widths of 0 (thin lines).

Also, the size of the button depends on the themes/fonts/machine a
lot. Here's a screenshot from my workstation at work.

http://nexus.carleton.ca/~smoynes/buttons6.png

Most of the shipped styles have very similar titlebar heights so that
doesn't help when comparing.

After seeing an onslaught of decorations floating around, I think we
could add a config menu for them for the next testing release.

Anyway, I'm away for the weekend so try not to port openbox to tcl
over the weekend.

-- 
Scott Moynes
"Computer science is as much about computers
as astronomy is about telescopes." -- Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://icculus.org/pipermail/openbox/attachments/20020823/754dc236/attachment.pgp>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic