Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

GUIFileButton Class Reference

#include <gui_file_button.hxx>

Inheritance diagram for GUIFileButton:

Inheritance graph
[legend]
Collaboration diagram for GUIFileButton:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GUIFileButton (const std::string &arg_filename)
 ~GUIFileButton ()
virtual void on_click ()=0
void on_mouse_enter ()
void on_mouse_leave ()
void on_primary_button_press (int x, int y)
void on_primary_button_release (int x, int y)

Protected Attributes

std::string filename
bool mouse_over

Constructor & Destructor Documentation

GUIFileButton::GUIFileButton const std::string &    arg_filename
 

Definition at line 22 of file gui_file_button.cxx.

GUIFileButton::~GUIFileButton  
 

Definition at line 30 of file gui_file_button.cxx.


Member Function Documentation

virtual void GUIFileButton::on_click   [pure virtual]
 

Implemented in GUIDirectoryButton, GUINewFileButton, and WorldButton.

Referenced by on_primary_button_press().

void GUIFileButton::on_mouse_enter   [inline, virtual]
 

Reimplemented from GUIComponent.

Definition at line 40 of file gui_file_button.hxx.

void GUIFileButton::on_mouse_leave   [inline, virtual]
 

Reimplemented from GUIComponent.

Definition at line 41 of file gui_file_button.hxx.

void GUIFileButton::on_primary_button_press int    x,
int    y
[virtual]
 

Reimplemented from GUIComponent.

Definition at line 37 of file gui_file_button.cxx.

References on_click().

void GUIFileButton::on_primary_button_release int    x,
int    y
[virtual]
 

Reimplemented from GUIComponent.

Definition at line 44 of file gui_file_button.cxx.


Member Data Documentation

std::string GUIFileButton::filename [protected]
 

Definition at line 31 of file gui_file_button.hxx.

Referenced by WorldButton::load_world(), WorldButton::on_click(), and GUINewFileButton::on_click().

bool GUIFileButton::mouse_over [protected]
 

Definition at line 32 of file gui_file_button.hxx.


The documentation for this class was generated from the following files:
Generated on Thu Jul 24 10:25:18 2003 for Construo by doxygen1.3-rc3