wxcode::wxTreeListMainWindow Class Reference

List of all members.

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)

Protected Attributes

wxTreeListCtrlm_owner
wxFont m_normalFont
wxFont m_boldFont
wxTreeListItemm_rootItem
wxTreeListItemm_curItem
wxTreeListItemm_shiftItem
wxTreeListItemm_selectItem
int m_main_column
int m_curColumn
int m_sortColumn
bool m_ReverseSortOrder
int m_btnWidth
int m_btnWidth2
int m_btnHeight
int m_btnHeight2
int m_imgWidth
int m_imgWidth2
int m_imgHeight
int m_imgHeight2
unsigned short m_indent
int m_lineHeight
unsigned short m_linespacing
wxPen m_dottedPen
wxBrush * m_hilightBrush
wxBrush * m_hilightUnfocusedBrush
bool m_hasFocus
bool m_ownsImageListNormal
bool m_ownsImageListState
bool m_ownsImageListButtons
bool m_lastOnSame
bool m_left_down_selection
wxImageList * m_imageListNormal
wxImageList * m_imageListState
wxImageList * m_imageListButtons
bool m_isDragStarted
bool m_isDragging
wxPoint m_dragStartPos
wxTreeListItemm_dragItem
int m_dragCol
wxTreeListItemm_editItem
wxTimer * m_editTimer
bool m_editAccept
wxString m_editRes
int m_editCol
wxEditTextCtrlm_editControl
wxTimer * m_findTimer
wxString m_findStr
bool m_isItemToolTip
wxString m_toolTip
wxTreeListItemm_toolTipItem

Friends

class wxTreeListItem
class wxTreeListRenameTimer
class wxEditTextCtrl

Detailed Description

Definition at line 253 of file treelistctrl.cpp.


Constructor & Destructor Documentation

wxcode::wxTreeListMainWindow::wxTreeListMainWindow (  )  [inline]

Definition at line 262 of file treelistctrl.cpp.

References wxcode::wxTreeListHeaderWindow::Init().

wxcode::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") 
) [inline]

Definition at line 264 of file treelistctrl.cpp.

References wxcode::wxTreeListHeaderWindow::Init().

wxcode::wxTreeListMainWindow::~wxTreeListMainWindow (  )  [virtual]

Definition at line 1961 of file treelistctrl.cpp.

References DeleteRoot(), m_editControl, and wxcode::wxEditTextCtrl::SetOwner().


Member Function Documentation

wxTreeItemId wxcode::wxTreeListMainWindow::AddRoot ( const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 2481 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::Expand(), GetColumnCount(), GetFirstChild(), m_rootItem, SetCurrentItem(), wxcode::wxTreeListItem::SetHasPlus(), and wxTreeListItem.

Referenced by wxcode::wxTreeListCtrl::AddRoot().

void wxcode::wxTreeListMainWindow::AdjustMyScrollbars (  ) 

Definition at line 3180 of file treelistctrl.cpp.

References wxcode::wxTreeListCtrl::GetHeaderWindow(), wxcode::wxTreeListItem::GetSize(), wxcode::wxTreeListHeaderWindow::GetWidth(), m_owner, and m_rootItem.

Referenced by wxcode::wxTreeListHeaderWindow::AddColumn(), wxcode::wxTreeListHeaderWindow::InsertColumn(), RefreshSubtree(), wxcode::wxTreeListHeaderWindow::RemoveColumn(), wxcode::wxTreeListHeaderWindow::SetColumn(), and wxcode::wxTreeListHeaderWindow::SetColumnWidth().

wxTreeItemId wxcode::wxTreeListMainWindow::AppendItem ( const wxTreeItemId &  parent,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 2539 of file treelistctrl.cpp.

References DoInsertItem(), and wxcode::wxTreeListItem::GetChildren().

Referenced by wxcode::wxTreeListCtrl::AppendItem().

void wxcode::wxTreeListMainWindow::AssignButtonsImageList ( wxImageList *  imageList  ) 

Definition at line 3171 of file treelistctrl.cpp.

References SetButtonsImageList().

Referenced by wxcode::wxTreeListCtrl::AssignButtonsImageList().

void wxcode::wxTreeListMainWindow::AssignImageList ( wxImageList *  imageList  ) 

Definition at line 3161 of file treelistctrl.cpp.

References SetImageList().

Referenced by wxcode::wxTreeListCtrl::AssignImageList().

void wxcode::wxTreeListMainWindow::AssignStateImageList ( wxImageList *  imageList  ) 

Definition at line 3166 of file treelistctrl.cpp.

References SetStateImageList().

Referenced by wxcode::wxTreeListCtrl::AssignStateImageList().

void wxcode::wxTreeListMainWindow::CalculateLevel ( wxTreeListItem item,
wxDC &  dc,
int  level,
int &  y,
int  x_maincol 
) [protected]

Definition at line 4322 of file treelistctrl.cpp.

References CalculateSize(), wxcode::wxTreeListItem::GetChildren(), GetLineHeight(), HasButtons(), wxcode::wxTreeListItem::IsExpanded(), wxcode::LINEATROOT, wxcode::MARGIN, wxcode::wxTreeListItem::SetX(), and wxcode::wxTreeListItem::SetY().

Referenced by CalculatePositions().

void wxcode::wxTreeListMainWindow::CalculateLineHeight (  )  [protected]

Definition at line 3103 of file treelistctrl.cpp.

Referenced by SetButtonsImageList(), SetFont(), SetImageList(), and SetLineSpacing().

void wxcode::wxTreeListMainWindow::CalculatePositions (  )  [protected]

Definition at line 4361 of file treelistctrl.cpp.

References CalculateLevel(), wxcode::wxTreeListHeaderWindow::GetColumnWidth(), wxcode::wxTreeListCtrl::GetHeaderWindow(), GetMainColumn(), wxcode::wxTreeListHeaderWindow::IsColumnShown(), m_owner, and m_rootItem.

Referenced by EditLabel(), ScrollTo(), and SelectItem().

void wxcode::wxTreeListMainWindow::CalculateSize ( wxTreeListItem item,
wxDC &  dc 
) [protected]

Definition at line 4297 of file treelistctrl.cpp.

References GetItemFont().

Referenced by CalculateLevel(), SetItemImage(), and SetItemText().

void wxcode::wxTreeListMainWindow::Collapse ( const wxTreeItemId &  item  ) 

Definition at line 2726 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 2745 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 1914 of file treelistctrl.cpp.

References m_owner, and SetBackgroundColour().

void wxcode::wxTreeListMainWindow::Delete ( const wxTreeItemId &  item  ) 

Definition at line 2552 of file treelistctrl.cpp.

References DoDeleteItem(), wxcode::wxTreeListItem::GetItemParent(), and m_rootItem.

Referenced by wxcode::wxTreeListCtrl::Delete().

void wxcode::wxTreeListMainWindow::DeleteChildren ( const wxTreeItemId &  item  ) 

Definition at line 2582 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 2569 of file treelistctrl.cpp.

References DeleteChildren(), m_rootItem, m_selectItem, m_shiftItem, SendEvent(), and SetCurrentItem().

Referenced by wxcode::wxTreeListCtrl::DeleteRoot(), and ~wxTreeListMainWindow().

void wxcode::wxTreeListMainWindow::DoDeleteItem ( wxTreeListItem item  )  [protected]

Definition at line 2598 of file treelistctrl.cpp.

References wxcode::wxEditTextCtrl::EndEdit(), wxcode::wxTreeListItem::GetChildren(), GetItemData(), wxcode::wxTreeListItem::GetItemParent(), m_curItem, m_dragItem, m_editControl, m_selectItem, m_shiftItem, SelectItem(), SendEvent(), and SetCurrentItem().

Referenced by Delete(), and DeleteChildren().

wxTreeItemId wxcode::wxTreeListMainWindow::DoInsertItem ( const wxTreeItemId &  parent,
size_t  previous,
const wxString &  text,
int  image,
int  selectedImage,
wxTreeItemData *  data 
) [protected]

Definition at line 2459 of file treelistctrl.cpp.

References GetColumnCount(), wxcode::wxTreeListItem::Insert(), and wxTreeListItem.

Referenced by AppendItem(), InsertItem(), and PrependItem().

void wxcode::wxTreeListMainWindow::EditLabel ( const wxTreeItemId &  item,
int  column 
)

Definition at line 3889 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(), wxcode::wxTreeListHeaderWindow::IsColumnShown(), m_editControl, m_editItem, m_owner, SendEvent(), and wxEditTextCtrl.

Referenced by wxcode::wxTreeListCtrl::EditLabel(), and OnRenameTimer().

void wxcode::wxTreeListMainWindow::EndEdit ( bool  isCancelled  ) 

Definition at line 3969 of file treelistctrl.cpp.

References wxcode::wxEditTextCtrl::EndEdit(), and m_editControl.

Referenced by wxcode::wxTreeListCtrl::EndEdit(), and wxcode::wxTreeListHeaderWindow::OnMouse().

void wxcode::wxTreeListMainWindow::EnsureVisible ( const wxTreeItemId &  item  ) 

Definition at line 2944 of file treelistctrl.cpp.

References Expand(), wxcode::wxTreeListItem::GetItemParent(), RefreshLine(), and ScrollTo().

Referenced by wxcode::wxTreeListCtrl::EnsureVisible(), OnChar(), and OnMouse().

void wxcode::wxTreeListMainWindow::Expand ( const wxTreeItemId &  item  ) 

Definition at line 2694 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 2713 of file treelistctrl.cpp.

References Expand(), GetFirstChild(), GetNextChild(), and IsExpanded().

Referenced by wxcode::wxTreeListCtrl::ExpandAll(), and OnChar().

void wxcode::wxTreeListMainWindow::FillArray ( wxTreeListItem ,
wxArrayTreeItemIds &   
) const [protected]

Definition at line 2926 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 3055 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 4526 of file treelistctrl.cpp.

References GetFirstChild(), GetItemWidth(), GetNextChild(), and GetRootItem().

Referenced by wxcode::wxTreeListHeaderWindow::OnMouse().

bool wxcode::wxTreeListMainWindow::GetBoundingRect ( const wxTreeItemId &  item,
wxRect &  rect,
bool  textOnly = false 
) const

Referenced by wxcode::wxTreeListCtrl::GetBoundingRect(), and IsVisible().

wxImageList* wxcode::wxTreeListMainWindow::GetButtonsImageList (  )  const [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 1999 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetChildrenCount().

int wxcode::wxTreeListMainWindow::GetColumnCount (  )  const [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(), PaintItem(), and wxcode::wxTreeListItem::SetText().

size_t wxcode::wxTreeListMainWindow::GetCount (  )  const

Definition at line 1984 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::GetChildrenCount(), and m_rootItem.

Referenced by wxcode::wxTreeListCtrl::GetCount().

int wxcode::wxTreeListMainWindow::GetCurrentColumn (  )  const [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 2297 of file treelistctrl.cpp.

Referenced by AddRoot(), ExpandAll(), FindItem(), GetBestColumnWidth(), wxcode::wxTreeListCtrl::GetFirstChild(), OnChar(), and SelectAll().

wxTreeItemId wxcode::wxTreeListMainWindow::GetFirstExpandedItem (  )  const

Definition at line 2401 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 2415 of file treelistctrl.cpp.

References GetNextVisible(), GetRootItem(), and IsVisible().

Referenced by wxcode::wxTreeListCtrl::GetFirstVisible(), and OnChar().

wxImageList* wxcode::wxTreeListMainWindow::GetImageList (  )  const [inline]

Definition at line 315 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetImageList().

unsigned int wxcode::wxTreeListMainWindow::GetIndent (  )  const [inline]

Definition at line 296 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetIndent(), and GetItemWidth().

wxColour wxcode::wxTreeListMainWindow::GetItemBackgroundColour ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2092 of file treelistctrl.cpp.

References GetItemBackgroundColour().

wxColour wxcode::wxTreeListMainWindow::GetItemBackgroundColour ( const wxTreeItemId &  item  )  const

Definition at line 2082 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetItemBackgroundColour(), GetItemBackgroundColour(), and PaintItem().

bool wxcode::wxTreeListMainWindow::GetItemBold ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2056 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::GetItemBold ( const wxTreeItemId &  item  )  const

Definition at line 2052 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetItemBold().

wxTreeItemData * wxcode::wxTreeListMainWindow::GetItemData ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2047 of file treelistctrl.cpp.

wxTreeItemData * wxcode::wxTreeListMainWindow::GetItemData ( const wxTreeItemId &  item  )  const

Definition at line 2043 of file treelistctrl.cpp.

Referenced by DoDeleteItem(), and wxcode::wxTreeListCtrl::GetItemData().

wxFont wxcode::wxTreeListMainWindow::GetItemFont ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2115 of file treelistctrl.cpp.

wxFont wxcode::wxTreeListMainWindow::GetItemFont ( const wxTreeItemId &  item  )  const

Definition at line 2103 of file treelistctrl.cpp.

Referenced by CalculateSize(), wxcode::wxTreeListCtrl::GetItemFont(), GetItemWidth(), and PaintItem().

int wxcode::wxTreeListMainWindow::GetItemImage ( const wxTreeItemId &  item,
int  column,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
) const

Definition at line 2038 of file treelistctrl.cpp.

int wxcode::wxTreeListMainWindow::GetItemImage ( const wxTreeItemId &  item,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
) const [inline]

Definition at line 341 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetItemImage().

wxTreeItemId wxcode::wxTreeListMainWindow::GetItemParent ( const wxTreeItemId &  item  )  const

Definition at line 2292 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetItemParent(), GetNext(), GetPrev(), and OnChar().

wxString wxcode::wxTreeListMainWindow::GetItemText ( wxTreeItemData *  item,
int  column 
) const

Definition at line 4485 of file treelistctrl.cpp.

References IsVirtual(), m_owner, and wxcode::wxTreeListCtrl::OnGetItemText().

wxString wxcode::wxTreeListMainWindow::GetItemText ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 4478 of file treelistctrl.cpp.

References IsVirtual(), m_owner, and wxcode::wxTreeListCtrl::OnGetItemText().

Referenced by FindItem(), wxcode::wxTreeListCtrl::GetItemText(), wxcode::wxTreeListItem::GetText(), and OnChar().

wxColour wxcode::wxTreeListMainWindow::GetItemTextColour ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2071 of file treelistctrl.cpp.

References GetItemTextColour().

wxColour wxcode::wxTreeListMainWindow::GetItemTextColour ( const wxTreeItemId &  item  )  const

Definition at line 2061 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetItemTextColour(), GetItemTextColour(), and PaintItem().

int wxcode::wxTreeListMainWindow::GetItemWidth ( int  column,
wxTreeListItem item 
)

Definition at line 4495 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::GetCurrentImage(), GetIndent(), GetItemFont(), wxcode::wxTreeListItem::GetItemParent(), GetMainColumn(), GetRootItem(), wxcode::wxTreeListItem::GetText(), 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 2323 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetLastChild(), OnChar(), and SelectAll().

wxTreeItemId wxcode::wxTreeListMainWindow::GetLastVisible ( bool  fullRow,
bool  within 
) const

Definition at line 2433 of file treelistctrl.cpp.

References GetNext(), GetRootItem(), and IsVisible().

Referenced by wxcode::wxTreeListCtrl::GetLastVisible(), and OnChar().

int wxcode::wxTreeListMainWindow::GetLineHeight ( wxTreeListItem item  )  const [protected]

Definition at line 3199 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::GetHeight().

Referenced by CalculateLevel(), wxcode::wxTreeListItem::GetSize(), wxcode::wxTreeListItem::HitTest(), PaintItem(), PaintLevel(), RefreshLine(), and ScrollTo().

unsigned int wxcode::wxTreeListMainWindow::GetLineSpacing (  )  const [inline]

Definition at line 300 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetLineSpacing().

int wxcode::wxTreeListMainWindow::GetMainColumn (  )  const [inline]

Definition at line 616 of file treelistctrl.cpp.

Referenced by CalculatePositions(), EditLabel(), wxcode::wxTreeListItem::GetImage(), GetItemWidth(), wxcode::wxTreeListCtrl::GetMainColumn(), wxcode::wxTreeListItem::HitTest(), PaintItem(), and wxcode::wxTreeListItem::SetImage().

wxTreeItemId wxcode::wxTreeListMainWindow::GetNext ( const wxTreeItemId &  item,
bool  fulltree = true 
) const

Definition at line 2364 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 2305 of file treelistctrl.cpp.

Referenced by ExpandAll(), GetBestColumnWidth(), and wxcode::wxTreeListCtrl::GetNextChild().

wxTreeItemId wxcode::wxTreeListMainWindow::GetNextExpanded ( const wxTreeItemId &  item  )  const

Definition at line 2405 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 2333 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 2423 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 2384 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 2314 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetPrevChild().

wxTreeItemId wxcode::wxTreeListMainWindow::GetPrevExpanded ( const wxTreeItemId &  item  )  const

Definition at line 2410 of file treelistctrl.cpp.

References GetPrev().

Referenced by wxcode::wxTreeListCtrl::GetPrevExpanded().

wxTreeItemId wxcode::wxTreeListMainWindow::GetPrevSibling ( const wxTreeItemId &  item  )  const

Definition at line 2348 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 2443 of file treelistctrl.cpp.

References GetPrev(), and IsVisible().

Referenced by wxcode::wxTreeListCtrl::GetPrevVisible().

wxTreeItemId wxcode::wxTreeListMainWindow::GetRootItem (  )  const [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().

wxTreeItemId wxcode::wxTreeListMainWindow::GetSelection (  )  const [inline]

Definition at line 440 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetSelection().

size_t wxcode::wxTreeListMainWindow::GetSelections ( wxArrayTreeItemIds &   )  const

Definition at line 2937 of file treelistctrl.cpp.

References FillArray(), and GetRootItem().

Referenced by wxcode::wxTreeListCtrl::GetSelections().

wxImageList* wxcode::wxTreeListMainWindow::GetStateImageList (  )  const [inline]

Definition at line 316 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::GetStateImageList().

bool wxcode::wxTreeListMainWindow::HasButtons ( void   )  const [inline, protected]

Definition at line 696 of file treelistctrl.cpp.

Referenced by CalculateLevel(), GetItemWidth(), wxcode::wxTreeListItem::HitTest(), PaintItem(), and PaintLevel().

bool wxcode::wxTreeListMainWindow::HasChildren ( const wxTreeItemId &  item  )  const

Definition at line 2262 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::HasChildren(), and OnChar().

wxTreeItemId wxcode::wxTreeListMainWindow::HitTest ( const wxPoint &  point,
int &  flags,
int &  column 
)

Definition at line 3839 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::HitTest(), and m_rootItem.

wxTreeItemId wxcode::wxTreeListMainWindow::HitTest ( const wxPoint &  point,
int &  flags 
) [inline]

Definition at line 557 of file treelistctrl.cpp.

wxTreeItemId wxcode::wxTreeListMainWindow::HitTest ( const wxPoint &  point  )  [inline]

Definition at line 555 of file treelistctrl.cpp.

References flags.

Referenced by wxcode::wxTreeListCtrl::HitTest().

void wxcode::wxTreeListMainWindow::Init (  )  [protected]

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 2528 of file treelistctrl.cpp.

References DoInsertItem().

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 2513 of file treelistctrl.cpp.

References DoInsertItem(), and wxcode::wxTreeListItem::GetChildren().

Referenced by wxcode::wxTreeListCtrl::InsertItem().

bool wxcode::wxTreeListMainWindow::IsBold ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2283 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::IsBold ( const wxTreeItemId &  item  )  const

bool wxcode::wxTreeListMainWindow::IsExpanded ( const wxTreeItemId &  item  )  const

Definition at line 2273 of file treelistctrl.cpp.

Referenced by ExpandAll(), wxcode::wxTreeListCtrl::IsExpanded(), OnChar(), and Toggle().

bool wxcode::wxTreeListMainWindow::IsSelected ( const wxTreeItemId &  item  )  const

Definition at line 2278 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::IsSelected().

bool wxcode::wxTreeListMainWindow::IsVirtual (  )  const [inline]

Definition at line 288 of file treelistctrl.cpp.

References wxTR_VIRTUAL.

Referenced by GetItemText(), and wxcode::wxTreeListItem::IsVirtual().

bool wxcode::wxTreeListMainWindow::IsVisible ( const wxTreeItemId &  item,
bool  fullRow,
bool  within = true 
) const

Definition at line 2237 of file treelistctrl.cpp.

References GetBoundingRect(), wxcode::wxTreeListCtrl::GetItemParent(), wxcode::wxTreeListCtrl::IsExpanded(), and m_rootItem.

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 3037 of file treelistctrl.cpp.

References wxcode::wxTL_MODE_FIND_NOCASE, and wxcode::wxTL_MODE_FIND_PARTIAL.

Referenced by FindItem(), and OnChar().

void wxcode::wxTreeListMainWindow::OnCaptureLost ( wxMouseCaptureLostEvent &  WXUNUSED(event)  )  [inline]

Definition at line 607 of file treelistctrl.cpp.

void wxcode::wxTreeListMainWindow::OnChar ( wxKeyEvent &  event  ) 

Definition at line 3606 of file treelistctrl.cpp.

References Collapse(), EnsureVisible(), Expand(), ExpandAll(), wxcode::FIND_TIMER_TICKS, FindItem(), GetColumnCount(), GetFirstChild(), GetFirstVisible(), wxcode::wxTreeListItem::GetHeight(), GetItemParent(), GetItemText(), GetLastChild(), GetLastVisible(), GetNextSibling(), GetPrevSibling(), GetRootItem(), HasChildren(), wxcode::wxTreeListItem::HasPlus(), wxcode::wxTreeListItem::HitTest(), IsExpanded(), m_curItem, m_rootItem, m_shiftItem, MatchItemText(), RefreshLine(), SelectItem(), SendEvent(), SetCurrentItem(), Toggle(), wxcode::wxTL_MODE_FIND_NOCASE, wxcode::wxTL_MODE_FIND_PARTIAL, and wxcode::wxTL_MODE_NAV_EXPANDED.

int wxcode::wxTreeListMainWindow::OnCompareItems ( const wxTreeItemId &  item1,
const wxTreeItemId &  item2 
) [virtual]

Definition at line 3007 of file treelistctrl.cpp.

References m_owner, and wxcode::wxTreeListCtrl::OnCompareItems().

Referenced by wxcode::tree_ctrl_compare_func().

void wxcode::wxTreeListMainWindow::OnEraseBackground ( wxEraseEvent &  WXUNUSED(event)  )  [inline]

Definition at line 600 of file treelistctrl.cpp.

void wxcode::wxTreeListMainWindow::OnIdle ( wxIdleEvent &  event  ) 

void wxcode::wxTreeListMainWindow::OnKillFocus ( wxFocusEvent &  event  ) 

Definition at line 3598 of file treelistctrl.cpp.

References m_curItem, RefreshLine(), and RefreshSelected().

void wxcode::wxTreeListMainWindow::OnMouse ( wxMouseEvent &  event  ) 

Definition at line 3973 of file treelistctrl.cpp.

References EnsureVisible(), GetCurrentColumn(), wxcode::wxTreeListCtrl::GetHeaderWindow(), wxcode::wxTreeListItem::GetToolTip(), wxcode::wxTreeListItem::HasPlus(), wxcode::wxTreeListItem::HitTest(), wxcode::wxTreeListHeaderWindow::IsColumnEditable(), wxcode::wxTreeListItem::IsSelected(), m_curItem, m_dragItem, m_owner, m_rootItem, m_shiftItem, m_toolTipItem, RefreshSelected(), wxcode::RENAME_TIMER_TICKS, SelectItem(), SendEvent(), SetCurrentItem(), SetFocus(), Toggle(), and wxcode::wxTREE_HITTEST_ONITEMCOLUMN.

void wxcode::wxTreeListMainWindow::OnPaint ( wxPaintEvent &  event  ) 

void wxcode::wxTreeListMainWindow::OnRenameAccept ( bool  isCancelled  )  [protected]

Definition at line 3956 of file treelistctrl.cpp.

References m_editItem, SendEvent(), and SetItemText().

Referenced by wxcode::wxEditTextCtrl::EndEdit().

void wxcode::wxTreeListMainWindow::OnRenameTimer (  )  [protected]

Definition at line 3952 of file treelistctrl.cpp.

References EditLabel(), GetCurrentColumn(), and m_curItem.

Referenced by wxcode::wxTreeListRenameTimer::Notify().

void wxcode::wxTreeListMainWindow::OnScroll ( wxScrollWinEvent &  event  ) 

Definition at line 4283 of file treelistctrl.cpp.

References wxcode::wxTreeListCtrl::GetHeaderWindow(), and m_owner.

void wxcode::wxTreeListMainWindow::OnSetFocus ( wxFocusEvent &  event  ) 

Definition at line 3591 of file treelistctrl.cpp.

References m_curItem, RefreshLine(), and RefreshSelected().

void wxcode::wxTreeListMainWindow::PaintItem ( wxTreeListItem item,
wxDC &  dc 
) [protected]

Definition at line 3207 of file treelistctrl.cpp.

References wxcode::wxTreeListColumnInfo::GetAlignment(), wxcode::wxTreeListHeaderWindow::GetColumn(), GetColumnCount(), wxcode::wxTreeListHeaderWindow::GetColumnWidth(), wxcode::wxTreeListCtrl::GetHeaderWindow(), GetItemBackgroundColour(), GetItemFont(), GetItemTextColour(), GetLineHeight(), GetMainColumn(), wxcode::wxTreeListCtrl::GetMainWindow(), wxcode::wxTreeListItem::GetText(), wxcode::wxTreeListHeaderWindow::GetWidth(), wxcode::wxTreeListItem::GetY(), HasButtons(), wxcode::wxTreeListHeaderWindow::IsColumnShown(), wxcode::wxTreeListItem::IsSelected(), wxcode::LINEATROOT, m_curItem, m_owner, wxcode::MARGIN, celeste::max(), wxcode::NO_IMAGE, and wxTR_COLUMN_LINES.

Referenced by PaintLevel().

void wxcode::wxTreeListMainWindow::PaintLevel ( wxTreeListItem item,
wxDC &  dc,
int  level,
int &  y,
int  x_maincol 
) [protected]

Definition at line 3367 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListCtrl::GetHeaderWindow(), GetLineHeight(), wxcode::wxTreeListHeaderWindow::GetWidth(), wxcode::wxTreeListItem::GetX(), HasButtons(), wxcode::wxTreeListItem::HasPlus(), wxcode::wxTreeListItem::IsExpanded(), wxcode::wxTreeListItem::IsSelected(), wxcode::LINEATROOT, m_owner, wxcode::MARGIN, celeste::max(), PaintItem(), wxcode::wxTreeListItem::SetX(), and wxcode::wxTreeListItem::SetY().

wxTreeItemId wxcode::wxTreeListMainWindow::PrependItem ( const wxTreeItemId &  parent,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 2506 of file treelistctrl.cpp.

References DoInsertItem().

Referenced by wxcode::wxTreeListCtrl::PrependItem().

void wxcode::wxTreeListMainWindow::RefreshLine ( wxTreeListItem item  )  [protected]

Definition at line 4402 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().

void wxcode::wxTreeListMainWindow::RefreshSelected (  )  [protected]

Definition at line 4421 of file treelistctrl.cpp.

References m_rootItem, and RefreshSelectedUnder().

Referenced by OnKillFocus(), OnMouse(), and OnSetFocus().

void wxcode::wxTreeListMainWindow::RefreshSelectedUnder ( wxTreeListItem item  )  [protected]

Definition at line 4429 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::IsSelected(), and RefreshLine().

Referenced by RefreshSelected().

void wxcode::wxTreeListMainWindow::RefreshSubtree ( wxTreeListItem item  )  [protected]

Definition at line 4382 of file treelistctrl.cpp.

References AdjustMyScrollbars(), and wxcode::wxTreeListItem::GetY().

void wxcode::wxTreeListMainWindow::ScrollTo ( const wxTreeItemId &  item  ) 

Definition at line 2959 of file treelistctrl.cpp.

References CalculatePositions(), wxcode::wxTreeListCtrl::GetHeaderWindow(), GetLineHeight(), wxcode::wxTreeListItem::GetSize(), wxcode::wxTreeListHeaderWindow::GetWidth(), wxcode::wxTreeListItem::GetY(), m_owner, and m_rootItem.

Referenced by EnsureVisible(), and wxcode::wxTreeListCtrl::ScrollTo().

void wxcode::wxTreeListMainWindow::SelectAll (  ) 

Definition at line 2903 of file treelistctrl.cpp.

References GetFirstChild(), GetLastChild(), GetRootItem(), m_curItem, m_rootItem, 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 2839 of file treelistctrl.cpp.

References CalculatePositions(), wxcode::wxTreeListItem::GetY(), wxcode::wxTreeListItem::IsSelected(), m_curItem, m_selectItem, RefreshLine(), SendEvent(), wxcode::wxTreeListItem::SetHilight(), TagAllChildrenUntilLast(), TagNextChildren(), Unselect(), and UnselectAll().

Referenced by DoDeleteItem(), OnChar(), OnMouse(), and wxcode::wxTreeListCtrl::SelectItem().

bool wxcode::wxTreeListMainWindow::SendEvent ( wxEventType  event_type,
wxTreeListItem item = NULL,
wxTreeEvent *  event = NULL 
) [protected]

Definition at line 4563 of file treelistctrl.cpp.

References m_owner.

Referenced by Collapse(), DeleteRoot(), DoDeleteItem(), EditLabel(), Expand(), OnChar(), OnMouse(), OnRenameAccept(), SelectAll(), and SelectItem().

bool wxcode::wxTreeListMainWindow::SetBackgroundColour ( const wxColour &  colour  )  [virtual]

Definition at line 4445 of file treelistctrl.cpp.

Referenced by Create(), and wxcode::wxTreeListCtrl::SetBackgroundColour().

void wxcode::wxTreeListMainWindow::SetButtonsImageList ( wxImageList *  imageList  ) 

Definition at line 3153 of file treelistctrl.cpp.

References CalculateLineHeight().

Referenced by AssignButtonsImageList(), and wxcode::wxTreeListCtrl::SetButtonsImageList().

void wxcode::wxTreeListMainWindow::SetCurrentItem ( wxTreeListItem item  )  [protected]

Definition at line 2680 of file treelistctrl.cpp.

References m_curItem, and RefreshLine().

void wxcode::wxTreeListMainWindow::SetCurrentItem ( const wxTreeItemId &  item  ) 

Definition at line 2677 of file treelistctrl.cpp.

Referenced by AddRoot(), DeleteRoot(), DoDeleteItem(), OnChar(), OnMouse(), and wxcode::wxTreeListCtrl::SetCurrentItem().

void wxcode::wxTreeListMainWindow::SetDragItem ( const wxTreeItemId &  item = (wxTreeItemId *) NULL  ) 

Definition at line 3096 of file treelistctrl.cpp.

References m_dragItem, and RefreshLine().

Referenced by wxcode::wxTreeListCtrl::SetDragItem().

void wxcode::wxTreeListMainWindow::SetFocus (  ) 

Definition at line 4490 of file treelistctrl.cpp.

Referenced by wxcode::wxEditTextCtrl::EndEdit(), OnMouse(), and wxcode::wxTreeListCtrl::SetFocus().

bool wxcode::wxTreeListMainWindow::SetFont ( const wxFont &  font  )  [virtual]

Definition at line 2219 of file treelistctrl.cpp.

References CalculateLineHeight().

Referenced by wxcode::wxTreeListCtrl::SetFont().

bool wxcode::wxTreeListMainWindow::SetForegroundColour ( const wxColour &  colour  )  [virtual]

Definition at line 4452 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::SetForegroundColour().

void wxcode::wxTreeListMainWindow::SetImageList ( wxImageList *  imageList  ) 

Definition at line 3139 of file treelistctrl.cpp.

References CalculateLineHeight().

Referenced by AssignImageList(), and wxcode::wxTreeListCtrl::SetImageList().

void wxcode::wxTreeListMainWindow::SetIndent ( unsigned int  indent  ) 

Definition at line 1988 of file treelistctrl.cpp.

References wxcode::MININDENT.

Referenced by wxcode::wxTreeListCtrl::SetIndent().

void wxcode::wxTreeListMainWindow::SetItemBackgroundColour ( const wxTreeItemId &  item,
int  column,
const wxColour &  colour 
)

Definition at line 2198 of file treelistctrl.cpp.

References RefreshLine().

void wxcode::wxTreeListMainWindow::SetItemBackgroundColour ( const wxTreeItemId &  item,
const wxColour &  colour 
)

Definition at line 2192 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxcode::wxTreeListCtrl::SetItemBackgroundColour().

void wxcode::wxTreeListMainWindow::SetItemBold ( const wxTreeItemId &  item,
int  column,
bool  bold = true 
)

Definition at line 2170 of file treelistctrl.cpp.

References RefreshLine().

void wxcode::wxTreeListMainWindow::SetItemBold ( const wxTreeItemId &  item,
bool  bold = true 
)

Definition at line 2162 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxcode::wxTreeListCtrl::SetItemBold().

void wxcode::wxTreeListMainWindow::SetItemData ( const wxTreeItemId &  item,
int  column,
wxTreeItemData *  data 
)

Definition at line 2157 of file treelistctrl.cpp.

void wxcode::wxTreeListMainWindow::SetItemData ( const wxTreeItemId &  item,
wxTreeItemData *  data 
)

Definition at line 2153 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::SetItemData().

void wxcode::wxTreeListMainWindow::SetItemFont ( const wxTreeItemId &  item,
int  column,
const wxFont &  font 
)

Definition at line 2211 of file treelistctrl.cpp.

References RefreshLine().

void wxcode::wxTreeListMainWindow::SetItemFont ( const wxTreeItemId &  item,
const wxFont &  font 
)

Definition at line 2205 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxcode::wxTreeListCtrl::SetItemFont().

void wxcode::wxTreeListMainWindow::SetItemHasChildren ( const wxTreeItemId &  item,
bool  has = true 
)

Definition at line 2131 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxcode::wxTreeListCtrl::SetItemHasChildren().

void wxcode::wxTreeListMainWindow::SetItemImage ( const wxTreeItemId &  item,
int  column,
int  image,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
)

Definition at line 2138 of file treelistctrl.cpp.

References CalculateSize(), and RefreshLine().

void wxcode::wxTreeListMainWindow::SetItemImage ( const wxTreeItemId &  item,
int  image,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
) [inline]

Definition at line 375 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListCtrl::SetItemImage().

void wxcode::wxTreeListMainWindow::SetItemParent ( const wxTreeItemId &  parent,
const wxTreeItemId &  item 
)

Definition at line 2657 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::GetItemParent(), m_rootItem, and wxcode::wxTreeListItem::SetItemParent().

Referenced by wxcode::wxTreeListCtrl::SetItemParent().

void wxcode::wxTreeListMainWindow::SetItemText ( const wxTreeItemId &  item,
int  column,
const wxString &  text 
)

Definition at line 4459 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,
int  column,
const wxColour &  colour 
)

Definition at line 2185 of file treelistctrl.cpp.

References RefreshLine().

void wxcode::wxTreeListMainWindow::SetItemTextColour ( const wxTreeItemId &  item,
const wxColour &  colour 
)

Definition at line 2179 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxcode::wxTreeListCtrl::SetItemTextColour().

void wxcode::wxTreeListMainWindow::SetItemToolTip ( const wxTreeItemId &  item,
const wxString &  tip 
)

Definition at line 2026 of file treelistctrl.cpp.

References m_toolTipItem.

Referenced by wxcode::wxTreeListCtrl::SetItemToolTip().

void wxcode::wxTreeListMainWindow::SetLineSpacing ( unsigned int  spacing  ) 

Definition at line 1993 of file treelistctrl.cpp.

References CalculateLineHeight().

Referenced by wxcode::wxTreeListCtrl::SetLineSpacing().

void wxcode::wxTreeListMainWindow::SetMainColumn ( int  column  )  [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 3147 of file treelistctrl.cpp.

Referenced by AssignStateImageList(), and wxcode::wxTreeListCtrl::SetStateImageList().

void wxcode::wxTreeListMainWindow::SetToolTip ( wxToolTip *  tip  ) 

Definition at line 2020 of file treelistctrl.cpp.

References m_toolTipItem.

void wxcode::wxTreeListMainWindow::SetToolTip ( const wxString &  tip  ) 

Definition at line 2015 of file treelistctrl.cpp.

References m_toolTipItem.

Referenced by wxcode::wxTreeListCtrl::SetToolTip().

void wxcode::wxTreeListMainWindow::SetWindowStyle ( const long  styles  ) 

Definition at line 2005 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 3018 of file treelistctrl.cpp.

References wxcode::s_treeBeingSorted, and wxcode::tree_ctrl_compare_func().

Referenced by wxcode::wxTreeListCtrl::SortChildren().

bool wxcode::wxTreeListMainWindow::TagAllChildrenUntilLast ( wxTreeListItem crt_item,
wxTreeListItem last_item 
) [protected]

Definition at line 2821 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().

bool wxcode::wxTreeListMainWindow::TagNextChildren ( wxTreeListItem crt_item,
wxTreeListItem last_item 
) [protected]

Definition at line 2798 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 2752 of file treelistctrl.cpp.

References Collapse(), Expand(), and IsExpanded().

Referenced by OnChar(), OnMouse(), and wxcode::wxTreeListCtrl::Toggle().

void wxcode::wxTreeListMainWindow::Unselect (  ) 

Definition at line 2762 of file treelistctrl.cpp.

References m_selectItem, RefreshLine(), and wxcode::wxTreeListItem::SetHilight().

Referenced by SelectItem(), and wxcode::wxTreeListCtrl::Unselect().

void wxcode::wxTreeListMainWindow::UnselectAll (  ) 

Definition at line 2788 of file treelistctrl.cpp.

References GetRootItem(), and UnselectAllChildren().

Referenced by SelectItem(), SetWindowStyle(), and wxcode::wxTreeListCtrl::UnselectAll().

void wxcode::wxTreeListMainWindow::UnselectAllChildren ( wxTreeListItem item  )  [protected]

Definition at line 2770 of file treelistctrl.cpp.

References wxcode::wxTreeListItem::GetChildren(), wxcode::wxTreeListItem::HasChildren(), wxcode::wxTreeListItem::IsSelected(), m_curItem, m_selectItem, RefreshLine(), and wxcode::wxTreeListItem::SetHilight().

Referenced by UnselectAll().


Friends And Related Function Documentation

friend class wxEditTextCtrl [friend]

Definition at line 257 of file treelistctrl.cpp.

Referenced by EditLabel().

friend class wxTreeListItem [friend]

Definition at line 255 of file treelistctrl.cpp.

Referenced by AddRoot(), and DoInsertItem().

friend class wxTreeListRenameTimer [friend]

Definition at line 256 of file treelistctrl.cpp.


Member Data Documentation

wxFont wxcode::wxTreeListMainWindow::m_boldFont [protected]

Definition at line 628 of file treelistctrl.cpp.

int wxcode::wxTreeListMainWindow::m_btnHeight [protected]

Definition at line 641 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListItem::HitTest().

int wxcode::wxTreeListMainWindow::m_btnHeight2 [protected]

Definition at line 641 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListItem::HitTest().

int wxcode::wxTreeListMainWindow::m_btnWidth [protected]

Definition at line 640 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListItem::HitTest().

int wxcode::wxTreeListMainWindow::m_btnWidth2 [protected]

Definition at line 640 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListItem::HitTest().

int wxcode::wxTreeListMainWindow::m_curColumn [protected]

Definition at line 636 of file treelistctrl.cpp.

wxTreeListItem* wxcode::wxTreeListMainWindow::m_curItem [protected]

Definition at line 631 of file treelistctrl.cpp.

Referenced by DoDeleteItem(), OnChar(), OnKillFocus(), OnMouse(), OnRenameTimer(), OnSetFocus(), PaintItem(), SelectAll(), SelectItem(), SetCurrentItem(), and UnselectAllChildren().

bool wxcode::wxTreeListMainWindow::m_dirty

Definition at line 652 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListHeaderWindow::AddColumn(), wxcode::wxTreeListHeaderWindow::InsertColumn(), wxcode::wxTreeListHeaderWindow::RemoveColumn(), wxcode::wxTreeListHeaderWindow::SetColumn(), and wxcode::wxTreeListHeaderWindow::SetColumnWidth().

wxPen wxcode::wxTreeListMainWindow::m_dottedPen [protected]

Definition at line 647 of file treelistctrl.cpp.

int wxcode::wxTreeListMainWindow::m_dragCol [protected]

Definition at line 668 of file treelistctrl.cpp.

wxTreeListItem* wxcode::wxTreeListMainWindow::m_dragItem [protected]

Definition at line 667 of file treelistctrl.cpp.

Referenced by DoDeleteItem(), OnMouse(), and SetDragItem().

wxPoint wxcode::wxTreeListMainWindow::m_dragStartPos [protected]

Definition at line 666 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_editAccept [protected]

Definition at line 672 of file treelistctrl.cpp.

int wxcode::wxTreeListMainWindow::m_editCol [protected]

Definition at line 674 of file treelistctrl.cpp.

wxEditTextCtrl* wxcode::wxTreeListMainWindow::m_editControl [protected]

Definition at line 675 of file treelistctrl.cpp.

Referenced by DoDeleteItem(), EditLabel(), EndEdit(), wxcode::wxEditTextCtrl::EndEdit(), and ~wxTreeListMainWindow().

wxTreeListItem* wxcode::wxTreeListMainWindow::m_editItem [protected]

Definition at line 670 of file treelistctrl.cpp.

Referenced by EditLabel(), wxcode::wxEditTextCtrl::EndEdit(), and OnRenameAccept().

wxString wxcode::wxTreeListMainWindow::m_editRes [protected]

Definition at line 673 of file treelistctrl.cpp.

wxTimer* wxcode::wxTreeListMainWindow::m_editTimer [protected]

Definition at line 671 of file treelistctrl.cpp.

wxString wxcode::wxTreeListMainWindow::m_findStr [protected]

Definition at line 679 of file treelistctrl.cpp.

wxTimer* wxcode::wxTreeListMainWindow::m_findTimer [protected]

Definition at line 678 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_hasFocus [protected]

Definition at line 650 of file treelistctrl.cpp.

wxBrush* wxcode::wxTreeListMainWindow::m_hilightBrush [protected]

Definition at line 648 of file treelistctrl.cpp.

wxBrush * wxcode::wxTreeListMainWindow::m_hilightUnfocusedBrush [protected]

Definition at line 648 of file treelistctrl.cpp.

wxImageList * wxcode::wxTreeListMainWindow::m_imageListButtons [protected]

Definition at line 660 of file treelistctrl.cpp.

wxImageList* wxcode::wxTreeListMainWindow::m_imageListNormal [protected]

Definition at line 660 of file treelistctrl.cpp.

wxImageList * wxcode::wxTreeListMainWindow::m_imageListState [protected]

Definition at line 660 of file treelistctrl.cpp.

int wxcode::wxTreeListMainWindow::m_imgHeight [protected]

Definition at line 643 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListItem::HitTest().

int wxcode::wxTreeListMainWindow::m_imgHeight2 [protected]

Definition at line 643 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListItem::HitTest().

int wxcode::wxTreeListMainWindow::m_imgWidth [protected]

Definition at line 642 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListItem::HitTest().

int wxcode::wxTreeListMainWindow::m_imgWidth2 [protected]

Definition at line 642 of file treelistctrl.cpp.

unsigned short wxcode::wxTreeListMainWindow::m_indent [protected]

Definition at line 644 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_isDragging [protected]

Definition at line 665 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_isDragStarted [protected]

Definition at line 664 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_isItemToolTip [protected]

Definition at line 681 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_lastOnSame [protected]

Definition at line 657 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_left_down_selection [protected]

Definition at line 658 of file treelistctrl.cpp.

int wxcode::wxTreeListMainWindow::m_lineHeight [protected]

Definition at line 645 of file treelistctrl.cpp.

unsigned short wxcode::wxTreeListMainWindow::m_linespacing [protected]

Definition at line 646 of file treelistctrl.cpp.

int wxcode::wxTreeListMainWindow::m_main_column [protected]

Definition at line 635 of file treelistctrl.cpp.

wxFont wxcode::wxTreeListMainWindow::m_normalFont [protected]

Definition at line 627 of file treelistctrl.cpp.

wxTreeListCtrl* wxcode::wxTreeListMainWindow::m_owner [protected]

Definition at line 625 of file treelistctrl.cpp.

Referenced by AdjustMyScrollbars(), CalculatePositions(), Create(), EditLabel(), GetItemText(), wxcode::wxTreeListItem::HitTest(), OnCompareItems(), OnMouse(), OnScroll(), PaintItem(), PaintLevel(), ScrollTo(), and SendEvent().

bool wxcode::wxTreeListMainWindow::m_ownsImageListButtons [protected]

Definition at line 654 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_ownsImageListNormal [protected]

Definition at line 654 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_ownsImageListState [protected]

Definition at line 654 of file treelistctrl.cpp.

bool wxcode::wxTreeListMainWindow::m_ReverseSortOrder [protected]

Definition at line 638 of file treelistctrl.cpp.

wxTreeListItem* wxcode::wxTreeListMainWindow::m_rootItem [protected]

Definition at line 630 of file treelistctrl.cpp.

Referenced by AddRoot(), AdjustMyScrollbars(), CalculatePositions(), Delete(), DeleteRoot(), GetCount(), HitTest(), IsVisible(), OnChar(), OnMouse(), RefreshSelected(), ScrollTo(), SelectAll(), and SetItemParent().

wxTreeListItem* wxcode::wxTreeListMainWindow::m_selectItem [protected]

Definition at line 633 of file treelistctrl.cpp.

Referenced by DeleteRoot(), DoDeleteItem(), SelectItem(), Unselect(), and UnselectAllChildren().

wxTreeListItem* wxcode::wxTreeListMainWindow::m_shiftItem [protected]

Definition at line 632 of file treelistctrl.cpp.

Referenced by DeleteRoot(), DoDeleteItem(), OnChar(), and OnMouse().

int wxcode::wxTreeListMainWindow::m_sortColumn [protected]

Definition at line 637 of file treelistctrl.cpp.

wxString wxcode::wxTreeListMainWindow::m_toolTip [protected]

Definition at line 682 of file treelistctrl.cpp.

wxTreeListItem* wxcode::wxTreeListMainWindow::m_toolTipItem [protected]

Definition at line 683 of file treelistctrl.cpp.

Referenced by OnMouse(), SetItemToolTip(), and SetToolTip().


The documentation for this class was generated from the following file:
Generated on 25 Apr 2018 for Hugintrunk by  doxygen 1.4.7