TipDialog Class Reference

#include <TipDialog.h>

Inheritance diagram for TipDialog:

GLWWindow GLWButtonI GLWPanel GLWidget MetaClass

List of all members.

Public Member Functions

virtual void buttonDown (unsigned int id)
virtual void display ()

Static Public Member Functions

static TipDialoginstance ()

Protected Attributes

unsigned int okId_
unsigned int cancelId_

Static Protected Attributes

static TipDialoginstance_ = 0

Private Member Functions

 TipDialog ()
virtual ~TipDialog ()

Detailed Description

Definition at line 28 of file TipDialog.h.

Constructor & Destructor Documentation

TipDialog::TipDialog (  )  [private]

Definition at line 37 of file TipDialog.cpp.

References GLWPanel::addWidget(), GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, GLWidget::getId(), GLWPanel::GLWPanel(), helpBox_, infoBox_, LANG_RESOURCE, GLWPanel::layout(), GLWPanel::LayoutHorizontal, GLWPanel::LayoutVerticle, GLWWindow::needCentered_, okId_, GLWPanel::setLayout(), GLWPanel::SpaceAll, GLWPanel::SpaceLeft, GLWPanel::SpaceRight, and GLWPanel::SpaceTop.

TipDialog::~TipDialog (  )  [private, virtual]

Definition at line 64 of file TipDialog.cpp.

Member Function Documentation

TipDialog * TipDialog::instance (  )  [static]

Definition at line 28 of file TipDialog.cpp.

References instance_.

Referenced by ClientWindowSetup::addCommonComponents().

void TipDialog::buttonDown ( unsigned int  id  )  [virtual]

Implements GLWButtonI.

Definition at line 78 of file TipDialog.cpp.

References GLWCheckBoxText::getCheckBox(), GLWidget::getId(), OptionsDisplay::getShowContextHelpEntry(), OptionsDisplay::getShowContextInfoEntry(), GLWCheckBox::getState(), helpBox_, GLWWindowManager::hideWindow(), infoBox_, GLWWindowManager::instance(), OptionsDisplay::instance(), okId_, and OptionEntryBool::setValue().

void TipDialog::display (  )  [virtual]

Reimplemented from GLWPanel.

Definition at line 68 of file TipDialog.cpp.

References GLWPanel::display(), GLWCheckBoxText::getCheckBox(), helpBox_, infoBox_, OptionsDisplay::instance(), and GLWCheckBox::setState().

Member Data Documentation

TipDialog * TipDialog::instance_ = 0 [static, protected]

Definition at line 42 of file TipDialog.h.

Referenced by instance().

unsigned int TipDialog::okId_ [protected]

Definition at line 43 of file TipDialog.h.

Referenced by buttonDown(), and TipDialog().

unsigned int TipDialog::cancelId_ [protected]

Definition at line 43 of file TipDialog.h.

Referenced by TipDialog().

GLWCheckBoxText* TipDialog::helpBox_ [protected]

Definition at line 44 of file TipDialog.h.

Referenced by buttonDown(), display(), and TipDialog().

GLWCheckBoxText* TipDialog::infoBox_ [protected]

Definition at line 45 of file TipDialog.h.

Referenced by buttonDown(), display(), and TipDialog().

The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:08 2009 for Scorched3D by  doxygen 1.5.3