PDA

View Full Version : Color Scheme



glararan
12-15-2011, 09:41 AM
Hi. I need to create ColorScheme as
http://www.sdilej.eu/pics/5285807cd51cb60ba9d149f5986fd108.png

But i don't know how i can call this or how to create function, class or some. Can you give me some tutorial?

I try google "OpenGL Color Picker", "OpenGL Color Scheme", "OpenGL Select Color", ...

Alfonse Reinheart
12-15-2011, 10:52 AM
The reason those searches didn't work is because that has nothing to do with OpenGL. That dialog comes from Windows, not GL. Windows is responsible for it, and it is Windows functions that interact with it.

That you want to use the color you get back for OpenGL doesn't matter; the dialog belongs to Windows, so you need to look to Windows APIs to access it.

glararan
12-15-2011, 12:08 PM
Ah... Ok..But it be very bad when is it this app for MacOS and Win :p