• 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
NSColorWell & NSImageView questions.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSColorWell & NSImageView questions.


  • Subject: NSColorWell & NSImageView questions.
  • From: Nicholas Francis <email@hidden>
  • Date: Fri, 4 Oct 2002 14:13:08 -0700

Hi guys...

I'm writing an OpenGL shader development tool (if you think of OpenGL ShaderBuilder, you're on the right track). I have a few questions about colorwells & imageviews:

Color Wells first:
* I have multiple color wells in the same window as I have an NSTextView. This is usually the first responder. How do I prevent the picked colors changing the text color in the text view? I just want the text color to remain black...

* Some of my color wells have an alpha channel. Others do not. What is the best way of switching the Alpha on and off based on which color well receives the picked color?


Now for the Image View:
I also have a number of image views in the application. How do I get the file name of the file that was dragged into them (I need the filename, not the image data).

Sorry if these are dumb questions, but I have spent hours trying find this info in the docs, and being new to Cocoa, I don't have the architectural knowledge to _really_ know how the AppKit goes about its stuff.

TIA,
Nicholas
_______________________________________________
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.

  • Prev by Date: Re: Bochs - Free PC emulator
  • Next by Date: Re: notification on windowing being frontmost.
  • Previous by thread: [newbie] saveDocumentWithDelegate or saveToFile?
  • Next by thread: C to Objective-C
  • Index(es):
    • Date
    • Thread