• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fwd: Best way to add a bevel to a subview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Best way to add a bevel to a subview
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: Action based undo or snapshot based undo?
  • Next by Date: Sharing an NSTextView
  • Previous by thread: Best way to add a bevel to a subview
  • Next by thread: Re: Best way to add a bevel to a subview
  • Index(es):
    • Date
    • Thread