Inheritance diagram for ControlEntryGump:
Public Member Functions | |
ENABLE_RUNTIME_CLASSTYPE () | |
ControlEntryGump (int x, int y, int width, char *binding, char *name) | |
virtual | ~ControlEntryGump (void) |
virtual void | InitGump (Gump *newparent, bool take_focus=true) |
virtual void | ChildNotify (Gump *child, uint32 message) |
void | init () |
Protected Attributes | |
Pentagram::istring | bindingName |
std::string | displayedName |
Gump * | button |
Definition at line 35 of file ControlsGump.cpp.
ControlEntryGump::ControlEntryGump | ( | int | x, | |
int | y, | |||
int | width, | |||
char * | binding, | |||
char * | name | |||
) |
Definition at line 52 of file ControlsGump.cpp.
ControlEntryGump::~ControlEntryGump | ( | void | ) | [virtual] |
Definition at line 57 of file ControlsGump.cpp.
This function is used by our children to notifty us of 'something' Think of it as a generic call back function
Reimplemented from Gump.
Definition at line 103 of file ControlsGump.cpp.
References bindingName, button, ButtonWidget::BUTTON_CLICK, Gump::CENTER, Gump::ChildNotify(), Object::getObjId(), Gump::parent, and BindGump::UPDATE.
ControlEntryGump::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Gump.
void ControlEntryGump::init | ( | ) |
Definition at line 68 of file ControlsGump.cpp.
References button, Gump::children, Gump::dims, displayedName, font, HIDManager::get_instance(), Gump::GetDims(), Pentagram::Rect::h, and Gump::InitGump().
Referenced by InitGump().
void ControlEntryGump::InitGump | ( | Gump * | newparent, | |
bool | take_focus = true | |||
) | [virtual] |
Init the gump and add it to parent; call after construction When newparent is 0, this will call GUIApp::addGump().
newparent | The Gump's new parent or 0. | |
takefocus | If true, set parent's focus_child to this |
Reimplemented from Gump.
Definition at line 61 of file ControlsGump.cpp.
References init(), and Gump::InitGump().
Pentagram::istring ControlEntryGump::bindingName [protected] |
Gump* ControlEntryGump::button [protected] |
std::string ControlEntryGump::displayedName [protected] |