[openbox] Bitmap buttons patch
Ben Jansens
ben at orodu.net
Fri Aug 30 03:14:09 EDT 2002
On Fri, Aug 30, 2002 at 12:49:28AM -0400, Scott Moynes wrote:
> Here is my bitmap button patch, or as I like to call it bubby-buttons.
>
> It is quite rough, and there's some things I'd like to fix up, but I
> wanted some feedback.
>
> Here's how it works:
> - new style/rcfile options have been added
> window.button.{close,max,icon,stick}_mask: filename
> Right now the filename has to be specified absolutely, but that
> will change. I don't know whether we should just use expandTilde()
> or make the filename relative to the style location.
I'd say expandTilde() and then if the filename doesn't start with a
'/', use the relative path from the style.
> - the files must be xbm files, which gimp can easily create, or if you
> really want to can be created with a simple text editor. I have a
> sample set at
> http://nexus.carleton.ca/~smoynes/{close,icon,stick,max}.xbm
> If there is any problem loading the file the old images are
> used. This allows users to override the stile with something like
> window.button.close_mask: false
> and they don't have to put up with some lame matrix theme buttons
> - The images won't scale. Let me repeat that. The images won't
> scale. Nor are they likely ever going to. In my experimentation, I
> found the difference in size between the smallest title bar I'd ever
> consider using and the largest to be pretty small. It might be a
> problem across different machines, but it isn't difficult to scale
> them yourself with an image editor.
>
> Here's a quick screenshot.
> http://nexus.carleton.ca/~smoynes/bubby-buttons.png
>
> Any questions, comments or patches are welcome.
Ben
--
I am damn unsatisfied to be killed in this way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://icculus.org/pipermail/openbox/attachments/20020830/90cde6fa/attachment.pgp>
More information about the openbox
mailing list