SmallGuiButton Class Reference

#include <guiiconhandler.h>

List of all members.

Public Member Functions

 SmallGuiButton (PG_Widget *parent, const PG_Rect &r, GuiButton *guiButton, NewGuiHost *host)
void updateIcon ()
void press ()
void showInfoText ()
 ~SmallGuiButton ()

Protected Member Functions

void eventMouseEnter ()
void eventMouseLeave ()


Detailed Description

Definition at line 102 of file guiiconhandler.h.


Constructor & Destructor Documentation

SmallGuiButton::SmallGuiButton ( PG_Widget *  parent,
const PG_Rect &  r,
GuiButton guiButton,
NewGuiHost host 
)

Definition at line 129 of file guiiconhandler.cpp.

References NewGuiHost::clearSmallIcons(), GuiButton::exec(), IconRepository::getIcon(), and updateIcon().

SmallGuiButton::~SmallGuiButton (  ) 

Definition at line 184 of file guiiconhandler.cpp.


Member Function Documentation

void SmallGuiButton::eventMouseEnter (  )  [protected]

Definition at line 171 of file guiiconhandler.cpp.

References showInfoText().

void SmallGuiButton::eventMouseLeave (  )  [protected]

Definition at line 177 of file guiiconhandler.cpp.

void SmallGuiButton::updateIcon (  ) 

Definition at line 146 of file guiiconhandler.cpp.

References smallGuiIconSizeFactor.

Referenced by NewGuiHost::showSmallIcons(), and SmallGuiButton().

void SmallGuiButton::press (  ) 

Definition at line 158 of file guiiconhandler.cpp.

Referenced by NewGuiHost::showSmallIcons().

void SmallGuiButton::showInfoText (  ) 

Definition at line 164 of file guiiconhandler.cpp.

References GuiButton::func, GuiFunction::getName(), GuiButton::id, GuiButton::pos, and GuiButton::subject.

Referenced by eventMouseEnter(), and NewGuiHost::showSmallIcons().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:29 2012 for Advanced Strategic Command by  doxygen 1.5.1