Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

BackButton Class Reference

#include <BackButton.h>

Inheritance diagram for BackButton:

Button MenuItem List of all members.

Public Member Functions

 BackButton (const string &label, const string &name, Font *font)
Type getType ()

Detailed Description

A special button when pressed has the same affect as pressing the ESC key, going back to the parent menu (if any)

Definition at line 13 of file BackButton.h.


Constructor & Destructor Documentation

BackButton::BackButton const string &  label,
const string &  name,
Font font
 

Constructor that takes

label as the text to display to the user

name the save name of button (soon to be removed)

font the font to render the button with

Definition at line 6 of file BackButton.cpp.


Member Function Documentation

Type BackButton::getType  )  [inline, virtual]
 

Returns the Type of this control.

Reimplemented from Button.

Definition at line 25 of file BackButton.h.


The documentation for this class was generated from the following files:
Generated on Wed Sep 1 14:46:57 2004 by doxygen 1.3.7