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, long &cookie) const
wxTreeItemId GetNextChild (const wxTreeItemId &item, long &cookie) const
wxTreeItemId GetPrevChild (const wxTreeItemId &item, long &cookie) const
wxTreeItemId GetLastChild (const wxTreeItemId &item, long &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)
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 254 of file treelistctrl.cpp.


Constructor & Destructor Documentation

wxTreeListMainWindow::wxTreeListMainWindow (  )  [inline]

Definition at line 263 of file treelistctrl.cpp.

References wxTreeListHeaderWindow::Init().

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

References wxTreeListHeaderWindow::Init().

wxTreeListMainWindow::~wxTreeListMainWindow (  )  [virtual]

Definition at line 2089 of file treelistctrl.cpp.

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


Member Function Documentation

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

Definition at line 2627 of file treelistctrl.cpp.

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

Referenced by wxTreeListCtrl::AddRoot().

void wxTreeListMainWindow::AdjustMyScrollbars (  ) 

Definition at line 3354 of file treelistctrl.cpp.

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

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

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

Definition at line 2693 of file treelistctrl.cpp.

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

Referenced by wxTreeListCtrl::AppendItem().

void wxTreeListMainWindow::AssignButtonsImageList ( wxImageList *  imageList  ) 

Definition at line 3345 of file treelistctrl.cpp.

References SetButtonsImageList().

Referenced by wxTreeListCtrl::AssignButtonsImageList().

void wxTreeListMainWindow::AssignImageList ( wxImageList *  imageList  ) 

Definition at line 3335 of file treelistctrl.cpp.

References SetImageList().

Referenced by wxTreeListCtrl::AssignImageList().

void wxTreeListMainWindow::AssignStateImageList ( wxImageList *  imageList  ) 

Definition at line 3340 of file treelistctrl.cpp.

References SetStateImageList().

Referenced by wxTreeListCtrl::AssignStateImageList().

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

Definition at line 4518 of file treelistctrl.cpp.

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

Referenced by CalculatePositions().

void wxTreeListMainWindow::CalculateLineHeight (  )  [protected]

Definition at line 3277 of file treelistctrl.cpp.

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

void wxTreeListMainWindow::CalculatePositions (  )  [protected]

Definition at line 4557 of file treelistctrl.cpp.

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

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

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

Definition at line 4493 of file treelistctrl.cpp.

References GetItemFont().

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

void wxTreeListMainWindow::Collapse ( const wxTreeItemId &  item  ) 

Definition at line 2879 of file treelistctrl.cpp.

References wxTreeListItem::Collapse(), wxTreeListItem::HasPlus(), wxTreeListItem::IsExpanded(), and SendEvent().

Referenced by wxTreeListCtrl::Collapse(), CollapseAndReset(), OnChar(), and Toggle().

void wxTreeListMainWindow::CollapseAndReset ( const wxTreeItemId &  item  ) 

Definition at line 2898 of file treelistctrl.cpp.

References Collapse(), and DeleteChildren().

Referenced by wxTreeListCtrl::CollapseAndReset().

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

References m_owner, and SetBackgroundColour().

void wxTreeListMainWindow::Delete ( const wxTreeItemId &  item  ) 

Definition at line 2706 of file treelistctrl.cpp.

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

Referenced by wxTreeListCtrl::Delete().

void wxTreeListMainWindow::DeleteChildren ( const wxTreeItemId &  item  ) 

Definition at line 2736 of file treelistctrl.cpp.

References DoDeleteItem(), and wxTreeListItem::GetChildren().

Referenced by CollapseAndReset(), wxTreeListCtrl::DeleteChildren(), and DeleteRoot().

void wxTreeListMainWindow::DeleteRoot (  ) 

Definition at line 2723 of file treelistctrl.cpp.

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

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

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

Definition at line 2752 of file treelistctrl.cpp.

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

Referenced by Delete(), and DeleteChildren().

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

Definition at line 2601 of file treelistctrl.cpp.

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

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

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

Definition at line 4081 of file treelistctrl.cpp.

References CalculatePositions(), wxEditTextCtrl::EndEdit(), wxTreeListHeaderWindow::GetColumnAlignment(), GetColumnCount(), wxTreeListHeaderWindow::GetColumnWidth(), wxTreeListCtrl::GetHeaderWindow(), wxTreeListItem::GetHeight(), GetMainColumn(), wxTreeListItem::GetText(), wxTreeListItem::GetTextX(), wxTreeListItem::GetWidth(), wxTreeListItem::GetY(), wxTreeListHeaderWindow::IsColumnShown(), m_editControl, m_editItem, m_owner, SendEvent(), and wxEditTextCtrl.

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

void wxTreeListMainWindow::EndEdit ( bool  isCancelled  ) 

Definition at line 4161 of file treelistctrl.cpp.

References wxEditTextCtrl::EndEdit(), and m_editControl.

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

void wxTreeListMainWindow::EnsureVisible ( const wxTreeItemId &  item  ) 

Definition at line 3109 of file treelistctrl.cpp.

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

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

void wxTreeListMainWindow::Expand ( const wxTreeItemId &  item  ) 

Definition at line 2843 of file treelistctrl.cpp.

References wxTreeListItem::Expand(), wxTreeListItem::HasPlus(), wxTreeListItem::IsExpanded(), and SendEvent().

Referenced by EnsureVisible(), wxTreeListCtrl::Expand(), ExpandAll(), OnChar(), and Toggle().

void wxTreeListMainWindow::ExpandAll ( const wxTreeItemId &  item  ) 

Definition at line 2862 of file treelistctrl.cpp.

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

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

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

Definition at line 3091 of file treelistctrl.cpp.

References wxTreeListItem::GetChildren(), wxTreeListItem::HasChildren(), and wxTreeListItem::IsSelected().

Referenced by GetSelections().

wxTreeItemId wxTreeListMainWindow::FindItem ( const wxTreeItemId &  item,
int  column,
const wxString &  str,
int  mode = 0 
)

Definition at line 3202 of file treelistctrl.cpp.

References GetColumnCount(), GetFirstChild(), GetItemText(), GetNext(), GetNextChild(), GetNextExpanded(), GetNextSibling(), GetNextVisible(), GetRootItem(), wxTL_MODE_FIND_NOCASE, wxTL_MODE_FIND_PARTIAL, wxTL_MODE_NAV_EXPANDED, wxTL_MODE_NAV_LEVEL, and wxTL_MODE_NAV_VISIBLE.

Referenced by wxTreeListCtrl::FindItem(), and OnChar().

int wxTreeListMainWindow::GetBestColumnWidth ( int  column,
wxTreeItemId  parent = wxTreeItemId() 
)

Definition at line 4713 of file treelistctrl.cpp.

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

Referenced by wxTreeListHeaderWindow::OnMouse().

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

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

wxImageList* wxTreeListMainWindow::GetButtonsImageList (  )  const [inline]

Definition at line 318 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetButtonsImageList().

size_t wxTreeListMainWindow::GetChildrenCount ( const wxTreeItemId &  item,
bool  recursively = true 
)

Definition at line 2127 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetChildrenCount().

int wxTreeListMainWindow::GetColumnCount (  )  const [inline]

Definition at line 617 of file treelistctrl.cpp.

References GetColumnCount(), and wxTreeListHeaderWindow::m_owner.

Referenced by AddRoot(), DoInsertItem(), EditLabel(), FindItem(), wxTreeListCtrl::GetColumnCount(), GetColumnCount(), wxTreeListItem::HitTest(), PaintItem(), and wxTreeListItem::SetText().

size_t wxTreeListMainWindow::GetCount (  )  const

Definition at line 2112 of file treelistctrl.cpp.

References wxTreeListItem::GetChildrenCount(), and m_rootItem.

Referenced by wxTreeListCtrl::GetCount().

int wxTreeListMainWindow::GetCurrentColumn (  )  const [inline]

Definition at line 624 of file treelistctrl.cpp.

Referenced by OnMouse(), and OnRenameTimer().

wxTreeItemId wxTreeListMainWindow::GetFirstChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 2420 of file treelistctrl.cpp.

Referenced by AddRoot(), ExpandAll(), FindItem(), GetBestColumnWidth(), OnChar(), and SelectAll().

wxTreeItemId wxTreeListMainWindow::GetFirstExpandedItem (  )  const

Definition at line 2543 of file treelistctrl.cpp.

References GetNextExpanded(), and GetRootItem().

Referenced by wxTreeListCtrl::GetFirstExpandedItem().

wxTreeItemId wxTreeListMainWindow::GetFirstVisible ( bool  fullRow,
bool  within 
) const

Definition at line 2557 of file treelistctrl.cpp.

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

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

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

Definition at line 316 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetImageList().

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

Definition at line 297 of file treelistctrl.cpp.

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

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

Definition at line 2220 of file treelistctrl.cpp.

References GetItemBackgroundColour().

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

Definition at line 2210 of file treelistctrl.cpp.

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

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

Definition at line 2184 of file treelistctrl.cpp.

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

Definition at line 2180 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetItemBold().

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

Definition at line 2175 of file treelistctrl.cpp.

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

Definition at line 2171 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetItemData().

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

Definition at line 2243 of file treelistctrl.cpp.

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

Definition at line 2231 of file treelistctrl.cpp.

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

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

Definition at line 2166 of file treelistctrl.cpp.

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

Definition at line 342 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetItemImage().

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

Definition at line 2414 of file treelistctrl.cpp.

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

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

Definition at line 4672 of file treelistctrl.cpp.

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

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

Definition at line 4665 of file treelistctrl.cpp.

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

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

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

Definition at line 2199 of file treelistctrl.cpp.

References GetItemTextColour().

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

Definition at line 2189 of file treelistctrl.cpp.

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

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

Definition at line 4682 of file treelistctrl.cpp.

References wxTreeListItem::GetCurrentImage(), GetIndent(), GetItemFont(), wxTreeListItem::GetItemParent(), GetMainColumn(), GetRootItem(), wxTreeListItem::GetText(), HasButtons(), LINEATROOT, and NO_IMAGE.

Referenced by GetBestColumnWidth().

wxTreeItemId wxTreeListMainWindow::GetLastChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 2461 of file treelistctrl.cpp.

Referenced by OnChar(), and SelectAll().

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

Definition at line 2575 of file treelistctrl.cpp.

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

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

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

Definition at line 3373 of file treelistctrl.cpp.

References wxTreeListItem::GetHeight().

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

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

Definition at line 301 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetLineSpacing().

int wxTreeListMainWindow::GetMainColumn (  )  const [inline]

Definition at line 623 of file treelistctrl.cpp.

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

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

Definition at line 2506 of file treelistctrl.cpp.

References GetItemParent(), and GetNextSibling().

Referenced by FindItem(), GetLastVisible(), wxTreeListCtrl::GetNext(), GetNextExpanded(), and GetNextVisible().

wxTreeItemId wxTreeListMainWindow::GetNextChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 2433 of file treelistctrl.cpp.

Referenced by ExpandAll(), FindItem(), and GetBestColumnWidth().

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

Definition at line 2547 of file treelistctrl.cpp.

References GetNext().

Referenced by FindItem(), GetFirstExpandedItem(), and wxTreeListCtrl::GetNextExpanded().

wxTreeItemId wxTreeListMainWindow::GetNextSibling ( const wxTreeItemId &  item  )  const

Definition at line 2475 of file treelistctrl.cpp.

References wxTreeListCtrl::GetItemParent().

Referenced by FindItem(), GetNext(), wxTreeListCtrl::GetNextSibling(), and OnChar().

wxTreeItemId wxTreeListMainWindow::GetNextVisible ( const wxTreeItemId &  item,
bool  fullRow,
bool  within 
) const

Definition at line 2565 of file treelistctrl.cpp.

References GetNext(), and IsVisible().

Referenced by FindItem(), GetFirstVisible(), and wxTreeListCtrl::GetNextVisible().

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

Definition at line 2526 of file treelistctrl.cpp.

References GetItemParent(), and GetPrevSibling().

Referenced by wxTreeListCtrl::GetPrev(), GetPrevExpanded(), and GetPrevVisible().

wxTreeItemId wxTreeListMainWindow::GetPrevChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 2447 of file treelistctrl.cpp.

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

Definition at line 2552 of file treelistctrl.cpp.

References GetPrev().

Referenced by wxTreeListCtrl::GetPrevExpanded().

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

Definition at line 2490 of file treelistctrl.cpp.

References wxTreeListCtrl::GetItemParent().

Referenced by GetPrev(), wxTreeListCtrl::GetPrevSibling(), and OnChar().

wxTreeItemId wxTreeListMainWindow::GetPrevVisible ( const wxTreeItemId &  item,
bool  fullRow,
bool  within 
) const

Definition at line 2585 of file treelistctrl.cpp.

References GetPrev(), and IsVisible().

Referenced by wxTreeListCtrl::GetPrevVisible().

wxTreeItemId wxTreeListMainWindow::GetRootItem (  )  const [inline]

Definition at line 438 of file treelistctrl.cpp.

Referenced by FindItem(), GetBestColumnWidth(), GetFirstExpandedItem(), GetFirstVisible(), GetItemWidth(), GetLastVisible(), wxTreeListCtrl::GetRootItem(), GetSelections(), OnChar(), SelectAll(), TagNextChildren(), and UnselectAll().

wxTreeItemId wxTreeListMainWindow::GetSelection (  )  const [inline]

Definition at line 441 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetSelection().

size_t wxTreeListMainWindow::GetSelections ( wxArrayTreeItemIds &   )  const

Definition at line 3102 of file treelistctrl.cpp.

References FillArray(), and GetRootItem().

Referenced by wxTreeListCtrl::GetSelections().

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

Definition at line 317 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::GetStateImageList().

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

Definition at line 703 of file treelistctrl.cpp.

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

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

Definition at line 2384 of file treelistctrl.cpp.

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

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

Definition at line 4031 of file treelistctrl.cpp.

References wxTreeListItem::HitTest(), and m_rootItem.

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

Definition at line 565 of file treelistctrl.cpp.

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

Definition at line 563 of file treelistctrl.cpp.

References flags.

Referenced by wxTreeListCtrl::HitTest().

void wxTreeListMainWindow::Init (  )  [protected]

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

Definition at line 2682 of file treelistctrl.cpp.

References DoInsertItem().

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

Definition at line 2667 of file treelistctrl.cpp.

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

Referenced by wxTreeListCtrl::InsertItem().

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

Definition at line 2405 of file treelistctrl.cpp.

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

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

Definition at line 2395 of file treelistctrl.cpp.

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

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

Definition at line 2400 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::IsSelected().

bool wxTreeListMainWindow::IsVirtual (  )  const [inline]

Definition at line 289 of file treelistctrl.cpp.

References wxTR_VIRTUAL.

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

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

Definition at line 2359 of file treelistctrl.cpp.

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

Referenced by GetFirstVisible(), GetLastVisible(), GetNextVisible(), GetPrevVisible(), and wxTreeListCtrl::IsVisible().

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

Definition at line 614 of file treelistctrl.cpp.

void wxTreeListMainWindow::OnChar ( wxKeyEvent &  event  ) 

Definition at line 3804 of file treelistctrl.cpp.

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

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

Definition at line 3172 of file treelistctrl.cpp.

References m_owner, and wxTreeListCtrl::OnCompareItems().

Referenced by tree_ctrl_compare_func().

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

Definition at line 607 of file treelistctrl.cpp.

void wxTreeListMainWindow::OnIdle ( wxIdleEvent &  event  ) 

void wxTreeListMainWindow::OnKillFocus ( wxFocusEvent &  event  ) 

Definition at line 3796 of file treelistctrl.cpp.

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

void wxTreeListMainWindow::OnMouse ( wxMouseEvent &  event  ) 

Definition at line 4165 of file treelistctrl.cpp.

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

void wxTreeListMainWindow::OnPaint ( wxPaintEvent &  event  ) 

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

Definition at line 4148 of file treelistctrl.cpp.

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

Referenced by wxEditTextCtrl::EndEdit().

void wxTreeListMainWindow::OnRenameTimer (  )  [protected]

Definition at line 4144 of file treelistctrl.cpp.

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

Referenced by wxTreeListRenameTimer::Notify().

void wxTreeListMainWindow::OnScroll ( wxScrollWinEvent &  event  ) 

Definition at line 4475 of file treelistctrl.cpp.

References wxTreeListCtrl::GetHeaderWindow(), and m_owner.

void wxTreeListMainWindow::OnSetFocus ( wxFocusEvent &  event  ) 

Definition at line 3789 of file treelistctrl.cpp.

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

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

Definition at line 3381 of file treelistctrl.cpp.

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

Referenced by PaintLevel().

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

Definition at line 3549 of file treelistctrl.cpp.

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

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

Definition at line 2660 of file treelistctrl.cpp.

References DoInsertItem().

Referenced by wxTreeListCtrl::PrependItem().

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

Definition at line 4598 of file treelistctrl.cpp.

References GetLineHeight(), and wxTreeListItem::GetY().

Referenced by EnsureVisible(), OnChar(), OnKillFocus(), OnSetFocus(), RefreshSelectedUnder(), SelectItem(), SetCurrentItem(), SetDragItem(), SetItemBackgroundColour(), SetItemBold(), SetItemFont(), SetItemHasChildren(), SetItemImage(), SetItemText(), SetItemTextColour(), TagAllChildrenUntilLast(), Unselect(), and UnselectAllChildren().

void wxTreeListMainWindow::RefreshSelected (  )  [protected]

Definition at line 4617 of file treelistctrl.cpp.

References m_rootItem, and RefreshSelectedUnder().

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

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

Definition at line 4625 of file treelistctrl.cpp.

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

Referenced by RefreshSelected().

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

Definition at line 4578 of file treelistctrl.cpp.

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

void wxTreeListMainWindow::ScrollTo ( const wxTreeItemId &  item  ) 

Definition at line 3124 of file treelistctrl.cpp.

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

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

void wxTreeListMainWindow::SelectAll (  ) 

Definition at line 3060 of file treelistctrl.cpp.

References GetFirstChild(), GetLastChild(), GetRootItem(), m_curItem, m_rootItem, SendEvent(), TagAllChildrenUntilLast(), and TagNextChildren().

Referenced by wxTreeListCtrl::SelectAll().

bool wxTreeListMainWindow::SelectItem ( const wxTreeItemId &  item,
const wxTreeItemId &  prev = (wxTreeItemId *) NULL,
bool  unselect_others = true 
)

Definition at line 2992 of file treelistctrl.cpp.

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

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

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

Definition at line 4750 of file treelistctrl.cpp.

References m_owner.

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

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

Definition at line 4641 of file treelistctrl.cpp.

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

void wxTreeListMainWindow::SetButtonsImageList ( wxImageList *  imageList  ) 

Definition at line 3327 of file treelistctrl.cpp.

References CalculateLineHeight().

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

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

Definition at line 2829 of file treelistctrl.cpp.

References m_curItem, and RefreshLine().

void wxTreeListMainWindow::SetCurrentItem ( const wxTreeItemId &  item  ) 

Definition at line 2826 of file treelistctrl.cpp.

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

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

Definition at line 3270 of file treelistctrl.cpp.

References m_dragItem, and RefreshLine().

Referenced by wxTreeListCtrl::SetDragItem().

void wxTreeListMainWindow::SetFocus (  ) 

Definition at line 4677 of file treelistctrl.cpp.

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

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

Definition at line 2341 of file treelistctrl.cpp.

References CalculateLineHeight().

Referenced by wxTreeListCtrl::SetFont().

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

Definition at line 4648 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::SetForegroundColour().

void wxTreeListMainWindow::SetImageList ( wxImageList *  imageList  ) 

Definition at line 3313 of file treelistctrl.cpp.

References CalculateLineHeight().

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

void wxTreeListMainWindow::SetIndent ( unsigned int  indent  ) 

Definition at line 2116 of file treelistctrl.cpp.

References MININDENT.

Referenced by wxTreeListCtrl::SetIndent().

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

Definition at line 2320 of file treelistctrl.cpp.

References RefreshLine().

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

Definition at line 2314 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxTreeListCtrl::SetItemBackgroundColour().

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

Definition at line 2292 of file treelistctrl.cpp.

References RefreshLine().

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

Definition at line 2284 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxTreeListCtrl::SetItemBold().

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

Definition at line 2279 of file treelistctrl.cpp.

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

Definition at line 2275 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::SetItemData().

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

Definition at line 2333 of file treelistctrl.cpp.

References RefreshLine().

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

Definition at line 2327 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxTreeListCtrl::SetItemFont().

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

Definition at line 2259 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxTreeListCtrl::SetItemHasChildren().

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

Definition at line 2266 of file treelistctrl.cpp.

References CalculateSize(), and RefreshLine().

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

Definition at line 376 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::SetItemImage().

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

Definition at line 2806 of file treelistctrl.cpp.

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

Referenced by wxTreeListCtrl::SetItemParent().

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

Definition at line 4655 of file treelistctrl.cpp.

References CalculateSize(), RefreshLine(), and wxTreeListItem::SetText().

Referenced by OnRenameAccept(), and wxTreeListCtrl::SetItemText().

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

Definition at line 2307 of file treelistctrl.cpp.

References RefreshLine().

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

Definition at line 2301 of file treelistctrl.cpp.

References RefreshLine().

Referenced by wxTreeListCtrl::SetItemTextColour().

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

Definition at line 2154 of file treelistctrl.cpp.

References m_toolTipItem.

Referenced by wxTreeListCtrl::SetItemToolTip().

void wxTreeListMainWindow::SetLineSpacing ( unsigned int  spacing  ) 

Definition at line 2121 of file treelistctrl.cpp.

References CalculateLineHeight().

Referenced by wxTreeListCtrl::SetLineSpacing().

void wxTreeListMainWindow::SetMainColumn ( int  column  )  [inline]

Definition at line 620 of file treelistctrl.cpp.

References wxTreeListHeaderWindow::GetColumnCount().

Referenced by wxTreeListCtrl::SetMainColumn().

void wxTreeListMainWindow::SetStateImageList ( wxImageList *  imageList  ) 

Definition at line 3321 of file treelistctrl.cpp.

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

void wxTreeListMainWindow::SetToolTip ( wxToolTip *  tip  ) 

Definition at line 2148 of file treelistctrl.cpp.

References m_toolTipItem.

void wxTreeListMainWindow::SetToolTip ( const wxString &  tip  ) 

Definition at line 2143 of file treelistctrl.cpp.

References m_toolTipItem.

Referenced by wxTreeListCtrl::SetToolTip().

void wxTreeListMainWindow::SetWindowStyle ( const long  styles  ) 

Definition at line 2133 of file treelistctrl.cpp.

References UnselectAll().

Referenced by wxTreeListCtrl::SetWindowStyle().

void wxTreeListMainWindow::SortChildren ( const wxTreeItemId &  item,
int  column,
bool  reverseOrder 
)

Definition at line 3183 of file treelistctrl.cpp.

References s_treeBeingSorted, and tree_ctrl_compare_func().

Referenced by wxTreeListCtrl::SortChildren().

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

Definition at line 2974 of file treelistctrl.cpp.

References wxTreeListItem::GetChildren(), wxTreeListItem::HasChildren(), wxTreeListItem::IsExpanded(), RefreshLine(), and wxTreeListItem::SetHilight().

Referenced by SelectAll(), SelectItem(), and TagNextChildren().

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

Definition at line 2951 of file treelistctrl.cpp.

References wxTreeListItem::GetChildren(), wxTreeListItem::GetItemParent(), GetRootItem(), wxTreeListItem::HasChildren(), wxTreeListItem::IsExpanded(), and TagAllChildrenUntilLast().

Referenced by SelectAll(), and SelectItem().

void wxTreeListMainWindow::Toggle ( const wxTreeItemId &  item  ) 

Definition at line 2905 of file treelistctrl.cpp.

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

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

void wxTreeListMainWindow::Unselect (  ) 

Definition at line 2915 of file treelistctrl.cpp.

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

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

void wxTreeListMainWindow::UnselectAll (  ) 

Definition at line 2941 of file treelistctrl.cpp.

References GetRootItem(), and UnselectAllChildren().

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

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

Definition at line 2923 of file treelistctrl.cpp.

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

Referenced by UnselectAll().


Friends And Related Function Documentation

friend class wxEditTextCtrl [friend]

Definition at line 258 of file treelistctrl.cpp.

Referenced by EditLabel().

friend class wxTreeListItem [friend]

Definition at line 256 of file treelistctrl.cpp.

Referenced by AddRoot(), and DoInsertItem().

friend class wxTreeListRenameTimer [friend]

Definition at line 257 of file treelistctrl.cpp.


Member Data Documentation

wxFont wxTreeListMainWindow::m_boldFont [protected]

Definition at line 635 of file treelistctrl.cpp.

int wxTreeListMainWindow::m_btnHeight [protected]

Definition at line 648 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest().

int wxTreeListMainWindow::m_btnHeight2 [protected]

Definition at line 648 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest().

int wxTreeListMainWindow::m_btnWidth [protected]

Definition at line 647 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest().

int wxTreeListMainWindow::m_btnWidth2 [protected]

Definition at line 647 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest().

int wxTreeListMainWindow::m_curColumn [protected]

Definition at line 643 of file treelistctrl.cpp.

wxTreeListItem* wxTreeListMainWindow::m_curItem [protected]

Definition at line 638 of file treelistctrl.cpp.

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

bool wxTreeListMainWindow::m_dirty

Definition at line 659 of file treelistctrl.cpp.

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

wxPen wxTreeListMainWindow::m_dottedPen [protected]

Definition at line 654 of file treelistctrl.cpp.

int wxTreeListMainWindow::m_dragCol [protected]

Definition at line 675 of file treelistctrl.cpp.

wxTreeListItem* wxTreeListMainWindow::m_dragItem [protected]

Definition at line 674 of file treelistctrl.cpp.

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

wxPoint wxTreeListMainWindow::m_dragStartPos [protected]

Definition at line 673 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_editAccept [protected]

Definition at line 679 of file treelistctrl.cpp.

int wxTreeListMainWindow::m_editCol [protected]

Definition at line 681 of file treelistctrl.cpp.

wxEditTextCtrl* wxTreeListMainWindow::m_editControl [protected]

Definition at line 682 of file treelistctrl.cpp.

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

wxTreeListItem* wxTreeListMainWindow::m_editItem [protected]

Definition at line 677 of file treelistctrl.cpp.

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

wxString wxTreeListMainWindow::m_editRes [protected]

Definition at line 680 of file treelistctrl.cpp.

wxTimer* wxTreeListMainWindow::m_editTimer [protected]

Definition at line 678 of file treelistctrl.cpp.

wxString wxTreeListMainWindow::m_findStr [protected]

Definition at line 686 of file treelistctrl.cpp.

wxTimer* wxTreeListMainWindow::m_findTimer [protected]

Definition at line 685 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_hasFocus [protected]

Definition at line 657 of file treelistctrl.cpp.

wxBrush* wxTreeListMainWindow::m_hilightBrush [protected]

Definition at line 655 of file treelistctrl.cpp.

wxBrush * wxTreeListMainWindow::m_hilightUnfocusedBrush [protected]

Definition at line 655 of file treelistctrl.cpp.

wxImageList * wxTreeListMainWindow::m_imageListButtons [protected]

Definition at line 667 of file treelistctrl.cpp.

wxImageList* wxTreeListMainWindow::m_imageListNormal [protected]

Definition at line 667 of file treelistctrl.cpp.

wxImageList * wxTreeListMainWindow::m_imageListState [protected]

Definition at line 667 of file treelistctrl.cpp.

int wxTreeListMainWindow::m_imgHeight [protected]

Definition at line 650 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest().

int wxTreeListMainWindow::m_imgHeight2 [protected]

Definition at line 650 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest().

int wxTreeListMainWindow::m_imgWidth [protected]

Definition at line 649 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest().

int wxTreeListMainWindow::m_imgWidth2 [protected]

Definition at line 649 of file treelistctrl.cpp.

unsigned short wxTreeListMainWindow::m_indent [protected]

Definition at line 651 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_isDragging [protected]

Definition at line 672 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_isDragStarted [protected]

Definition at line 671 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_isItemToolTip [protected]

Definition at line 688 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_lastOnSame [protected]

Definition at line 664 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_left_down_selection [protected]

Definition at line 665 of file treelistctrl.cpp.

int wxTreeListMainWindow::m_lineHeight [protected]

Definition at line 652 of file treelistctrl.cpp.

unsigned short wxTreeListMainWindow::m_linespacing [protected]

Definition at line 653 of file treelistctrl.cpp.

int wxTreeListMainWindow::m_main_column [protected]

Definition at line 642 of file treelistctrl.cpp.

wxFont wxTreeListMainWindow::m_normalFont [protected]

Definition at line 634 of file treelistctrl.cpp.

wxTreeListCtrl* wxTreeListMainWindow::m_owner [protected]

Definition at line 632 of file treelistctrl.cpp.

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

bool wxTreeListMainWindow::m_ownsImageListButtons [protected]

Definition at line 661 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_ownsImageListNormal [protected]

Definition at line 661 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_ownsImageListState [protected]

Definition at line 661 of file treelistctrl.cpp.

bool wxTreeListMainWindow::m_ReverseSortOrder [protected]

Definition at line 645 of file treelistctrl.cpp.

wxTreeListItem* wxTreeListMainWindow::m_rootItem [protected]

Definition at line 637 of file treelistctrl.cpp.

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

wxTreeListItem* wxTreeListMainWindow::m_selectItem [protected]

Definition at line 640 of file treelistctrl.cpp.

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

wxTreeListItem* wxTreeListMainWindow::m_shiftItem [protected]

Definition at line 639 of file treelistctrl.cpp.

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

int wxTreeListMainWindow::m_sortColumn [protected]

Definition at line 644 of file treelistctrl.cpp.

wxString wxTreeListMainWindow::m_toolTip [protected]

Definition at line 689 of file treelistctrl.cpp.

wxTreeListItem* wxTreeListMainWindow::m_toolTipItem [protected]

Definition at line 690 of file treelistctrl.cpp.

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


The documentation for this class was generated from the following file:
Generated on 31 Oct 2014 for Hugintrunk by  doxygen 1.4.7