#include <DemoEventHandler.h>
Public Member Functions | |
DemoEventHandler () | |
void | actionPerformed (GUIEvent &evt) |
Public Attributes | |
double | red |
double | green |
double | blue |
Definition at line 8 of file DemoEventHandler.h.
DemoEventHandler::DemoEventHandler | ( | ) |
Definition at line 4 of file DemoEventHandler.cpp.
void DemoEventHandler::actionPerformed | ( | GUIEvent & | evt | ) | [virtual] |
Implements GUIEventListener.
Definition at line 6 of file DemoEventHandler.cpp.
References blue, GUIEvent::getCallbackString(), GUIEvent::getEventSource(), GUIRectangle::getParent(), GUISlider::getProgress(), GUIComboBox::getSelectedItem(), GUIRectangle::getWidgetType(), green, GUICheckBox::isChecked(), GUIRectangle::isClicked(), GUIRectangle::isPressed(), red, GUIAlphaElement::setLabelString(), GUIRectangle::setVisible(), WT_BUTTON, WT_CHECK_BOX, WT_COMBO_BOX, WT_RADIO_BUTTON, and WT_SLIDER.
double DemoEventHandler::red |
Definition at line 13 of file DemoEventHandler.h.
Referenced by actionPerformed(), main(), MyCallback(), and RenderScene().
double DemoEventHandler::green |
Definition at line 14 of file DemoEventHandler.h.
Referenced by actionPerformed(), main(), MyCallback(), and RenderScene().
double DemoEventHandler::blue |
Definition at line 15 of file DemoEventHandler.h.
Referenced by actionPerformed(), main(), MyCallback(), and RenderScene().