Pyro higlevel API
|
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 String & | GetString (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 |
CheckRow::CheckRow | ( | os::Messenger * | target = NULL | ) |
Reimplemented from os::ListViewRow.
References os::Rect::DoIntersect(), and Toggle().
bool CheckRow::IsChecked | ( | ) |
|
virtual |
Reimplemented from os::ListViewStringRow.
References os::Rect::bottom, os::View::DrawBitmap(), os::View::DrawLine(), os::View::DrawText(), os::View::FillRect(), os::Bitmap::GetBounds(), os::ListViewStringRow::GetString(), os::Rect::left, os::Rect::Resize(), os::Rect::right, os::View::SetBgColor(), os::View::SetFgColor(), and os::Rect::top.
void CheckRow::Toggle | ( | os::View * | pcView | ) |
References os::Message::AddBool(), os::Message::AddPointer(), os::View::Flush(), os::View::Invalidate(), os::M_CHECKROW_CHANGED, and os::Messenger::SendMessage().
Referenced by HitTest().