Pyro higlevel API
Public Member Functions | Friends | List of all members
os::FileRow Class Reference

Directory browser control. More...

Inheritance diagram for os::FileRow:
os::ListViewRow

Public Member Functions

 FileRow (Bitmap *pcBitmap, const String &cName, const struct stat &sStat)
 
virtual void AttachToView (View *pcView, int nColumn)
 
virtual void SetRect (const Rect &cRect, int nColumn)
 
virtual float GetWidth (View *pcView, int nIndex) const
 
virtual float GetHeight (View *pcView) const
 
virtual void Paint (const Rect &cFrame, View *pcView, uint nColumn, bool bSelected, bool bHighlighted, bool bHasFocus)
 
virtual bool HitTest (View *pcView, const Rect &cFrame, int nColumn, Point cPos)
 
virtual bool IsLessThan (const ListViewRow *pcOther, uint nColumn) const
 
const String GetName () const
 
struct stat GetFileStat () const
 
- Public Member Functions inherited from os::ListViewRow
 ListViewRow ()
 
virtual ~ListViewRow ()
 
virtual float GetWidth (View *pcView, int nColumn)=0
 
virtual float GetHeight (View *pcView)=0
 
virtual void SetCookie (Variant cCookie)
 
virtual Variant GetCookie (void)
 
void SetIsSelectable (bool bSelectable)
 
bool IsSelectable () const
 
bool IsSelected () const
 
bool IsHighlighted () const
 
void SetIsVisible (bool bVisible)
 
bool IsVisible () const
 

Friends

class DirectoryView
 

Detailed Description

Description:
See Also
Author
Kurt Skauen (kurt@.nosp@m.athe.nosp@m.os.cx)

Constructor & Destructor Documentation

os::FileRow::FileRow ( Bitmap pcBitmap,
const String cName,
const struct stat &  sStat 
)
inline

Member Function Documentation

virtual void os::FileRow::AttachToView ( View pcView,
int  nColumn 
)
virtual

Implements os::ListViewRow.

struct stat os::FileRow::GetFileStat ( ) const
inlineread
virtual float os::FileRow::GetHeight ( View pcView) const
virtual
const String os::FileRow::GetName ( ) const
inline
virtual float os::FileRow::GetWidth ( View pcView,
int  nIndex 
) const
virtual
virtual bool os::FileRow::HitTest ( View pcView,
const Rect cFrame,
int  nColumn,
Point  cPos 
)
virtual

Reimplemented from os::ListViewRow.

virtual bool os::FileRow::IsLessThan ( const ListViewRow pcOther,
uint  nColumn 
) const
virtual

Implements os::ListViewRow.

virtual void os::FileRow::Paint ( const Rect cFrame,
View pcView,
uint  nColumn,
bool  bSelected,
bool  bHighlighted,
bool  bHasFocus 
)
virtual

Implements os::ListViewRow.

virtual void os::FileRow::SetRect ( const Rect cRect,
int  nColumn 
)
virtual

Implements os::ListViewRow.

Friends And Related Function Documentation

friend class DirectoryView
friend