• 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: Getting the lined background image for menus.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the lined background image for menus.


  • Subject: Re: Getting the lined background image for menus.
  • From: Rosyna <email@hidden>
  • Date: Thu, 30 May 2002 23:14:28 -0700

Actually, I can get the menu bg fine, but not when it's selected. ;) And it's to dynamically update a menu's title while the menu is down. Right now it's drawn plainly and looks very, very odd. I've tried drawing an slightly transparent selectedMenuItemColor onto an icon with so such luck (it doesn't draw)

Sigh.

Ack, at 5/30/02, Eric Schlegel said:

On Thursday, May 30, 2002, at 01:49 PM, Rosyna wrote:

Is it possible to draw an attributed string with the lined background color used in menus when a menu item is selected or not?

I've tried the NSColor +selectedMenuItemColor but it returns a dark blue that's unlined. (as it says it will do in the docs)

You could call DrawThemeMenuItem and pass a callback proc that draws the string. DrawThemeMenuItem will draw the lined background pattern first.

-eric

--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me remember what we were talking about. Thanks.
_______________________________________________
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.
References: 
 >Re: Getting the lined background image for menus. (From: Eric Schlegel <email@hidden>)

  • Prev by Date: Re: Getting the lined background image for menus.
  • Next by Date: Re: displaying a calculated image
  • Previous by thread: Re: Getting the lined background image for menus.
  • Next by thread: Re: Getting the lined background image for menus.
  • Index(es):
    • Date
    • Thread