• 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: Custom NSButton image effects for pressed/disabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom NSButton image effects for pressed/disabled


  • Subject: Re: Custom NSButton image effects for pressed/disabled
  • From: Richard Charles <email@hidden>
  • Date: Thu, 13 Dec 2018 07:28:28 -0700

> On Dec 12, 2018, at 5:31 PM, Lars C. Hassing <email@hidden> wrote:
>
> The button should look like
>
> +---+         +---+
> | 1 |  Title  | 2 |
> +---+         +—+
>
> (try using Courier for the ASCII art)
>
> I am looking for system functions to produce the SAME look and feel as Cocoa
> controls.

Compose your image as a single image but with disjointed parts. I use Inkscape
to draw vector graphics and use a pdf for the image. The only place in the
"image" where there is something is where something is drawn. Everywhere else
it is just an empty background.

--Richard Charles

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Custom NSButton image effects for pressed/disabled (From: "Lars C. Hassing" <email@hidden>)
 >Re: Custom NSButton image effects for pressed/disabled (From: "Lars C. Hassing" <email@hidden>)

  • Prev by Date: Re: Custom NSButton image effects for pressed/disabled
  • Next by Date: Why would a view be asked to draw after its window has been ordered out?
  • Previous by thread: Re: Custom NSButton image effects for pressed/disabled
  • Next by thread: Re: Custom NSButton image effects for pressed/disabled
  • Index(es):
    • Date
    • Thread