Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ColorPickDialog Class Reference

Dialog for color selection. More...

#include <stdDialog.h>

Inherits Dialog.

Inheritance diagram for ColorPickDialog:

Inheritance graph
[legend]
Collaboration diagram for ColorPickDialog:

Collaboration graph
[legend]
List of all members.

Public Methods

 ColorPickDialog (const string &t, int id)
 Default constructor. More...

void setColor (const Color3 &color)
 Set the selected color.

void setColor (const Color4 &color)
 Set the selected color.

const Color4getColor ()
 Returns the currently selected color.


Protected Attributes

ColorPickcp
 ColorPick widget.


Detailed Description

Dialog for color selection.

See also:
ColorPick.
Events:


Constructor & Destructor Documentation

ColorPickDialog::ColorPickDialog const string &    t,
int    id
 

Default constructor.

Constructs a new ColorPickDialog with title string and id 'i'. The id must be unique in the current scope. Creates a child ColorPick instance.

Parameters:
t  dialog title.
id  int to be used as id.
Postcondition:
ColorPickDialog is initialized.


The documentation for this class was generated from the following files:
This documentation was generated using doxygen. If you have any comments or additions please mail me.