ControlEntryGump Class Reference

Inheritance diagram for ControlEntryGump:

Gump Object List of all members.

Public Member Functions

 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

Detailed Description

Definition at line 35 of file ControlsGump.cpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

void ControlEntryGump::ChildNotify ( Gump child,
uint32  message 
) [virtual]

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.


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().

Member Data Documentation

Pentagram::istring ControlEntryGump::bindingName [protected]

Definition at line 45 of file ControlsGump.cpp.

Referenced by ChildNotify().

Gump* ControlEntryGump::button [protected]

Definition at line 47 of file ControlsGump.cpp.

Referenced by ChildNotify(), and init().

std::string ControlEntryGump::displayedName [protected]

Definition at line 46 of file ControlsGump.cpp.

Referenced by init().

The documentation for this class was generated from the following file:
Generated on Fri Jul 27 22:28:56 2007 for pentagram by  doxygen 1.4.7