Re: Fwd: Best way to add a bevel to a subview
Re: Fwd: Best way to add a bevel to a subview
- Subject: Re: Fwd: Best way to add a bevel to a subview
- From: "Erik M. Buck" <email@hidden>
- Date: Wed, 29 Jan 2003 14:14:09 -0500
I am not sure I really understand what you want, but is there some reason
you don't just use NSBox to contain whatever view needs a bevel ?
There are also the following functions (some of which no longer work in OS
X) documented in
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/Ob
jC_classic/Functions/AppKitFunctions.html#BAJJABBF
void NSDrawButton(const NSRect aRect, const NSRect clipRect)
NSRect NSDrawColorTiledRects(NSRect boundsRect, NSRect clipRect, const
NSRectEdge *sides, NSColor **colors, int count)
void NSDrawDarkBezel(NSRect boundsRect, NSRect clipRect)
void NSDrawGrayBezel(NSRect boundsRect, NSRect clipRect)
void NSDrawGroove(NSRect boundsRect, NSRect clipRect)
void NSDrawLightBezel(NSRect boundsRect, NSRect clipRect)
NSRect NSDrawTiledRects(NSRect boundsRect, NSRect clipRect, const NSRectEdge
*sides, const float *grays, int count);
void NSFrameRect(NSRect aRect)
void NSFrameRectWithWidth(NSRect aRect, float frameWidth)
void NSFrameRectWithWidthUsingOperation(NSRect aRect, float frameWidth,
NSCompositingOperation op)
void NSRectFillListWithGrays(const NSRect *rects, const float *grays, int
count)
_______________________________________________
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.