Pyro higlevel API
Public Member Functions | List of all members
os::CheckRow Class Reference
Inheritance diagram for os::CheckRow:
os::ListViewStringRow os::ListViewRow

Public Member Functions

 CheckRow (os::Messenger *target=NULL)
 
void Paint (const Rect &cFrame, View *pcView, uint nColumn, bool bSelected, bool bHighlighted, bool bHasFocus)
 
bool HitTest (View *pcView, const Rect &cFrame, int nColumn, Point cPos)
 
void Toggle (os::View *pcView)
 
bool IsChecked ()
 
- Public Member Functions inherited from os::ListViewStringRow
 ListViewStringRow ()
 
virtual ~ListViewStringRow ()
 
void AttachToView (View *pcView, int nColumn)
 
void SetRect (const Rect &cRect, int nColumn)
 
void AppendString (const String &cString)
 
void SetString (int nIndex, const String &cString)
 
const StringGetString (int nIndex) const
 
virtual float GetWidth (View *pcView, int nColumn)
 
virtual float GetHeight (View *pcView)
 
virtual bool IsLessThan (const ListViewRow *pcOther, uint nColumn) const
 
- Public Member Functions inherited from os::ListViewRow
 ListViewRow ()
 
virtual ~ListViewRow ()
 
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
 

Constructor & Destructor Documentation

CheckRow::CheckRow ( os::Messenger target = NULL)

Member Function Documentation

bool CheckRow::HitTest ( View pcView,
const Rect cFrame,
int  nColumn,
Point  cPos 
)
virtual

Reimplemented from os::ListViewRow.

References os::Rect::DoIntersect(), and Toggle().

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