gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Theming support for NSScroller


From: Guenther Noack
Subject: Theming support for NSScroller
Date: Thu, 4 Oct 2007 21:19:12 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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

Attachment: nsscroller-theming-patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]