Re: Colored Buttons?
Re: Colored Buttons?
- Subject: Re: Colored Buttons?
- From: Markus Hitter <email@hidden>
- Date: Sun, 4 Nov 2001 23:45:45 +0100
Am Sonntag den, 4. November 2001, um 22:29, schrieb email@hidden:
In any event, making a stupid button red or whatever seems like
a lot of work for a result of so little consequence.
After all, this is the consequence of having a slim and elegant
Library. If there were methods do change all these tiny details
of the GUI, AppKit would bloat rapidly.
Motif/X11 is a good example of the opposite: There you can
change everything, even without recompilation, but you need
easily 30 lines of code to make a button work.
Is this a plot to encourage people to adhere to Apple's idea of
what looks good?
You're free to modify whatever you want. Just dive deep enough
into CoreGraphics and the Framework mechanism. Try to override
-drawRect: for an NSButton. But don't complain about the huge
amount of work you ask for.
Most programmers want to have a working App with OS-consistent
GUI in a short time. For this, Cocoa is best.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/