adding a new BezelStyle to buttons
adding a new BezelStyle to buttons
- Subject: adding a new BezelStyle to buttons
- From: Nicholas Francis <email@hidden>
- Date: Sun, 4 Jan 2004 12:32:05 +0100
Hi guys.
I'm looking for ways to add a new BezelStyle to the list currently
supported by NSButton & NSPopUpButton. I can easily live with not being
able to set it from IB, but would like to not have to create a new Cell
type and set the cell for all my controls from code.
Something like this would be nice:
static const int myBezelStyle = 9600; // Strange magic value
- (void) awakeFromNib {
[myButton setBezelStyle: myBezelStyle];
[myPopupButton setBezelStyle: myBezelStyle];
}
Would there be any way to catch this bezelStyle inside a cell's call -
(void)drawWithFrame:inView: and then check for the myBezelStyle?
Nicholas Francis
------------------------------------------------------------------------
-------
Scheduling fascist - Over The Edge Entertainments
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.