Pyro higlevel API
|
TreeView node containing strings. More...
Classes | |
class | Private |
Public Member Functions | |
TreeViewStringNode () | |
virtual | ~TreeViewStringNode () |
void | AttachToView (View *pcView, int nColumn) |
void | SetRect (const Rect &cRect, int nColumn) |
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 |
void | AppendString (const String &cString) |
void | SetString (int nIndex, const String &cString) |
const String & | GetString (int nIndex) const |
void | SetIcon (Image *pcIcon) |
Image * | GetIcon () const |
uint32 | GetTextFlags () const |
void | SetTextFlags (uint32 nTextFlags) const |
Public Member Functions inherited from os::TreeViewNode | |
TreeViewNode () | |
virtual | ~TreeViewNode () |
virtual bool | HitTest (View *pcView, const Rect &cFrame, int nColumn, Point cPos) |
void | SetIndent (uint nIndent) |
Set indentation depth. More... | |
uint | GetIndent () const |
Get indentation depth. More... | |
void | SetExpanded (bool bExpanded) |
Set expanded state. More... | |
bool | IsExpanded () const |
Get expanded state. More... | |
TreeView * | GetOwner () const |
Get owner. More... | |
bool | IsLastSibling () const |
Check if node has more siblings. More... | |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from os::TreeViewNode | |
void | _DrawExpanderCross (View *pcView, const Rect &cRect) |
Draw expander cross. More... | |
Rect | _ExpanderCrossPos (const Rect &cFrame) const |
Get expander position. More... | |
void | _SetOwner (TreeView *pcOwner) |
Set owner. More... | |
void | _SetLinePositions (uint32 nLPos) |
Set line positions. More... | |
uint32 | _GetLinePositions () const |
Get line positions. More... | |
void | _SetLastSibling (bool bIsLast) |
Set LastSibling. More... | |
TreeViewStringNode::TreeViewStringNode | ( | ) |
|
virtual |
void TreeViewStringNode::AppendString | ( | const String & | cString | ) |
References os::TreeViewStringNode::Private::m_cStrings.
Referenced by HandlerSelector::HandlerSelector(), InfoWin::InfoWin(), MountDialogScanner::Run(), and MountDialogScanner::ScanPath().
|
virtual |
Implements os::TreeViewNode.
References GetIcon(), os::Image::GetSize(), os::View::GetTextExtent(), os::TreeViewStringNode::Private::m_cStrings, and os::Point::x.
|
virtual |
Implements os::TreeViewNode.
References GetIcon(), os::Image::GetSize(), os::View::GetTextExtent(), os::TreeViewStringNode::Private::m_cStrings, os::TreeViewStringNode::Private::m_nTextFlags, and os::Point::y.
Referenced by InfoWin::InfoWin().
Image * TreeViewStringNode::GetIcon | ( | ) | const |
References os::TreeViewStringNode::Private::m_pcIcon.
Referenced by AttachToView(), GetHeight(), os::TreeViewCheckNode::Paint(), and Paint().
const String & TreeViewStringNode::GetString | ( | int | nIndex | ) | const |
References os::TreeViewStringNode::Private::m_cStrings.
Referenced by MountDialogWin::HandleMessage(), IsLessThan(), and os::TreeViewCheckNode::Paint().
uint32 TreeViewStringNode::GetTextFlags | ( | ) | const |
References os::TreeViewStringNode::Private::m_nTextFlags.
Referenced by os::TreeViewCheckNode::Paint().
|
virtual |
Implements os::TreeViewNode.
References os::TreeViewStringNode::Private::m_cStrings.
|
virtual |
Implements os::TreeViewNode.
References GetString().
|
virtual |
Implements os::TreeViewNode.
Reimplemented in os::TreeViewCheckNode.
References os::TreeViewNode::_DrawExpanderCross(), os::TreeViewNode::_ExpanderCrossPos(), os::TreeViewNode::_GetLinePositions(), os::Rect::bottom, DM_BLEND, DM_COPY, os::Image::Draw(), os::View::DrawLine(), os::View::DrawText(), os::View::FillRect(), os::TreeView::GetDrawTrunk(), GetIcon(), os::TreeViewNode::GetIndent(), os::TreeView::GetIndentWidth(), os::TreeViewNode::GetOwner(), os::Image::GetSize(), os::View::GetTextExtent(), os::TreeView::HasChildren(), os::Rect::Height(), os::TreeViewNode::IsExpanded(), os::TreeViewNode::IsLastSibling(), os::Rect::left, os::TreeViewStringNode::Private::m_cStrings, os::TreeViewStringNode::Private::m_nTextFlags, os::Rect::right, os::View::SetBgColor(), os::View::SetDrawingMode(), os::View::SetFgColor(), os::Rect::top, os::Point::x, and os::Point::y.
void TreeViewStringNode::SetIcon | ( | Image * | pcIcon | ) |
References os::TreeViewStringNode::Private::m_pcIcon.
Referenced by HandlerSelector::HandlerSelector(), and MountDialogScanner::ScanPath().
|
virtual |
Implements os::TreeViewNode.
void TreeViewStringNode::SetString | ( | int | nIndex, |
const String & | cString | ||
) |
References os::TreeViewStringNode::Private::m_cStrings.
void TreeViewStringNode::SetTextFlags | ( | uint32 | nTextFlags | ) | const |
References os::TreeViewStringNode::Private::m_nTextFlags.