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

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,
LOKI_TYPELIST_1(const
SelectionWidget *) > 
SelectionCallBack
 
- Public Attributes inherited from SelectionWidget
sigc::signal< void, const
SelectionWidget * > 
itemSelected
 
sigc::signal< void, const
SelectionWidget * > 
itemMarked
 

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 
)
inline

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 
)
inlineprotectedvirtual

Implements SelectionWidget.

Definition at line 72 of file fileselector.cpp.

ASCString FileWidget::getName ( ) const
inlinevirtual

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