• 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
Idea on how to implement a concept...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Idea on how to implement a concept...


  • Subject: Idea on how to implement a concept...
  • From: Jean-Nicolas Jolivet <email@hidden>
  • Date: Sat, 08 Nov 2008 12:22:59 -0500

What I'm trying to do isn't very complex but somehow I'm not sure how I should implement it... To sum it up, my app outputs images... the user can drag a slider to control the size (i.e. from 0x0 to 800x600) of these images... right now I am only showing the width and height in 2 text fields that gets updated live when a user drags the slider...

What I would like is to give the user a visual representation of the size while he drags the slider... (so, like a rectangle that would scale, live, as the slider is dragged...) I thought of using a random control like a textfield or an NSImageView that I would resize live while the slider is dragged...

The problem is, I don't really have enough "room" or space in my application window to display a rectangle that big... so I'm not sure how I could do it... ? Perhaps with a floating panel that gets resized when my slider is dragged?? Or is there a way that I can draw a rectangle or something "in front" or "over" all of my window's controls, and hide that rectangle once the slider is released??

I'm not really looking for exact code, but more for ideas on how to implement something like that...

Jean-Nicolas Jolivet
_______________________________________________

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


  • Follow-Ups:
    • Re: Idea on how to implement a concept...
      • From: Graham Cox <email@hidden>
    • Re: Idea on how to implement a concept...
      • From: Rob Keniger <email@hidden>
  • Prev by Date: Re: Notification when window is closing?
  • Next by Date: Crash in NSFileManager
  • Previous by thread: Layered back OpenGL view performance on Macbook and Mini
  • Next by thread: Re: Idea on how to implement a concept...
  • Index(es):
    • Date
    • Thread