[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Theming support for NSScroller
From: |
Fred Kiefer |
Subject: |
Re: Theming support for NSScroller |
Date: |
Fri, 05 Oct 2007 09:34:43 +0200 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20060911) |
I am very much in favour of adding more theming to GNUstep, but I would
like to keep the theming down to display code and keep all the
functional logic in the original GNUstep code. Would it be sufficient
for you if the images used for the different buttons are themable?
Cheers,
Fred
Guenther Noack wrote:
> Hi!
>
> This patch makes theming NSScroller easier. When applied, the button
> cells used by NSScroller are not created by the NSScroller class itself
> but created by factory methods in GSTheme. The standard button cells can
> thus be easily replaced by a theme.
>
> Here's a screenshot of a theme engine taking advantage of this:
> http://www.unix-ag.uni-kl.de/~guenther/images/nsscroller-demo.png
>
> Without this patch, changing the scroller button cells involves
> copy&pasting several methods from NSScroller. I hope you can apply my
> patch.
>
> Best regards,
> Guenther
>