torque Torque Game Engine Documentation
TGE Version 1.5.2

GuiDirectoryFileListCtrl Class Reference

#include <guiDirectoryFileListCtrl.h>

Inheritance diagram for GuiDirectoryFileListCtrl:

Inheritance graph
[legend]

Public Member Functions

 GuiDirectoryFileListCtrl ()
 DECLARE_CONOBJECT (GuiDirectoryFileListCtrl)
bool setCurrentPath (const char *path, const char *filter)
 Set the current path to grab files from.
void setCurrentFilter (const char *filter)
StringTableEntry getSelectedFileName ()
 Get the currently selected file's name.
virtual void onMouseDown (const GuiEvent &event)
bool onWake ()
 Called when this object is asked to wake up returns true if it's actually awake at the end.

Protected Member Functions

void openDirectory ()

Protected Attributes

StringTableEntry mFilePath
StringTableEntry mFilter

Private Types

typedef GuiListBoxCtrl Parent

Member Typedef Documentation

Reimplemented from GuiListBoxCtrl.


Constructor & Destructor Documentation

GuiDirectoryFileListCtrl::GuiDirectoryFileListCtrl (  ) 


Member Function Documentation

void GuiDirectoryFileListCtrl::openDirectory (  )  [protected]

GuiDirectoryFileListCtrl::DECLARE_CONOBJECT ( GuiDirectoryFileListCtrl   ) 

bool GuiDirectoryFileListCtrl::setCurrentPath ( const char *  path,
const char *  filter 
)

Set the current path to grab files from.

void GuiDirectoryFileListCtrl::setCurrentFilter ( const char *  filter  ) 

StringTableEntry GuiDirectoryFileListCtrl::getSelectedFileName (  ) 

Get the currently selected file's name.

virtual void GuiDirectoryFileListCtrl::onMouseDown ( const GuiEvent event  )  [virtual]

Reimplemented from GuiListBoxCtrl.

bool GuiDirectoryFileListCtrl::onWake (  )  [virtual]

Called when this object is asked to wake up returns true if it's actually awake at the end.

Reimplemented from GuiListBoxCtrl.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen