MGUI::FORM Class Reference

Interface class for graphical user interface controls and forms. More...

#include <mgui/form.h>

Inheritance diagram for MGUI::FORM:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~FORM ()=0
virtual bool IsCreated () const =0
virtual void SetEnabled (bool enabled=true)=0
void SetFocus () const
virtual void SetVisible (bool visible=true)=0

Private Member Functions

virtual void v_SetFocus () const

Detailed Description

Interface class for graphical user interface controls and forms.


Constructor & Destructor Documentation

virtual MGUI::FORM::~FORM (  )  [pure virtual]

Member Function Documentation

virtual bool MGUI::FORM::IsCreated (  )  const [pure virtual]

Determine if form has been created.

Returns:
true if created, false if not.

Implemented in MGUI::CTRL, MGUI::FORM_COMPOSITE, and RVC::UI::FORM_EDIT_STYLE.

virtual void MGUI::FORM::SetEnabled ( bool  enabled = true  )  [pure virtual]

Set whether mouse or keyboard input to form is allowed.

Implemented in MGUI::CTRL_COMBOBOX, MGUI::CTRL, MGUI::FORM_COMPOSITE, MGUI::FORM_CHECKLIST, and RVC::UI::FORM_EDIT_STYLE.

void MGUI::FORM::SetFocus (  )  const [inline]

Set focus to first interactive control in form.

If calling for a DLGSHELL should be done in v_OnOpen, cannot be done in v_CreateContent.

virtual void MGUI::FORM::SetVisible ( bool  visible = true  )  [pure virtual]

Set whether form is visible or not.

Implemented in MGUI::CTRL, MGUI::FORM_COMPOSITE, and MGUI::FORM_CHECKLIST.

virtual void MGUI::FORM::v_SetFocus (  )  const [private, virtual]

Set focus to first interactive control in form.

Default implementation does nothing.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:35:54 2012 for TNTsdk 2012 by  doxygen 1.6.1