Skip navigation.
 
mlRe: Fwd: Best way to add a bevel to a subview
FROM : Erik M. Buck
DATE : Wed Jan 29 20:14:09 2003

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlBest way to add a bevel to a subview Yojimbo Jan 27, 10:45
mlRe: Fwd: Best way to add a bevel to a subview Erik M. Buck Jan 29, 20:14
mlRe: Best way to add a bevel to a subview Scott Anguish Jan 29, 22:32
mlRe: Best way to add a bevel to a subview Yojimbo Jan 30, 19:35