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

GUIFileManager Class Reference

#include <gui_file_manager.hxx>

Inheritance diagram for GUIFileManager:

Inheritance graph
[legend]
Collaboration diagram for GUIFileManager:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Mode { LOAD_MANAGER, SAVE_MANAGER }

Public Member Functions

 GUIFileManager (Mode m)
 ~GUIFileManager ()
void draw_overlay (GraphicContext *gc)
void open_directory (const std::string &pathname)
void directory_up ()
void update_current_directory ()
void scroll_up ()
void scroll_down ()

Static Public Member Functions

GUIFileManager * instance ()
void set_instance (GUIFileManager *g)

Member Enumeration Documentation

enum GUIFileManager::Mode
 

Enumeration values:
LOAD_MANAGER 
SAVE_MANAGER 

Definition at line 41 of file gui_file_manager.hxx.


Constructor & Destructor Documentation

GUIFileManager::GUIFileManager Mode    m
 

Definition at line 55 of file gui_file_manager.cxx.

References GUIChildManager::add(), and SAVE_MANAGER.

GUIFileManager::~GUIFileManager  
 

Definition at line 79 of file gui_file_manager.cxx.


Member Function Documentation

void GUIFileManager::directory_up  
 

move one directory up, aka cut the last directory from a directory pathname

Definition at line 113 of file gui_file_manager.cxx.

References GUIDirectory::get_path(), and open_directory().

Referenced by DirectoryUp().

void GUIFileManager::draw_overlay GraphicContext   gc [virtual]
 

Reimplemented from GUIChildManager.

Definition at line 142 of file gui_file_manager.cxx.

References GraphicContext::draw_string(), and GUIDirectory::get_path().

GUIFileManager* GUIFileManager::instance   [inline, static]
 

Definition at line 48 of file gui_file_manager.hxx.

Referenced by DirectoryUp(), GUIDirectoryButton::on_click(), ReReadCurrentDir(), ScrollDown(), and ScrollUp().

void GUIFileManager::open_directory const std::string &    pathname
 

Switch the GUIFileManagers view to the directory given by pathname

Definition at line 85 of file gui_file_manager.cxx.

References GUIChildManager::replace(), and SAVE_MANAGER.

Referenced by directory_up(), and GUIDirectoryButton::on_click().

void GUIFileManager::scroll_down   [virtual]
 

Reimplemented from GUIChildManager.

Definition at line 154 of file gui_file_manager.cxx.

References GUIDirectory::move_down().

Referenced by ScrollDown().

void GUIFileManager::scroll_up   [virtual]
 

Reimplemented from GUIChildManager.

Definition at line 148 of file gui_file_manager.cxx.

References GUIDirectory::move_up().

Referenced by ScrollUp().

void GUIFileManager::set_instance GUIFileManager *    g [inline, static]
 

Definition at line 49 of file gui_file_manager.hxx.

Referenced by SaveGUIManager::run_once(), and LoadGUIManager::run_once().

void GUIFileManager::update_current_directory  
 

Definition at line 160 of file gui_file_manager.cxx.

References GUIDirectory::get_path(), GUIChildManager::replace(), and SAVE_MANAGER.

Referenced by ReReadCurrentDir().


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