Pyro higlevel API
|
Public Member Functions | |
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 String & | GetString (int nIndex) const |
virtual float | GetWidth (View *pcView, int nColumn) |
virtual float | GetHeight (View *pcView) |
virtual void | Paint (const Rect &cFrame, View *pcView, uint nColumn, bool bSelected, bool bHighlighted, bool bHasFocus) |
virtual bool | IsLessThan (const ListViewRow *pcOther, uint nColumn) const |
Public Member Functions inherited from os::ListViewRow | |
ListViewRow () | |
virtual | ~ListViewRow () |
virtual bool | HitTest (View *pcView, const Rect &cFrame, int nColumn, Point cPos) |
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 |
|
inline |
|
inlinevirtual |
void ListViewStringRow::AppendString | ( | const String & | cString | ) |
|
virtual |
Implements os::ListViewRow.
References os::View::GetStringWidth().
|
virtual |
Implements os::ListViewRow.
References os::font_height::ascender, os::font_height::descender, and os::View::GetFontHeight().
const String & ListViewStringRow::GetString | ( | int | nIndex | ) | const |
Referenced by os::CheckRow::Paint().
|
virtual |
Implements os::ListViewRow.
|
virtual |
Implements os::ListViewRow.
|
virtual |
Implements os::ListViewRow.
Reimplemented in os::CheckRow.
References os::font_height::ascender, os::Rect::bottom, os::font_height::descender, os::View::DrawLine(), os::View::DrawString(), os::View::FillRect(), os::View::GetFontHeight(), os::Rect::Height(), os::Rect::left, os::View::MovePenTo(), os::Rect::right, os::View::SetBgColor(), os::View::SetFgColor(), and os::Rect::top.
|
virtual |
Implements os::ListViewRow.
void ListViewStringRow::SetString | ( | int | nIndex, |
const String & | cString | ||
) |