Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
SmallGuiButton Class Reference

#include <guiiconhandler.h>

Inheritance diagram for SmallGuiButton:
Inheritance graph
[legend]

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 
)
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::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 GuiFunction::getName().

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

void SmallGuiButton::updateIcon ( )

Definition at line 146 of file guiiconhandler.cpp.

References smallGuiIconSizeFactor.

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


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