Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
FileWidget Class Reference
Inheritance diagram for FileWidget:
Inheritance graph

Public Member Functions

 FileWidget (PG_Widget *parent, const PG_Point &pos, int width, const FileInfo *fi)
ASCString getName () const
- Public Member Functions inherited from SelectionWidget
void setSelectionCallback (SelectionCallBack *callBack)
virtual ~SelectionWidget ()
virtual int gap ()

Protected Member Functions

void display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)
- Protected Member Functions inherited from SelectionWidget
 SelectionWidget (PG_Widget *parent, const PG_Rect &rect)
bool eventMouseButtonUp (const SDL_MouseButtonEvent *button)
bool eventMouseButtonDown (const SDL_MouseButtonEvent *button)
void eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)

Additional Inherited Members

- Public Types inherited from SelectionWidget
typedef Loki::Functor< bool,
SelectionWidget *) > 
- Public Attributes inherited from SelectionWidget
sigc::signal< void, const
SelectionWidget * > 
sigc::signal< void, const
SelectionWidget * > 

Detailed Description

Definition at line 33 of file fileselector.cpp.

Constructor & Destructor Documentation

FileWidget::FileWidget ( PG_Widget *  parent,
const PG_Point &  pos,
int  width,
const FileInfo fi 

Definition at line 38 of file fileselector.cpp.

References FileInfo::location, FileInfo::modificationTime, and FileInfo::name.

Member Function Documentation

void FileWidget::display ( SDL_Surface *  surface,
const PG_Rect &  src,
const PG_Rect &  dst 

Implements SelectionWidget.

Definition at line 72 of file fileselector.cpp.

ASCString FileWidget::getName ( ) const

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