ui::LightDialog Class Reference
#include <LightDialog.h>
Detailed Description
Modal dialog for selecting the light intensity and color
Definition at line 17 of file LightDialog.h.
Constructor & Destructor Documentation
ui::LightDialog::LightDialog |
( |
|
) |
|
Constructor creates widgets.
ui::LightDialog::~LightDialog |
( |
|
) |
|
Destroys the created widgets.
Member Function Documentation
GtkWidget* ui::LightDialog::createButtons |
( |
|
) |
[private] |
GtkWidget* ui::LightDialog::createColorSelector |
( |
|
) |
[private] |
GtkWidget* ui::LightDialog::createIntensity |
( |
|
) |
[private] |
Vector3 ui::LightDialog::getColor |
( |
|
) |
|
- Returns:
- The selected color as RGB. This is only set if the dialog was closed with a click to the ok button, and not if you close it or hit the cancel button
- Returns:
- The intensity for the light. This is only set if the dialog was closed with a click to the ok button, and not if you close it or hit the cancel button
Vector3 ui::LightDialog::getNormalizedColor |
( |
|
) |
[private] |
bool ui::LightDialog::isAborted |
( |
|
) |
|
- Returns:
- true if the dialog was aborted by hitting the cancel button
void ui::LightDialog::show |
( |
|
) |
|
Field Documentation
The documentation for this class was generated from the following file: