class MASKING_DLL_DECLSPEC ColorSelect
The standard color selector dialog.
Inheritance:
Public Methods
-
ColorSelect(const char* title = "Select color", Color c = 0)
- Color selector constructor.
-
virtual Color Popup(Dialog* p, int x = MAXINT, int y = MAXINT)
- Pops up a colour selector at the given position.
-
void HandleEvent(Widget &obj, int msg, int arg1=0, int arg2=0)
- Handles events such as slider moves
Protected Methods
-
void MsgInitSkin()
- Initializes the colour preview and the slider labels with the proper values
Documentation
The standard color selector dialog.
ColorSelect is a simple dialog for selecting a color either by defining
it with three RGB sliders or three HSV sliders. This dialog isn't exactly
pretty so if you have a better one for the same purpose, contributions
are always welcome :)
void MsgInitSkin()
-
Initializes the colour preview and the slider labels with the proper values
ColorSelect(const char* title = "Select color", Color c = 0)
-
Color selector constructor. You can pass the dialog's title and initial colour.
virtual Color Popup(Dialog* p, int x = MAXINT, int y = MAXINT)
-
Pops up a colour selector at the given position. Returns the selected colour or
-1 if the dialog was canceled or escaped.
void HandleEvent(Widget &obj, int msg, int arg1=0, int arg2=0)
-
Handles events such as slider moves
- This class has no child classes.
Alphabetic index Hierarchy of classes
Back to front page
|
page generated with DOC++