treelistctrl.cpp File Reference

#include "wx/wxprec.h"
#include <wx/app.h>
#include <wx/treebase.h>
#include <wx/timer.h>
#include <wx/textctrl.h>
#include <wx/imaglist.h>
#include <wx/settings.h>
#include <wx/dcclient.h>
#include <wx/dcscreen.h>
#include <wx/scrolwin.h>
#include <wx/dcmemory.h>
#include <wx/apptrait.h>
#include <wx/dcbuffer.h>
#include <wx/tooltip.h>
#include <wx/hashmap.h>
#include "treelistctrl.h"
#include <wx/log.h>
#include <wx/msgdlg.h>
#include <algorithm>
#include <wx/dynarray.h>
#include <wx/arrimpl.cpp>

Include dependency graph for treelistctrl.cpp:

Include dependency graph

Go to the source code of this file.

Classes

class  wxTreeListHeaderWindow
class  wxTreeListMainWindow
class  wxTreeListRenameTimer
class  wxEditTextCtrl
class  wxTreeListItemCellAttr
class  wxTreeListItem

Functions

 WX_DEFINE_ARRAY (wxTreeListItem *, wxArrayTreeListItems)
 WX_DECLARE_OBJARRAY (wxTreeListColumnInfo, wxArrayTreeListColumnInfo)
 WX_DEFINE_OBJARRAY (wxArrayTreeListColumnInfo)
 WX_DECLARE_HASH_MAP (int, wxTreeListItemCellAttr *, wxIntegerHash, wxIntegerEqual, wxTreeListItemCellAttrHash)
 IMPLEMENT_DYNAMIC_CLASS (wxTreeListHeaderWindow, wxWindow)
 EVT_ERASE_BACKGROUND (wxTreeListHeaderWindow::OnEraseBackground) void wxTreeListHeaderWindow
 EVT_ERASE_BACKGROUND (wxTreeListMainWindow::OnEraseBackground) void wxTreeListMainWindow
int LINKAGEMODE tree_ctrl_compare_func (wxTreeListItem **item1, wxTreeListItem **item2)
 IMPLEMENT_DYNAMIC_CLASS (wxTreeListCtrl, wxControl)
 END_EVENT_TABLE ()

Variables

const int NO_IMAGE = -1
const int LINEHEIGHT = 10
const int LINEATROOT = 5
const int MARGIN = 2
const int MININDENT = 16
const int BTNWIDTH = 9
const int BTNHEIGHT = 9
const int EXTRA_WIDTH = 4
const int EXTRA_HEIGHT = 4
const int HEADER_OFFSET_X = 0
const int HEADER_OFFSET_Y = 1
const int DRAG_TIMER_TICKS = 250
const int FIND_TIMER_TICKS = 500
const int RENAME_TIMER_TICKS = 250
const wxChar * wxTreeListCtrlNameStr = _T("treelistctrl")
wxTreeListColumnInfo wxInvalidTreeListColumnInfo
wxTreeListMainWindows_treeBeingSorted = NULL


Function Documentation

END_EVENT_TABLE  ) 
 

EVT_ERASE_BACKGROUND wxTreeListMainWindow::OnEraseBackground   ) 
 

Definition at line 1943 of file treelistctrl.cpp.

EVT_ERASE_BACKGROUND wxTreeListHeaderWindow::OnEraseBackground   ) 
 

Definition at line 1233 of file treelistctrl.cpp.

IMPLEMENT_DYNAMIC_CLASS wxTreeListCtrl  ,
wxControl 
 

IMPLEMENT_DYNAMIC_CLASS wxTreeListHeaderWindow  ,
wxWindow 
 

int LINKAGEMODE tree_ctrl_compare_func wxTreeListItem **  item1,
wxTreeListItem **  item2
[static]
 

Definition at line 3166 of file treelistctrl.cpp.

References wxTreeListMainWindow::OnCompareItems(), and s_treeBeingSorted.

Referenced by wxTreeListMainWindow::SortChildren().

WX_DECLARE_HASH_MAP int  ,
wxTreeListItemCellAttr ,
wxIntegerHash  ,
wxIntegerEqual  ,
wxTreeListItemCellAttrHash 
 

WX_DECLARE_OBJARRAY wxTreeListColumnInfo  ,
wxArrayTreeListColumnInfo 
 

WX_DEFINE_ARRAY wxTreeListItem ,
wxArrayTreeListItems 
 

WX_DEFINE_OBJARRAY wxArrayTreeListColumnInfo   ) 
 


Variable Documentation

const int BTNHEIGHT = 9 [static]
 

Definition at line 97 of file treelistctrl.cpp.

const int BTNWIDTH = 9 [static]
 

Definition at line 96 of file treelistctrl.cpp.

const int DRAG_TIMER_TICKS = 250 [static]
 

Definition at line 103 of file treelistctrl.cpp.

const int EXTRA_HEIGHT = 4 [static]
 

Definition at line 99 of file treelistctrl.cpp.

const int EXTRA_WIDTH = 4 [static]
 

Definition at line 98 of file treelistctrl.cpp.

const int FIND_TIMER_TICKS = 500 [static]
 

Definition at line 104 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::OnChar().

const int HEADER_OFFSET_X = 0 [static]
 

Definition at line 100 of file treelistctrl.cpp.

const int HEADER_OFFSET_Y = 1 [static]
 

Definition at line 101 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::CalculateAndSetHeaderHeight().

const int LINEATROOT = 5 [static]
 

Definition at line 93 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::PaintLevel().

const int LINEHEIGHT = 10 [static]
 

Definition at line 92 of file treelistctrl.cpp.

const int MARGIN = 2 [static]
 

Definition at line 94 of file treelistctrl.cpp.

const int MININDENT = 16 [static]
 

Definition at line 95 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::SetIndent().

const int NO_IMAGE = -1 [static]
 

Definition at line 90 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::PaintItem().

const int RENAME_TIMER_TICKS = 250 [static]
 

Definition at line 105 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::OnMouse().

wxTreeListMainWindow* s_treeBeingSorted = NULL [static]
 

Definition at line 3164 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::SortChildren(), and tree_ctrl_compare_func().

wxTreeListColumnInfo wxInvalidTreeListColumnInfo [static]
 

Definition at line 109 of file treelistctrl.cpp.

Referenced by wxTreeListHeaderWindow::GetColumn().

const wxChar* wxTreeListCtrlNameStr = _T("treelistctrl")
 

Definition at line 107 of file treelistctrl.cpp.


Generated on Wed Sep 3 01:25:44 2014 for Hugintrunk by  doxygen 1.3.9.1