Hugintrunk
0.1
|
Public Member Functions | |
wxTreeListMainWindow () | |
wxTreeListMainWindow (wxTreeListCtrl *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_DEFAULT_STYLE, const wxValidator &validator=wxDefaultValidator, const wxString &name=_T("wxtreelistmainwindow")) | |
virtual | ~wxTreeListMainWindow () |
bool | Create (wxTreeListCtrl *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_DEFAULT_STYLE, const wxValidator &validator=wxDefaultValidator, const wxString &name=_T("wxtreelistctrl")) |
bool | IsVirtual () const |
size_t | GetCount () const |
unsigned int | GetIndent () const |
void | SetIndent (unsigned int indent) |
unsigned int | GetLineSpacing () const |
void | SetLineSpacing (unsigned int spacing) |
wxImageList * | GetImageList () const |
wxImageList * | GetStateImageList () const |
wxImageList * | GetButtonsImageList () const |
void | SetImageList (wxImageList *imageList) |
void | SetStateImageList (wxImageList *imageList) |
void | SetButtonsImageList (wxImageList *imageList) |
void | AssignImageList (wxImageList *imageList) |
void | AssignStateImageList (wxImageList *imageList) |
void | AssignButtonsImageList (wxImageList *imageList) |
void | SetToolTip (const wxString &tip) |
void | SetToolTip (wxToolTip *tip) |
void | SetItemToolTip (const wxTreeItemId &item, const wxString &tip) |
wxString | GetItemText (const wxTreeItemId &item, int column) const |
wxString | GetItemText (wxTreeItemData *item, int column) const |
int | GetItemImage (const wxTreeItemId &item, wxTreeItemIcon which=wxTreeItemIcon_Normal) const |
int | GetItemImage (const wxTreeItemId &item, int column, wxTreeItemIcon which=wxTreeItemIcon_Normal) const |
wxTreeItemData * | GetItemData (const wxTreeItemId &item) const |
wxTreeItemData * | GetItemData (const wxTreeItemId &item, int column) const |
bool | GetItemBold (const wxTreeItemId &item) const |
bool | GetItemBold (const wxTreeItemId &item, int column) const |
wxColour | GetItemTextColour (const wxTreeItemId &item) const |
wxColour | GetItemTextColour (const wxTreeItemId &item, int column) const |
wxColour | GetItemBackgroundColour (const wxTreeItemId &item) const |
wxColour | GetItemBackgroundColour (const wxTreeItemId &item, int column) const |
wxFont | GetItemFont (const wxTreeItemId &item) const |
wxFont | GetItemFont (const wxTreeItemId &item, int column) const |
void | SetItemHasChildren (const wxTreeItemId &item, bool has=true) |
void | SetItemText (const wxTreeItemId &item, int column, const wxString &text) |
void | SetItemImage (const wxTreeItemId &item, int image, wxTreeItemIcon which=wxTreeItemIcon_Normal) |
void | SetItemImage (const wxTreeItemId &item, int column, int image, wxTreeItemIcon which=wxTreeItemIcon_Normal) |
void | SetItemData (const wxTreeItemId &item, wxTreeItemData *data) |
void | SetItemData (const wxTreeItemId &item, int column, wxTreeItemData *data) |
void | SetItemBold (const wxTreeItemId &item, bool bold=true) |
void | SetItemBold (const wxTreeItemId &item, int column, bool bold=true) |
void | SetItemTextColour (const wxTreeItemId &item, const wxColour &colour) |
void | SetItemTextColour (const wxTreeItemId &item, int column, const wxColour &colour) |
void | SetItemBackgroundColour (const wxTreeItemId &item, const wxColour &colour) |
void | SetItemBackgroundColour (const wxTreeItemId &item, int column, const wxColour &colour) |
void | SetItemFont (const wxTreeItemId &item, const wxFont &font) |
void | SetItemFont (const wxTreeItemId &item, int column, const wxFont &font) |
bool | IsVisible (const wxTreeItemId &item, bool fullRow, bool within=true) const |
bool | HasChildren (const wxTreeItemId &item) const |
bool | IsExpanded (const wxTreeItemId &item) const |
bool | IsSelected (const wxTreeItemId &item) const |
bool | IsBold (const wxTreeItemId &item) const |
bool | IsBold (const wxTreeItemId &item, int column) const |
virtual bool | SetFont (const wxFont &font) |
void | SetWindowStyle (const long styles) |
size_t | GetChildrenCount (const wxTreeItemId &item, bool recursively=true) |
wxTreeItemId | GetRootItem () const |
wxTreeItemId | GetSelection () const |
size_t | GetSelections (wxArrayTreeItemIds &) const |
wxTreeItemId | GetItemParent (const wxTreeItemId &item) const |
wxTreeItemId | GetFirstChild (const wxTreeItemId &item, wxTreeItemIdValue &cookie) const |
wxTreeItemId | GetNextChild (const wxTreeItemId &item, wxTreeItemIdValue &cookie) const |
wxTreeItemId | GetPrevChild (const wxTreeItemId &item, wxTreeItemIdValue &cookie) const |
wxTreeItemId | GetLastChild (const wxTreeItemId &item, wxTreeItemIdValue &cookie) const |
wxTreeItemId | GetNextSibling (const wxTreeItemId &item) const |
wxTreeItemId | GetPrevSibling (const wxTreeItemId &item) const |
wxTreeItemId | GetNext (const wxTreeItemId &item, bool fulltree=true) const |
wxTreeItemId | GetPrev (const wxTreeItemId &item, bool fulltree=true) const |
wxTreeItemId | GetFirstExpandedItem () const |
wxTreeItemId | GetNextExpanded (const wxTreeItemId &item) const |
wxTreeItemId | GetPrevExpanded (const wxTreeItemId &item) const |
wxTreeItemId | GetFirstVisible (bool fullRow, bool within) const |
wxTreeItemId | GetNextVisible (const wxTreeItemId &item, bool fullRow, bool within) const |
wxTreeItemId | GetPrevVisible (const wxTreeItemId &item, bool fullRow, bool within) const |
wxTreeItemId | GetLastVisible (bool fullRow, bool within) const |
wxTreeItemId | AddRoot (const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL) |
wxTreeItemId | PrependItem (const wxTreeItemId &parent, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL) |
wxTreeItemId | InsertItem (const wxTreeItemId &parent, const wxTreeItemId &idPrevious, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL) |
wxTreeItemId | InsertItem (const wxTreeItemId &parent, size_t index, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL) |
wxTreeItemId | AppendItem (const wxTreeItemId &parent, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL) |
void | Delete (const wxTreeItemId &item) |
void | DeleteChildren (const wxTreeItemId &item) |
void | DeleteRoot () |
void | SetItemParent (const wxTreeItemId &parent, const wxTreeItemId &item) |
void | Expand (const wxTreeItemId &item) |
void | ExpandAll (const wxTreeItemId &item) |
void | Collapse (const wxTreeItemId &item) |
void | CollapseAndReset (const wxTreeItemId &item) |
void | Toggle (const wxTreeItemId &item) |
void | SetCurrentItem (const wxTreeItemId &item) |
void | Unselect () |
void | UnselectAll () |
bool | SelectItem (const wxTreeItemId &item, const wxTreeItemId &prev=(wxTreeItemId *) NULL, bool unselect_others=true) |
void | SelectAll () |
void | EnsureVisible (const wxTreeItemId &item) |
void | ScrollTo (const wxTreeItemId &item) |
void | AdjustMyScrollbars () |
wxTreeItemId | HitTest (const wxPoint &point) |
wxTreeItemId | HitTest (const wxPoint &point, int &flags) |
wxTreeItemId | HitTest (const wxPoint &point, int &flags, int &column) |
bool | GetBoundingRect (const wxTreeItemId &item, wxRect &rect, bool textOnly=false) const |
void | EditLabel (const wxTreeItemId &item, int column) |
void | EndEdit (bool isCancelled) |
virtual int | OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2) |
void | SortChildren (const wxTreeItemId &item, int column, bool reverseOrder) |
bool | MatchItemText (const wxString &itemText, const wxString &pattern, int mode) |
wxTreeItemId | FindItem (const wxTreeItemId &item, int column, const wxString &str, int mode=0) |
virtual bool | SetBackgroundColour (const wxColour &colour) |
virtual bool | SetForegroundColour (const wxColour &colour) |
void | SetDragItem (const wxTreeItemId &item=(wxTreeItemId *) NULL) |
void | OnPaint (wxPaintEvent &event) |
void | OnEraseBackground (wxEraseEvent &WXUNUSED(event)) |
void | OnSetFocus (wxFocusEvent &event) |
void | OnKillFocus (wxFocusEvent &event) |
void | OnChar (wxKeyEvent &event) |
void | OnMouse (wxMouseEvent &event) |
void | OnIdle (wxIdleEvent &event) |
void | OnScroll (wxScrollWinEvent &event) |
void | OnCaptureLost (wxMouseCaptureLostEvent &WXUNUSED(event)) |
int | GetColumnCount () const |
void | SetMainColumn (int column) |
int | GetMainColumn () const |
int | GetCurrentColumn () const |
int | GetBestColumnWidth (int column, wxTreeItemId parent=wxTreeItemId()) |
int | GetItemWidth (int column, wxTreeListItem *item) |
void | SetFocus () |
Public Attributes | |
bool | m_dirty |
Protected Member Functions | |
void | Init () |
wxTreeItemId | DoInsertItem (const wxTreeItemId &parent, size_t previous, const wxString &text, int image, int selectedImage, wxTreeItemData *data) |
void | DoDeleteItem (wxTreeListItem *item) |
void | SetCurrentItem (wxTreeListItem *item) |
bool | HasButtons (void) const |
void | CalculateLineHeight () |
int | GetLineHeight (wxTreeListItem *item) const |
void | PaintLevel (wxTreeListItem *item, wxDC &dc, int level, int &y, int x_maincol) |
void | PaintItem (wxTreeListItem *item, wxDC &dc) |
void | CalculateLevel (wxTreeListItem *item, wxDC &dc, int level, int &y, int x_maincol) |
void | CalculatePositions () |
void | CalculateSize (wxTreeListItem *item, wxDC &dc) |
void | RefreshSubtree (wxTreeListItem *item) |
void | RefreshLine (wxTreeListItem *item) |
void | RefreshSelected () |
void | RefreshSelectedUnder (wxTreeListItem *item) |
void | OnRenameTimer () |
void | OnRenameAccept (bool isCancelled) |
void | FillArray (wxTreeListItem *, wxArrayTreeItemIds &) const |
bool | TagAllChildrenUntilLast (wxTreeListItem *crt_item, wxTreeListItem *last_item) |
bool | TagNextChildren (wxTreeListItem *crt_item, wxTreeListItem *last_item) |
void | UnselectAllChildren (wxTreeListItem *item) |
bool | SendEvent (wxEventType event_type, wxTreeListItem *item=NULL, wxTreeEvent *event=NULL) |
Friends | |
class | wxTreeListItem |
class | wxTreeListRenameTimer |
class | wxEditTextCtrl |
Definition at line 253 of file treelistctrl.cpp.
|
inline |
Definition at line 262 of file treelistctrl.cpp.
References wxcode::wxTreeListHeaderWindow::Init().
|
inline |
Definition at line 264 of file treelistctrl.cpp.
References wxcode::wxTreeListHeaderWindow::Init().
|
virtual |
Definition at line 1947 of file treelistctrl.cpp.
References DeleteRoot(), m_editControl, m_editTimer, m_findTimer, m_hilightBrush, m_hilightUnfocusedBrush, m_imageListButtons, m_imageListNormal, m_imageListState, and wxcode::wxEditTextCtrl::SetOwner().
wxTreeItemId wxcode::wxTreeListMainWindow::AddRoot | ( | const wxString & | text, |
int | image = -1 , |
||
int | selectedImage = -1 , |
||
wxTreeItemData * | data = NULL |
||
) |
Definition at line 2467 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Expand(), GetColumnCount(), GetFirstChild(), m_main_column, m_rootItem, SetCurrentItem(), wxcode::wxTreeListItem::SetHasPlus(), and wxTreeListItem.
Referenced by wxcode::wxTreeListCtrl::AddRoot().
void wxcode::wxTreeListMainWindow::AdjustMyScrollbars | ( | ) |
Definition at line 3166 of file treelistctrl.cpp.
References wxcode::wxTreeListCtrl::GetHeaderWindow(), wxcode::wxTreeListItem::GetSize(), wxcode::wxTreeListHeaderWindow::GetWidth(), and m_lineHeight.
Referenced by OnIdle(), and RefreshSubtree().
wxTreeItemId wxcode::wxTreeListMainWindow::AppendItem | ( | const wxTreeItemId & | parent, |
const wxString & | text, | ||
int | image = -1 , |
||
int | selectedImage = -1 , |
||
wxTreeItemData * | data = NULL |
||
) |
Definition at line 2525 of file treelistctrl.cpp.
References data, DoInsertItem(), and wxcode::wxTreeListItem::GetChildren().
Referenced by wxcode::wxTreeListCtrl::AppendItem().
void wxcode::wxTreeListMainWindow::AssignButtonsImageList | ( | wxImageList * | imageList | ) |
Definition at line 3157 of file treelistctrl.cpp.
References SetButtonsImageList().
Referenced by wxcode::wxTreeListCtrl::AssignButtonsImageList().
void wxcode::wxTreeListMainWindow::AssignImageList | ( | wxImageList * | imageList | ) |
Definition at line 3147 of file treelistctrl.cpp.
References SetImageList().
Referenced by wxcode::wxTreeListCtrl::AssignImageList().
void wxcode::wxTreeListMainWindow::AssignStateImageList | ( | wxImageList * | imageList | ) |
Definition at line 3152 of file treelistctrl.cpp.
References SetStateImageList().
Referenced by wxcode::wxTreeListCtrl::AssignStateImageList().
|
protected |
Definition at line 4305 of file treelistctrl.cpp.
References CalculateSize(), wxcode::wxTreeListItem::GetChildren(), GetLineHeight(), HasButtons(), wxcode::wxTreeListItem::IsExpanded(), wxcode::LINEATROOT, m_btnWidth2, wxcode::MARGIN, wxcode::wxTreeListItem::SetX(), and wxcode::wxTreeListItem::SetY().
Referenced by CalculatePositions().
|
protected |
Definition at line 3089 of file treelistctrl.cpp.
References m_linespacing.
Referenced by SetButtonsImageList(), SetFont(), SetImageList(), and SetLineSpacing().
|
protected |
Definition at line 4344 of file treelistctrl.cpp.
References CalculateLevel(), wxcode::wxTreeListHeaderWindow::GetColumnWidth(), wxcode::wxTreeListCtrl::GetHeaderWindow(), GetMainColumn(), and wxcode::wxTreeListHeaderWindow::IsColumnShown().
Referenced by EditLabel(), OnIdle(), ScrollTo(), and SelectItem().
|
protected |
Definition at line 4280 of file treelistctrl.cpp.
References GetItemFont(), wxcode::wxTreeListItem::GetText(), wxcode::wxTreeListItem::SetHeight(), and wxcode::wxTreeListItem::SetWidth().
Referenced by CalculateLevel(), SetItemImage(), and SetItemText().
void wxcode::wxTreeListMainWindow::Collapse | ( | const wxTreeItemId & | item | ) |
Definition at line 2712 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Collapse(), wxcode::wxTreeListItem::HasPlus(), wxcode::wxTreeListItem::IsExpanded(), and SendEvent().
Referenced by wxcode::wxTreeListCtrl::Collapse(), CollapseAndReset(), OnChar(), and Toggle().
void wxcode::wxTreeListMainWindow::CollapseAndReset | ( | const wxTreeItemId & | item | ) |
Definition at line 2731 of file treelistctrl.cpp.
References Collapse(), and DeleteChildren().
Referenced by wxcode::wxTreeListCtrl::CollapseAndReset().
bool wxcode::wxTreeListMainWindow::Create | ( | wxTreeListCtrl * | parent, |
wxWindowID | id = -1 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxTR_DEFAULT_STYLE , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = _T("wxtreelistctrl") |
||
) |
Definition at line 1921 of file treelistctrl.cpp.
References SetBackgroundColour().
void wxcode::wxTreeListMainWindow::Delete | ( | const wxTreeItemId & | item | ) |
Definition at line 2538 of file treelistctrl.cpp.
References DoDeleteItem(), and wxcode::wxTreeListItem::GetItemParent().
Referenced by wxcode::wxTreeListCtrl::Delete().
void wxcode::wxTreeListMainWindow::DeleteChildren | ( | const wxTreeItemId & | item | ) |
Definition at line 2568 of file treelistctrl.cpp.
References DoDeleteItem(), and wxcode::wxTreeListItem::GetChildren().
Referenced by CollapseAndReset(), wxcode::wxTreeListCtrl::DeleteChildren(), and DeleteRoot().
void wxcode::wxTreeListMainWindow::DeleteRoot | ( | ) |
Definition at line 2555 of file treelistctrl.cpp.
References DeleteChildren(), m_rootItem, SendEvent(), and SetCurrentItem().
Referenced by wxcode::wxTreeListCtrl::DeleteRoot(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 2584 of file treelistctrl.cpp.
References data, wxcode::wxEditTextCtrl::EndEdit(), wxcode::wxTreeListItem::GetChildren(), GetItemData(), wxcode::wxTreeListItem::GetItemParent(), m_curItem, SelectItem(), SendEvent(), and SetCurrentItem().
Referenced by Delete(), and DeleteChildren().
|
protected |
Definition at line 2445 of file treelistctrl.cpp.
References GetColumnCount(), wxcode::wxTreeListItem::Insert(), m_main_column, and wxTreeListItem.
Referenced by AppendItem(), InsertItem(), and PrependItem().
void wxcode::wxTreeListMainWindow::EditLabel | ( | const wxTreeItemId & | item, |
int | column | ||
) |
Definition at line 3872 of file treelistctrl.cpp.
References CalculatePositions(), wxcode::wxEditTextCtrl::EndEdit(), wxcode::wxTreeListHeaderWindow::GetColumnAlignment(), GetColumnCount(), wxcode::wxTreeListHeaderWindow::GetColumnWidth(), wxcode::wxTreeListCtrl::GetHeaderWindow(), wxcode::wxTreeListItem::GetHeight(), GetMainColumn(), wxcode::wxTreeListItem::GetText(), wxcode::wxTreeListItem::GetTextX(), wxcode::wxTreeListItem::GetWidth(), wxcode::wxTreeListItem::GetY(), vigra_ext::EMoR::h, wxcode::wxTreeListHeaderWindow::IsColumnShown(), SendEvent(), and wxEditTextCtrl.
Referenced by wxcode::wxTreeListCtrl::EditLabel(), and OnRenameTimer().
void wxcode::wxTreeListMainWindow::EndEdit | ( | bool | isCancelled | ) |
Definition at line 3952 of file treelistctrl.cpp.
References wxcode::wxEditTextCtrl::EndEdit().
Referenced by wxcode::wxTreeListCtrl::EndEdit().
void wxcode::wxTreeListMainWindow::EnsureVisible | ( | const wxTreeItemId & | item | ) |
Definition at line 2930 of file treelistctrl.cpp.
References Expand(), wxcode::wxTreeListCtrl::GetItemParent(), wxcode::wxTreeListItem::GetItemParent(), RefreshLine(), and ScrollTo().
Referenced by wxcode::wxTreeListCtrl::EnsureVisible(), OnChar(), and OnMouse().
void wxcode::wxTreeListMainWindow::Expand | ( | const wxTreeItemId & | item | ) |
Definition at line 2680 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Expand(), wxcode::wxTreeListItem::HasPlus(), wxcode::wxTreeListItem::IsExpanded(), and SendEvent().
Referenced by EnsureVisible(), wxcode::wxTreeListCtrl::Expand(), ExpandAll(), OnChar(), and Toggle().
void wxcode::wxTreeListMainWindow::ExpandAll | ( | const wxTreeItemId & | item | ) |
Definition at line 2699 of file treelistctrl.cpp.
References Expand(), GetFirstChild(), GetNextChild(), and IsExpanded().
Referenced by wxcode::wxTreeListCtrl::ExpandAll(), and OnChar().
|
protected |
Definition at line 2912 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::HasChildren(), and wxcode::wxTreeListItem::IsSelected().
Referenced by GetSelections().
wxTreeItemId wxcode::wxTreeListMainWindow::FindItem | ( | const wxTreeItemId & | item, |
int | column, | ||
const wxString & | str, | ||
int | mode = 0 |
||
) |
Definition at line 3041 of file treelistctrl.cpp.
References GetColumnCount(), GetFirstChild(), GetItemText(), GetNext(), GetNextExpanded(), GetNextSibling(), GetNextVisible(), GetRootItem(), MatchItemText(), wxcode::wxTL_MODE_NAV_EXPANDED, wxcode::wxTL_MODE_NAV_LEVEL, and wxcode::wxTL_MODE_NAV_VISIBLE.
Referenced by wxcode::wxTreeListCtrl::FindItem(), and OnChar().
int wxcode::wxTreeListMainWindow::GetBestColumnWidth | ( | int | column, |
wxTreeItemId | parent = wxTreeItemId() |
||
) |
Definition at line 4509 of file treelistctrl.cpp.
References GetFirstChild(), GetItemWidth(), GetNextChild(), GetRootItem(), and vigra_ext::EMoR::h.
bool wxcode::wxTreeListMainWindow::GetBoundingRect | ( | const wxTreeItemId & | item, |
wxRect & | rect, | ||
bool | textOnly = false |
||
) | const |
Definition at line 3851 of file treelistctrl.cpp.
References GetLineHeight().
Referenced by wxcode::wxTreeListCtrl::GetBoundingRect(), and IsVisible().
|
inline |
Definition at line 317 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetButtonsImageList().
size_t wxcode::wxTreeListMainWindow::GetChildrenCount | ( | const wxTreeItemId & | item, |
bool | recursively = true |
||
) |
Definition at line 1985 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetChildrenCount().
|
inline |
Definition at line 610 of file treelistctrl.cpp.
References GetColumnCount(), and wxcode::wxTreeListHeaderWindow::m_owner.
Referenced by AddRoot(), DoInsertItem(), EditLabel(), FindItem(), wxcode::wxTreeListCtrl::GetColumnCount(), GetColumnCount(), wxcode::wxTreeListItem::HitTest(), OnChar(), OnPaint(), and PaintItem().
size_t wxcode::wxTreeListMainWindow::GetCount | ( | ) | const |
Definition at line 1970 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildrenCount().
Referenced by wxcode::wxTreeListCtrl::GetCount().
|
inline |
Definition at line 617 of file treelistctrl.cpp.
Referenced by OnMouse(), and OnRenameTimer().
wxTreeItemId wxcode::wxTreeListMainWindow::GetFirstChild | ( | const wxTreeItemId & | item, |
wxTreeItemIdValue & | cookie | ||
) | const |
Definition at line 2283 of file treelistctrl.cpp.
Referenced by AddRoot(), ExpandAll(), FindItem(), GetBestColumnWidth(), wxcode::wxTreeListCtrl::GetFirstChild(), OnChar(), and SelectAll().
wxTreeItemId wxcode::wxTreeListMainWindow::GetFirstExpandedItem | ( | ) | const |
Definition at line 2387 of file treelistctrl.cpp.
References GetNextExpanded(), and GetRootItem().
Referenced by wxcode::wxTreeListCtrl::GetFirstExpandedItem().
wxTreeItemId wxcode::wxTreeListMainWindow::GetFirstVisible | ( | bool | fullRow, |
bool | within | ||
) | const |
Definition at line 2401 of file treelistctrl.cpp.
References GetNextVisible(), GetRootItem(), and IsVisible().
Referenced by wxcode::wxTreeListCtrl::GetFirstVisible(), and OnChar().
|
inline |
Definition at line 315 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetImageList().
|
inline |
Definition at line 296 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetIndent(), and GetItemWidth().
wxColour wxcode::wxTreeListMainWindow::GetItemBackgroundColour | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2068 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetAttributes().
Referenced by wxcode::wxTreeListCtrl::GetItemBackgroundColour(), GetItemBackgroundColour(), and PaintItem().
wxColour wxcode::wxTreeListMainWindow::GetItemBackgroundColour | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2078 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetAttributes(), and GetItemBackgroundColour().
bool wxcode::wxTreeListMainWindow::GetItemBold | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2038 of file treelistctrl.cpp.
References IsBold().
Referenced by wxcode::wxTreeListCtrl::GetItemBold().
bool wxcode::wxTreeListMainWindow::GetItemBold | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2042 of file treelistctrl.cpp.
References IsBold().
wxTreeItemData * wxcode::wxTreeListMainWindow::GetItemData | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2029 of file treelistctrl.cpp.
Referenced by DoDeleteItem(), and wxcode::wxTreeListCtrl::GetItemData().
wxTreeItemData * wxcode::wxTreeListMainWindow::GetItemData | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2033 of file treelistctrl.cpp.
wxFont wxcode::wxTreeListMainWindow::GetItemFont | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2089 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetAttributes(), m_boldFont, and m_normalFont.
Referenced by CalculateSize(), wxcode::wxTreeListCtrl::GetItemFont(), GetItemWidth(), and PaintItem().
wxFont wxcode::wxTreeListMainWindow::GetItemFont | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2101 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetAttributes(), m_boldFont, and m_normalFont.
|
inline |
Definition at line 341 of file treelistctrl.cpp.
References GetItemImage().
Referenced by wxcode::wxTreeListCtrl::GetItemImage(), and GetItemImage().
int wxcode::wxTreeListMainWindow::GetItemImage | ( | const wxTreeItemId & | item, |
int | column, | ||
wxTreeItemIcon | which = wxTreeItemIcon_Normal |
||
) | const |
Definition at line 2024 of file treelistctrl.cpp.
wxTreeItemId wxcode::wxTreeListMainWindow::GetItemParent | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2278 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetItemParent(), GetNext(), GetPrev(), and OnChar().
wxString wxcode::wxTreeListMainWindow::GetItemText | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 4461 of file treelistctrl.cpp.
References IsVirtual(), and wxcode::wxTreeListCtrl::OnGetItemText().
Referenced by FindItem(), wxcode::wxTreeListCtrl::GetItemText(), and OnChar().
wxString wxcode::wxTreeListMainWindow::GetItemText | ( | wxTreeItemData * | item, |
int | column | ||
) | const |
Definition at line 4468 of file treelistctrl.cpp.
References IsVirtual(), and wxcode::wxTreeListCtrl::OnGetItemText().
wxColour wxcode::wxTreeListMainWindow::GetItemTextColour | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2047 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetAttributes().
Referenced by wxcode::wxTreeListCtrl::GetItemTextColour(), GetItemTextColour(), and PaintItem().
wxColour wxcode::wxTreeListMainWindow::GetItemTextColour | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2057 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetAttributes(), and GetItemTextColour().
int wxcode::wxTreeListMainWindow::GetItemWidth | ( | int | column, |
wxTreeListItem * | item | ||
) |
Definition at line 4478 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetCurrentImage(), GetIndent(), GetItemFont(), wxcode::wxTreeListItem::GetItemParent(), GetMainColumn(), GetRootItem(), wxcode::wxTreeListItem::GetText(), vigra_ext::EMoR::h, HasButtons(), wxcode::LINEATROOT, wxcode::MARGIN, and wxcode::NO_IMAGE.
Referenced by GetBestColumnWidth().
wxTreeItemId wxcode::wxTreeListMainWindow::GetLastChild | ( | const wxTreeItemId & | item, |
wxTreeItemIdValue & | cookie | ||
) | const |
Definition at line 2309 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetLastChild(), OnChar(), and SelectAll().
wxTreeItemId wxcode::wxTreeListMainWindow::GetLastVisible | ( | bool | fullRow, |
bool | within | ||
) | const |
Definition at line 2419 of file treelistctrl.cpp.
References GetNext(), GetRootItem(), and IsVisible().
Referenced by wxcode::wxTreeListCtrl::GetLastVisible(), and OnChar().
|
protected |
Definition at line 3185 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetHeight(), and m_lineHeight.
Referenced by CalculateLevel(), GetBoundingRect(), wxcode::wxTreeListItem::GetSize(), wxcode::wxTreeListItem::HitTest(), PaintItem(), PaintLevel(), RefreshLine(), and ScrollTo().
|
inline |
Definition at line 300 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetLineSpacing().
|
inline |
Definition at line 616 of file treelistctrl.cpp.
Referenced by CalculatePositions(), EditLabel(), GetItemWidth(), wxcode::wxTreeListCtrl::GetMainColumn(), wxcode::wxTreeListItem::HitTest(), OnPaint(), and PaintItem().
wxTreeItemId wxcode::wxTreeListMainWindow::GetNext | ( | const wxTreeItemId & | item, |
bool | fulltree = true |
||
) | const |
Definition at line 2350 of file treelistctrl.cpp.
References GetItemParent(), and GetNextSibling().
Referenced by FindItem(), GetLastVisible(), wxcode::wxTreeListCtrl::GetNext(), GetNextExpanded(), and GetNextVisible().
wxTreeItemId wxcode::wxTreeListMainWindow::GetNextChild | ( | const wxTreeItemId & | item, |
wxTreeItemIdValue & | cookie | ||
) | const |
Definition at line 2291 of file treelistctrl.cpp.
Referenced by ExpandAll(), GetBestColumnWidth(), and wxcode::wxTreeListCtrl::GetNextChild().
wxTreeItemId wxcode::wxTreeListMainWindow::GetNextExpanded | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2391 of file treelistctrl.cpp.
References GetNext().
Referenced by FindItem(), GetFirstExpandedItem(), and wxcode::wxTreeListCtrl::GetNextExpanded().
wxTreeItemId wxcode::wxTreeListMainWindow::GetNextSibling | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2319 of file treelistctrl.cpp.
References wxcode::wxTreeListCtrl::GetItemParent().
Referenced by FindItem(), GetNext(), wxcode::wxTreeListCtrl::GetNextSibling(), and OnChar().
wxTreeItemId wxcode::wxTreeListMainWindow::GetNextVisible | ( | const wxTreeItemId & | item, |
bool | fullRow, | ||
bool | within | ||
) | const |
Definition at line 2409 of file treelistctrl.cpp.
References GetNext(), and IsVisible().
Referenced by FindItem(), GetFirstVisible(), and wxcode::wxTreeListCtrl::GetNextVisible().
wxTreeItemId wxcode::wxTreeListMainWindow::GetPrev | ( | const wxTreeItemId & | item, |
bool | fulltree = true |
||
) | const |
Definition at line 2370 of file treelistctrl.cpp.
References GetItemParent(), and GetPrevSibling().
Referenced by wxcode::wxTreeListCtrl::GetPrev(), GetPrevExpanded(), and GetPrevVisible().
wxTreeItemId wxcode::wxTreeListMainWindow::GetPrevChild | ( | const wxTreeItemId & | item, |
wxTreeItemIdValue & | cookie | ||
) | const |
Definition at line 2300 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetPrevChild().
wxTreeItemId wxcode::wxTreeListMainWindow::GetPrevExpanded | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2396 of file treelistctrl.cpp.
References GetPrev().
Referenced by wxcode::wxTreeListCtrl::GetPrevExpanded().
wxTreeItemId wxcode::wxTreeListMainWindow::GetPrevSibling | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2334 of file treelistctrl.cpp.
References wxcode::wxTreeListCtrl::GetItemParent().
Referenced by GetPrev(), wxcode::wxTreeListCtrl::GetPrevSibling(), and OnChar().
wxTreeItemId wxcode::wxTreeListMainWindow::GetPrevVisible | ( | const wxTreeItemId & | item, |
bool | fullRow, | ||
bool | within | ||
) | const |
Definition at line 2429 of file treelistctrl.cpp.
References GetPrev(), and IsVisible().
Referenced by wxcode::wxTreeListCtrl::GetPrevVisible().
|
inline |
Definition at line 437 of file treelistctrl.cpp.
Referenced by FindItem(), GetBestColumnWidth(), GetFirstExpandedItem(), GetFirstVisible(), GetItemWidth(), GetLastVisible(), wxcode::wxTreeListCtrl::GetRootItem(), GetSelections(), OnChar(), SelectAll(), TagNextChildren(), and UnselectAll().
|
inline |
Definition at line 440 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetSelection().
size_t wxcode::wxTreeListMainWindow::GetSelections | ( | wxArrayTreeItemIds & | array | ) | const |
Definition at line 2923 of file treelistctrl.cpp.
References FillArray(), and GetRootItem().
Referenced by wxcode::wxTreeListCtrl::GetSelections().
|
inline |
Definition at line 316 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::GetStateImageList().
|
inlineprotected |
Definition at line 696 of file treelistctrl.cpp.
Referenced by CalculateLevel(), GetItemWidth(), wxcode::wxTreeListItem::HitTest(), OnPaint(), PaintItem(), and PaintLevel().
bool wxcode::wxTreeListMainWindow::HasChildren | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2248 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::HasChildren(), and OnChar().
|
inline |
Definition at line 555 of file treelistctrl.cpp.
References flags.
Referenced by wxcode::wxTreeListCtrl::HitTest().
|
inline |
Definition at line 557 of file treelistctrl.cpp.
wxTreeItemId wxcode::wxTreeListMainWindow::HitTest | ( | const wxPoint & | point, |
int & | flags, | ||
int & | column | ||
) |
Definition at line 3822 of file treelistctrl.cpp.
References vigra_ext::EMoR::h, and wxcode::wxTreeListItem::HitTest().
|
protected |
wxTreeItemId wxcode::wxTreeListMainWindow::InsertItem | ( | const wxTreeItemId & | parent, |
const wxTreeItemId & | idPrevious, | ||
const wxString & | text, | ||
int | image = -1 , |
||
int | selectedImage = -1 , |
||
wxTreeItemData * | data = NULL |
||
) |
Definition at line 2499 of file treelistctrl.cpp.
References DoInsertItem(), and wxcode::wxTreeListItem::GetChildren().
Referenced by wxcode::wxTreeListCtrl::InsertItem().
wxTreeItemId wxcode::wxTreeListMainWindow::InsertItem | ( | const wxTreeItemId & | parent, |
size_t | index, | ||
const wxString & | text, | ||
int | image = -1 , |
||
int | selectedImage = -1 , |
||
wxTreeItemData * | data = NULL |
||
) |
Definition at line 2514 of file treelistctrl.cpp.
References DoInsertItem().
bool wxcode::wxTreeListMainWindow::IsBold | ( | const wxTreeItemId & | item | ) | const |
Referenced by GetItemBold(), and IsBold().
bool wxcode::wxTreeListMainWindow::IsBold | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2269 of file treelistctrl.cpp.
References IsBold().
bool wxcode::wxTreeListMainWindow::IsExpanded | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2259 of file treelistctrl.cpp.
Referenced by ExpandAll(), wxcode::wxTreeListCtrl::IsExpanded(), OnChar(), and Toggle().
bool wxcode::wxTreeListMainWindow::IsSelected | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2264 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::IsSelected().
|
inline |
Definition at line 288 of file treelistctrl.cpp.
References wxTR_VIRTUAL.
Referenced by GetItemText().
bool wxcode::wxTreeListMainWindow::IsVisible | ( | const wxTreeItemId & | item, |
bool | fullRow, | ||
bool | within = true |
||
) | const |
Definition at line 2223 of file treelistctrl.cpp.
References GetBoundingRect(), wxcode::wxTreeListCtrl::GetItemParent(), and wxcode::wxTreeListCtrl::IsExpanded().
Referenced by GetFirstVisible(), GetLastVisible(), GetNextVisible(), GetPrevVisible(), and wxcode::wxTreeListCtrl::IsVisible().
bool wxcode::wxTreeListMainWindow::MatchItemText | ( | const wxString & | itemText, |
const wxString & | pattern, | ||
int | mode | ||
) |
Definition at line 3023 of file treelistctrl.cpp.
References wxcode::wxTL_MODE_FIND_NOCASE, and wxcode::wxTL_MODE_FIND_PARTIAL.
Referenced by FindItem(), and OnChar().
|
inline |
Definition at line 607 of file treelistctrl.cpp.
void wxcode::wxTreeListMainWindow::OnChar | ( | wxKeyEvent & | event | ) |
Definition at line 3589 of file treelistctrl.cpp.
References Collapse(), EnsureVisible(), Expand(), ExpandAll(), wxcode::FIND_TIMER_TICKS, FindItem(), flags, GetColumnCount(), GetFirstChild(), GetFirstVisible(), wxcode::wxTreeListItem::GetHeight(), GetItemParent(), GetItemText(), GetLastChild(), GetLastVisible(), GetNextSibling(), GetPrevSibling(), GetRootItem(), HasChildren(), wxcode::wxTreeListItem::HasPlus(), wxcode::wxTreeListItem::HitTest(), IsExpanded(), m_curItem, MatchItemText(), RefreshLine(), SelectItem(), SendEvent(), SetCurrentItem(), Toggle(), wxcode::wxTL_MODE_FIND_NOCASE, wxcode::wxTL_MODE_FIND_PARTIAL, and wxcode::wxTL_MODE_NAV_EXPANDED.
|
virtual |
Definition at line 2993 of file treelistctrl.cpp.
References wxcode::wxTreeListCtrl::OnCompareItems().
Referenced by wxcode::tree_ctrl_compare_func().
|
inline |
Definition at line 600 of file treelistctrl.cpp.
void wxcode::wxTreeListMainWindow::OnIdle | ( | wxIdleEvent & | event | ) |
Definition at line 4253 of file treelistctrl.cpp.
References AdjustMyScrollbars(), and CalculatePositions().
void wxcode::wxTreeListMainWindow::OnKillFocus | ( | wxFocusEvent & | event | ) |
Definition at line 3581 of file treelistctrl.cpp.
References RefreshLine(), and RefreshSelected().
void wxcode::wxTreeListMainWindow::OnMouse | ( | wxMouseEvent & | event | ) |
Definition at line 3956 of file treelistctrl.cpp.
References EnsureVisible(), flags, GetCurrentColumn(), wxcode::wxTreeListCtrl::GetHeaderWindow(), wxcode::wxTreeListItem::GetToolTip(), wxcode::wxTreeListItem::HasPlus(), wxcode::wxTreeListItem::HitTest(), wxcode::wxTreeListHeaderWindow::IsColumnEditable(), wxcode::wxTreeListItem::IsSelected(), m_curItem, m_dragItem, RefreshSelected(), wxcode::RENAME_TIMER_TICKS, SelectItem(), SendEvent(), SetCurrentItem(), SetFocus(), Toggle(), and wxcode::wxTREE_HITTEST_ONITEMCOLUMN.
void wxcode::wxTreeListMainWindow::OnPaint | ( | wxPaintEvent & | event | ) |
Definition at line 3524 of file treelistctrl.cpp.
References wxcode::BTNHEIGHT, wxcode::BTNWIDTH, GetColumnCount(), wxcode::wxTreeListHeaderWindow::GetColumnWidth(), wxcode::wxTreeListCtrl::GetHeaderWindow(), GetMainColumn(), HasButtons(), wxcode::wxTreeListHeaderWindow::IsColumnShown(), wxcode::LINEATROOT, wxcode::MARGIN, wxcode::MININDENT, and PaintLevel().
|
protected |
Definition at line 3939 of file treelistctrl.cpp.
References SendEvent(), and SetItemText().
|
protected |
Definition at line 3935 of file treelistctrl.cpp.
References EditLabel(), and GetCurrentColumn().
void wxcode::wxTreeListMainWindow::OnScroll | ( | wxScrollWinEvent & | event | ) |
Definition at line 4266 of file treelistctrl.cpp.
References wxcode::wxTreeListCtrl::GetHeaderWindow().
void wxcode::wxTreeListMainWindow::OnSetFocus | ( | wxFocusEvent & | event | ) |
Definition at line 3574 of file treelistctrl.cpp.
References RefreshLine(), and RefreshSelected().
|
protected |
Definition at line 3193 of file treelistctrl.cpp.
References wxcode::wxTreeListColumnInfo::GetAlignment(), wxcode::wxTreeListHeaderWindow::GetColumn(), GetColumnCount(), wxcode::wxTreeListHeaderWindow::GetColumnWidth(), wxcode::wxTreeListItem::GetCurrentImage(), wxcode::wxTreeListCtrl::GetHeaderWindow(), wxcode::wxTreeListItem::GetImage(), GetItemBackgroundColour(), GetItemFont(), GetItemTextColour(), GetLineHeight(), GetMainColumn(), wxcode::wxTreeListCtrl::GetMainWindow(), wxcode::wxTreeListItem::GetText(), wxcode::wxTreeListHeaderWindow::GetWidth(), wxcode::wxTreeListItem::GetX(), wxcode::wxTreeListItem::GetY(), HasButtons(), wxcode::wxTreeListHeaderWindow::IsColumnShown(), wxcode::wxTreeListItem::IsSelected(), wxcode::LINEATROOT, m_btnWidth2, m_hasFocus, m_imgHeight, wxcode::MARGIN, celeste::max(), wxcode::NO_IMAGE, wxcode::wxTreeListItem::SetTextX(), and wxTR_COLUMN_LINES.
Referenced by PaintLevel().
|
protected |
Definition at line 3353 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListCtrl::GetHeaderWindow(), GetLineHeight(), wxcode::wxTreeListHeaderWindow::GetWidth(), wxcode::wxTreeListItem::GetX(), vigra_ext::EMoR::h, HasButtons(), wxcode::wxTreeListItem::HasPlus(), wxcode::wxTreeListItem::IsExpanded(), wxcode::wxTreeListItem::IsSelected(), wxcode::LINEATROOT, m_btnHeight2, m_btnWidth2, m_imgHeight2, m_indent, wxcode::MARGIN, celeste::max(), PaintItem(), wxcode::wxTreeListItem::SetX(), and wxcode::wxTreeListItem::SetY().
Referenced by OnPaint().
wxTreeItemId wxcode::wxTreeListMainWindow::PrependItem | ( | const wxTreeItemId & | parent, |
const wxString & | text, | ||
int | image = -1 , |
||
int | selectedImage = -1 , |
||
wxTreeItemData * | data = NULL |
||
) |
Definition at line 2492 of file treelistctrl.cpp.
References DoInsertItem().
Referenced by wxcode::wxTreeListCtrl::PrependItem().
|
protected |
Definition at line 4385 of file treelistctrl.cpp.
References GetLineHeight(), and wxcode::wxTreeListItem::GetY().
Referenced by EnsureVisible(), OnChar(), OnKillFocus(), OnSetFocus(), RefreshSelectedUnder(), SelectItem(), SetCurrentItem(), SetDragItem(), SetItemBackgroundColour(), SetItemBold(), SetItemFont(), SetItemHasChildren(), SetItemImage(), SetItemText(), SetItemTextColour(), TagAllChildrenUntilLast(), Unselect(), and UnselectAllChildren().
|
protected |
Definition at line 4404 of file treelistctrl.cpp.
References RefreshSelectedUnder().
Referenced by OnKillFocus(), OnMouse(), and OnSetFocus().
|
protected |
Definition at line 4412 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::IsSelected(), and RefreshLine().
Referenced by RefreshSelected().
|
protected |
Definition at line 4365 of file treelistctrl.cpp.
References AdjustMyScrollbars(), and wxcode::wxTreeListItem::GetY().
void wxcode::wxTreeListMainWindow::ScrollTo | ( | const wxTreeItemId & | item | ) |
Definition at line 2945 of file treelistctrl.cpp.
References CalculatePositions(), wxcode::wxTreeListCtrl::GetHeaderWindow(), GetLineHeight(), wxcode::wxTreeListItem::GetSize(), wxcode::wxTreeListHeaderWindow::GetWidth(), and wxcode::wxTreeListItem::GetY().
Referenced by EnsureVisible(), and wxcode::wxTreeListCtrl::ScrollTo().
void wxcode::wxTreeListMainWindow::SelectAll | ( | ) |
Definition at line 2889 of file treelistctrl.cpp.
References GetFirstChild(), GetLastChild(), GetRootItem(), SendEvent(), TagAllChildrenUntilLast(), and TagNextChildren().
Referenced by wxcode::wxTreeListCtrl::SelectAll().
bool wxcode::wxTreeListMainWindow::SelectItem | ( | const wxTreeItemId & | item, |
const wxTreeItemId & | prev = (wxTreeItemId*)NULL , |
||
bool | unselect_others = true |
||
) |
Definition at line 2825 of file treelistctrl.cpp.
References CalculatePositions(), wxcode::wxTreeListItem::GetY(), wxcode::wxTreeListItem::IsSelected(), RefreshLine(), SendEvent(), wxcode::wxTreeListItem::SetHilight(), TagAllChildrenUntilLast(), TagNextChildren(), Unselect(), and UnselectAll().
Referenced by DoDeleteItem(), OnChar(), OnMouse(), and wxcode::wxTreeListCtrl::SelectItem().
|
protected |
Definition at line 4546 of file treelistctrl.cpp.
Referenced by Collapse(), DeleteRoot(), DoDeleteItem(), EditLabel(), Expand(), OnChar(), OnMouse(), OnRenameAccept(), SelectAll(), and SelectItem().
|
virtual |
Definition at line 4428 of file treelistctrl.cpp.
Referenced by Create(), and wxcode::wxTreeListCtrl::SetBackgroundColour().
void wxcode::wxTreeListMainWindow::SetButtonsImageList | ( | wxImageList * | imageList | ) |
Definition at line 3139 of file treelistctrl.cpp.
References CalculateLineHeight(), and m_imageListButtons.
Referenced by AssignButtonsImageList(), and wxcode::wxTreeListCtrl::SetButtonsImageList().
void wxcode::wxTreeListMainWindow::SetCurrentItem | ( | const wxTreeItemId & | item | ) |
Definition at line 2663 of file treelistctrl.cpp.
Referenced by AddRoot(), DeleteRoot(), DoDeleteItem(), OnChar(), OnMouse(), and wxcode::wxTreeListCtrl::SetCurrentItem().
|
protected |
Definition at line 2666 of file treelistctrl.cpp.
References m_curItem, and RefreshLine().
void wxcode::wxTreeListMainWindow::SetDragItem | ( | const wxTreeItemId & | item = (wxTreeItemId*)NULL | ) |
Definition at line 3082 of file treelistctrl.cpp.
References m_dragItem, and RefreshLine().
Referenced by wxcode::wxTreeListCtrl::SetDragItem().
void wxcode::wxTreeListMainWindow::SetFocus | ( | ) |
Definition at line 4473 of file treelistctrl.cpp.
Referenced by OnMouse(), and wxcode::wxTreeListCtrl::SetFocus().
|
virtual |
Definition at line 2205 of file treelistctrl.cpp.
References CalculateLineHeight().
Referenced by wxcode::wxTreeListCtrl::SetFont().
|
virtual |
Definition at line 4435 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::SetForegroundColour().
void wxcode::wxTreeListMainWindow::SetImageList | ( | wxImageList * | imageList | ) |
Definition at line 3125 of file treelistctrl.cpp.
References CalculateLineHeight(), and m_imageListNormal.
Referenced by AssignImageList(), and wxcode::wxTreeListCtrl::SetImageList().
void wxcode::wxTreeListMainWindow::SetIndent | ( | unsigned int | indent | ) |
Definition at line 1974 of file treelistctrl.cpp.
References wxcode::MININDENT.
Referenced by wxcode::wxTreeListCtrl::SetIndent().
void wxcode::wxTreeListMainWindow::SetItemBackgroundColour | ( | const wxTreeItemId & | item, |
const wxColour & | colour | ||
) |
Definition at line 2178 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Attr(), and RefreshLine().
Referenced by wxcode::wxTreeListCtrl::SetItemBackgroundColour().
void wxcode::wxTreeListMainWindow::SetItemBackgroundColour | ( | const wxTreeItemId & | item, |
int | column, | ||
const wxColour & | colour | ||
) |
Definition at line 2184 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Attr(), and RefreshLine().
void wxcode::wxTreeListMainWindow::SetItemBold | ( | const wxTreeItemId & | item, |
bool | bold = true |
||
) |
Definition at line 2148 of file treelistctrl.cpp.
References RefreshLine(), and wxcode::wxTreeListItem::SetBold().
Referenced by wxcode::wxTreeListCtrl::SetItemBold().
void wxcode::wxTreeListMainWindow::SetItemBold | ( | const wxTreeItemId & | item, |
int | column, | ||
bool | bold = true |
||
) |
Definition at line 2156 of file treelistctrl.cpp.
References RefreshLine(), and wxcode::wxTreeListItem::SetBold().
void wxcode::wxTreeListMainWindow::SetItemData | ( | const wxTreeItemId & | item, |
wxTreeItemData * | data | ||
) |
Definition at line 2139 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::SetItemData().
void wxcode::wxTreeListMainWindow::SetItemData | ( | const wxTreeItemId & | item, |
int | column, | ||
wxTreeItemData * | data | ||
) |
Definition at line 2143 of file treelistctrl.cpp.
void wxcode::wxTreeListMainWindow::SetItemFont | ( | const wxTreeItemId & | item, |
const wxFont & | font | ||
) |
Definition at line 2191 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Attr(), and RefreshLine().
Referenced by wxcode::wxTreeListCtrl::SetItemFont().
void wxcode::wxTreeListMainWindow::SetItemFont | ( | const wxTreeItemId & | item, |
int | column, | ||
const wxFont & | font | ||
) |
Definition at line 2197 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Attr(), and RefreshLine().
void wxcode::wxTreeListMainWindow::SetItemHasChildren | ( | const wxTreeItemId & | item, |
bool | has = true |
||
) |
Definition at line 2117 of file treelistctrl.cpp.
References RefreshLine(), and wxcode::wxTreeListItem::SetHasPlus().
Referenced by wxcode::wxTreeListCtrl::SetItemHasChildren().
|
inline |
Definition at line 375 of file treelistctrl.cpp.
References SetItemImage().
Referenced by wxcode::wxTreeListCtrl::SetItemImage(), and SetItemImage().
void wxcode::wxTreeListMainWindow::SetItemImage | ( | const wxTreeItemId & | item, |
int | column, | ||
int | image, | ||
wxTreeItemIcon | which = wxTreeItemIcon_Normal |
||
) |
Definition at line 2124 of file treelistctrl.cpp.
References CalculateSize(), RefreshLine(), and wxcode::wxTreeListItem::SetImage().
void wxcode::wxTreeListMainWindow::SetItemParent | ( | const wxTreeItemId & | parent, |
const wxTreeItemId & | item | ||
) |
Definition at line 2643 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::GetItemParent(), and wxcode::wxTreeListItem::SetItemParent().
Referenced by wxcode::wxTreeListCtrl::SetItemParent().
void wxcode::wxTreeListMainWindow::SetItemText | ( | const wxTreeItemId & | item, |
int | column, | ||
const wxString & | text | ||
) |
Definition at line 4442 of file treelistctrl.cpp.
References CalculateSize(), RefreshLine(), and wxcode::wxTreeListItem::SetText().
Referenced by OnRenameAccept(), and wxcode::wxTreeListCtrl::SetItemText().
void wxcode::wxTreeListMainWindow::SetItemTextColour | ( | const wxTreeItemId & | item, |
const wxColour & | colour | ||
) |
Definition at line 2165 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Attr(), and RefreshLine().
Referenced by wxcode::wxTreeListCtrl::SetItemTextColour().
void wxcode::wxTreeListMainWindow::SetItemTextColour | ( | const wxTreeItemId & | item, |
int | column, | ||
const wxColour & | colour | ||
) |
Definition at line 2171 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::Attr(), and RefreshLine().
void wxcode::wxTreeListMainWindow::SetItemToolTip | ( | const wxTreeItemId & | item, |
const wxString & | tip | ||
) |
Definition at line 2012 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::SetItemToolTip().
void wxcode::wxTreeListMainWindow::SetLineSpacing | ( | unsigned int | spacing | ) |
Definition at line 1979 of file treelistctrl.cpp.
References CalculateLineHeight().
Referenced by wxcode::wxTreeListCtrl::SetLineSpacing().
|
inline |
Definition at line 613 of file treelistctrl.cpp.
References wxcode::wxTreeListHeaderWindow::GetColumnCount().
Referenced by wxcode::wxTreeListCtrl::SetMainColumn().
void wxcode::wxTreeListMainWindow::SetStateImageList | ( | wxImageList * | imageList | ) |
Definition at line 3133 of file treelistctrl.cpp.
References m_imageListState.
Referenced by AssignStateImageList(), and wxcode::wxTreeListCtrl::SetStateImageList().
void wxcode::wxTreeListMainWindow::SetToolTip | ( | const wxString & | tip | ) |
Definition at line 2001 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListCtrl::SetToolTip().
void wxcode::wxTreeListMainWindow::SetToolTip | ( | wxToolTip * | tip | ) |
Definition at line 2006 of file treelistctrl.cpp.
void wxcode::wxTreeListMainWindow::SetWindowStyle | ( | const long | styles | ) |
Definition at line 1991 of file treelistctrl.cpp.
References UnselectAll().
Referenced by wxcode::wxTreeListCtrl::SetWindowStyleFlag().
void wxcode::wxTreeListMainWindow::SortChildren | ( | const wxTreeItemId & | item, |
int | column, | ||
bool | reverseOrder | ||
) |
Definition at line 3004 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildren(), and wxcode::tree_ctrl_compare_func().
Referenced by wxcode::wxTreeListCtrl::SortChildren().
|
protected |
Definition at line 2807 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::HasChildren(), wxcode::wxTreeListItem::IsExpanded(), RefreshLine(), and wxcode::wxTreeListItem::SetHilight().
Referenced by SelectAll(), SelectItem(), and TagNextChildren().
|
protected |
Definition at line 2784 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::GetItemParent(), GetRootItem(), wxcode::wxTreeListItem::HasChildren(), wxcode::wxTreeListItem::IsExpanded(), and TagAllChildrenUntilLast().
Referenced by SelectAll(), and SelectItem().
void wxcode::wxTreeListMainWindow::Toggle | ( | const wxTreeItemId & | item | ) |
Definition at line 2738 of file treelistctrl.cpp.
References Collapse(), Expand(), and IsExpanded().
Referenced by OnChar(), OnMouse(), and wxcode::wxTreeListCtrl::Toggle().
void wxcode::wxTreeListMainWindow::Unselect | ( | ) |
Definition at line 2748 of file treelistctrl.cpp.
References RefreshLine(), and wxcode::wxTreeListItem::SetHilight().
Referenced by SelectItem(), and wxcode::wxTreeListCtrl::Unselect().
void wxcode::wxTreeListMainWindow::UnselectAll | ( | ) |
Definition at line 2774 of file treelistctrl.cpp.
References GetRootItem(), and UnselectAllChildren().
Referenced by SelectItem(), SetWindowStyle(), and wxcode::wxTreeListCtrl::UnselectAll().
|
protected |
Definition at line 2756 of file treelistctrl.cpp.
References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::HasChildren(), wxcode::wxTreeListItem::IsSelected(), RefreshLine(), and wxcode::wxTreeListItem::SetHilight().
Referenced by UnselectAll().
|
friend |
Definition at line 257 of file treelistctrl.cpp.
Referenced by EditLabel().
|
friend |
Definition at line 255 of file treelistctrl.cpp.
Referenced by AddRoot(), and DoInsertItem().
|
friend |
Definition at line 256 of file treelistctrl.cpp.
|
protected |
Definition at line 628 of file treelistctrl.cpp.
Referenced by GetItemFont().
|
protected |
Definition at line 641 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListItem::HitTest().
|
protected |
Definition at line 641 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListItem::HitTest(), and PaintLevel().
|
protected |
Definition at line 640 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListItem::HitTest().
|
protected |
Definition at line 640 of file treelistctrl.cpp.
Referenced by CalculateLevel(), wxcode::wxTreeListItem::HitTest(), PaintItem(), and PaintLevel().
|
protected |
Definition at line 636 of file treelistctrl.cpp.
|
protected |
Definition at line 631 of file treelistctrl.cpp.
Referenced by DoDeleteItem(), OnChar(), OnMouse(), and SetCurrentItem().
bool wxcode::wxTreeListMainWindow::m_dirty |
Definition at line 652 of file treelistctrl.cpp.
|
protected |
Definition at line 647 of file treelistctrl.cpp.
|
protected |
Definition at line 668 of file treelistctrl.cpp.
|
protected |
Definition at line 667 of file treelistctrl.cpp.
Referenced by OnMouse(), and SetDragItem().
|
protected |
Definition at line 666 of file treelistctrl.cpp.
|
protected |
Definition at line 672 of file treelistctrl.cpp.
|
protected |
Definition at line 674 of file treelistctrl.cpp.
|
protected |
Definition at line 675 of file treelistctrl.cpp.
Referenced by ~wxTreeListMainWindow().
|
protected |
Definition at line 670 of file treelistctrl.cpp.
|
protected |
Definition at line 673 of file treelistctrl.cpp.
|
protected |
Definition at line 671 of file treelistctrl.cpp.
Referenced by ~wxTreeListMainWindow().
|
protected |
Definition at line 679 of file treelistctrl.cpp.
|
protected |
Definition at line 678 of file treelistctrl.cpp.
Referenced by ~wxTreeListMainWindow().
|
protected |
Definition at line 650 of file treelistctrl.cpp.
Referenced by PaintItem().
|
protected |
Definition at line 648 of file treelistctrl.cpp.
Referenced by ~wxTreeListMainWindow().
|
protected |
Definition at line 648 of file treelistctrl.cpp.
Referenced by ~wxTreeListMainWindow().
|
protected |
Definition at line 660 of file treelistctrl.cpp.
Referenced by SetButtonsImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 660 of file treelistctrl.cpp.
Referenced by SetImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 660 of file treelistctrl.cpp.
Referenced by SetStateImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 643 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListItem::HitTest(), and PaintItem().
|
protected |
Definition at line 643 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListItem::HitTest(), and PaintLevel().
|
protected |
Definition at line 642 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListItem::HitTest().
|
protected |
Definition at line 642 of file treelistctrl.cpp.
|
protected |
Definition at line 644 of file treelistctrl.cpp.
Referenced by PaintLevel().
|
protected |
Definition at line 665 of file treelistctrl.cpp.
|
protected |
Definition at line 664 of file treelistctrl.cpp.
|
protected |
Definition at line 681 of file treelistctrl.cpp.
|
protected |
Definition at line 657 of file treelistctrl.cpp.
|
protected |
Definition at line 658 of file treelistctrl.cpp.
|
protected |
Definition at line 645 of file treelistctrl.cpp.
Referenced by AdjustMyScrollbars(), and GetLineHeight().
|
protected |
Definition at line 646 of file treelistctrl.cpp.
Referenced by CalculateLineHeight().
|
protected |
Definition at line 635 of file treelistctrl.cpp.
Referenced by AddRoot(), and DoInsertItem().
|
protected |
Definition at line 627 of file treelistctrl.cpp.
Referenced by GetItemFont().
|
protected |
Definition at line 625 of file treelistctrl.cpp.
Referenced by wxcode::wxTreeListItem::HitTest().
|
protected |
Definition at line 654 of file treelistctrl.cpp.
|
protected |
Definition at line 654 of file treelistctrl.cpp.
|
protected |
Definition at line 654 of file treelistctrl.cpp.
|
protected |
Definition at line 638 of file treelistctrl.cpp.
|
protected |
Definition at line 630 of file treelistctrl.cpp.
Referenced by AddRoot(), and DeleteRoot().
|
protected |
Definition at line 633 of file treelistctrl.cpp.
|
protected |
Definition at line 632 of file treelistctrl.cpp.
|
protected |
Definition at line 637 of file treelistctrl.cpp.
|
protected |
Definition at line 682 of file treelistctrl.cpp.
|
protected |
Definition at line 683 of file treelistctrl.cpp.