NSColorWell & NSImageView questions.
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.