• 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: UI help: visibly disabling NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UI help: visibly disabling NSImageView


  • Subject: Re: UI help: visibly disabling NSImageView
  • From: Brad Peterson <email@hidden>
  • Date: Fri, 7 Nov 2008 19:36:50 -0800 (PST)

> > Does anyone have any ideas on how to _visually_
> indicate that an NSImageView is not editable? Since it
> doesn't really do anything different when it's
> editable or not editable, it's tough for the user to
> tell which state is which.
>
> It's trivial to create a subclass of NSImageView that
> in some way manipulates or overdraws the image it's
> displaying in order to illustrate some kind of state. I did
> one not to long ago that used a gradient to simulate a
> spotlight calling attention to one portion of the current
> image, for example.

That's what I ended up doing, actually. For the sake of the archives, if anyone else is later interested, I used the Tinted Image sample code from Apple, and simply created my own NSImageView subclass that could retain the original image, and also draw some tinted flavor of it when needed. This ended up being the exact visual result I was seeking.

> But it also strikes me that in doing so
> you're compromising the quality and/or content of the
> image from the user's standpoint. Might it make more
> sense to have a small, but clear, external indicator instead
> of a subtle content
> manipulation?_______________________________________________

That's a good question, and something I debated a lot. However, even with other indicators (other items being disabled, background color changing, etc.) the image somehow seemed out of place. It almost seemed to contradict what the other controls were saying; they were greyed out, but the image was still bright, front and center.

Thanks,
B



_______________________________________________

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: 
 >Re: UI help: visibly disabling NSImageView (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: ObjC data structure for C++/ObjC++ objects?
  • Next by Date: Re: Skinny NSPanel titlebar for NSWindow?
  • Previous by thread: Re: UI help: visibly disabling NSImageView
  • Next by thread: release and reference counting query
  • Index(es):
    • Date
    • Thread