VCF::CommonColorDialog Class Reference
The CommonColorDialog is used to present a standard dialog for selcting a color. More...
#include <vcf/ApplicationKit/CommonColorDialog.h>
Inheritance diagram for VCF::CommonColorDialog:

Public Member Functions | |
| CommonColorDialog (Control *owner=NULL) | |
| Creates a color dialog. | |
| virtual | ~CommonColorDialog () |
| virtual bool | execute () |
| "executes" the dialog - this will cause the dialog to be displayed. | |
| Color * | getSelectedColor () |
| Returns the color the user selected. | |
| void | setSelectedColor (Color *selectedColor) |
| Sets the selected color. | |
Detailed Description
The CommonColorDialog is used to present a standard dialog for selcting a color.This uses the windowing platform's standard color dialog.
Constructor & Destructor Documentation
|
|
Creates a color dialog. If the owner is NULL then the dialog is non modal. If the owner is not NULL then the dialog is modal relative to the control that started it. For most cases you do not want to pass in a NULL owner. |
|
|
|
Member Function Documentation
|
|
"executes" the dialog - this will cause the dialog to be displayed.
Implements VCF::CommonDialog. |
|
|
Returns the color the user selected.
|
|
|
Sets the selected color. This is generally called before the dialog is displayed with the execute() function. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/CommonColorDialog.h
