Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations | Functions | Variables
wxcode Namespace Reference

Classes

class  wxTreeListHeaderWindow
 
class  wxTreeListMainWindow
 
class  wxTreeListRenameTimer
 
class  wxEditTextCtrl
 
class  wxTreeListItemCellAttr
 
class  wxTreeListItem
 
class  wxTreeListColumnInfo
 
class  wxTreeListCtrl
 

Enumerations

enum  { DEFAULT_COL_WIDTH = 100 }
 

Functions

 WX_DEFINE_ARRAY_PTR (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
 
static int LINKAGEMODE tree_ctrl_compare_func (wxTreeListItem **item1, wxTreeListItem **item2)
 
 IMPLEMENT_DYNAMIC_CLASS (wxTreeListCtrl, wxControl)
 
 END_EVENT_TABLE ()
 

Variables

static const int NO_IMAGE = -1
 
static const int LINEHEIGHT = 10
 
static const int LINEATROOT = 5
 
static const int MARGIN = 2
 
static const int MININDENT = 16
 
static const int BTNWIDTH = 9
 
static const int BTNHEIGHT = 9
 
static const int EXTRA_WIDTH = 4
 
static const int EXTRA_HEIGHT = 4
 
static const int HEADER_OFFSET_X = 0
 
static const int HEADER_OFFSET_Y = 1
 
static const int DRAG_TIMER_TICKS = 250
 
static const int FIND_TIMER_TICKS = 500
 
static const int RENAME_TIMER_TICKS = 250
 
const wxChar * wxTreeListCtrlNameStr = _T("treelistctrl")
 
static wxTreeListColumnInfo wxInvalidTreeListColumnInfo
 
static wxTreeListMainWindows_treeBeingSorted = NULL
 
const int wxTL_MODE_NAV_FULLTREE = 0x0000
 
const int wxTL_MODE_NAV_EXPANDED = 0x0001
 
const int wxTL_MODE_NAV_VISIBLE = 0x0002
 
const int wxTL_MODE_NAV_LEVEL = 0x0004
 
const int wxTL_MODE_FIND_EXACT = 0x0000
 
const int wxTL_MODE_FIND_PARTIAL = 0x0010
 
const int wxTL_MODE_FIND_NOCASE = 0x0020
 
const int wxTREE_HITTEST_ONITEMCOLUMN = 0x2000
 

Enumeration Type Documentation

anonymous enum
Enumerator
DEFAULT_COL_WIDTH 

Definition at line 43 of file treelistctrl.h.

Function Documentation

wxcode::END_EVENT_TABLE ( )
wxcode::EVT_ERASE_BACKGROUND ( wxTreeListHeaderWindow::OnEraseBackground  )
wxcode::EVT_ERASE_BACKGROUND ( wxTreeListMainWindow::OnEraseBackground  )

Definition at line 1842 of file treelistctrl.cpp.

References LINEHEIGHT, and MININDENT.

wxcode::IMPLEMENT_DYNAMIC_CLASS ( wxTreeListHeaderWindow  ,
wxWindow   
)
wxcode::IMPLEMENT_DYNAMIC_CLASS ( wxTreeListCtrl  ,
wxControl   
)
static int LINKAGEMODE wxcode::tree_ctrl_compare_func ( wxTreeListItem **  item1,
wxTreeListItem **  item2 
)
static
wxcode::WX_DECLARE_HASH_MAP ( int  ,
wxTreeListItemCellAttr *  ,
wxIntegerHash  ,
wxIntegerEqual  ,
wxTreeListItemCellAttrHash   
)
wxcode::WX_DECLARE_OBJARRAY ( wxTreeListColumnInfo  ,
wxArrayTreeListColumnInfo   
)
wxcode::WX_DEFINE_ARRAY_PTR ( wxTreeListItem *  ,
wxArrayTreeListItems   
)
wxcode::WX_DEFINE_OBJARRAY ( wxArrayTreeListColumnInfo  )

Variable Documentation

const int wxcode::BTNHEIGHT = 9
static

Definition at line 98 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListMainWindow::OnPaint().

const int wxcode::BTNWIDTH = 9
static

Definition at line 97 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListMainWindow::OnPaint().

const int wxcode::DRAG_TIMER_TICKS = 250
static

Definition at line 104 of file treelistctrl.cpp.

const int wxcode::EXTRA_HEIGHT = 4
static

Definition at line 100 of file treelistctrl.cpp.

const int wxcode::EXTRA_WIDTH = 4
static

Definition at line 99 of file treelistctrl.cpp.

const int wxcode::FIND_TIMER_TICKS = 500
static

Definition at line 105 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListMainWindow::OnChar().

const int wxcode::HEADER_OFFSET_X = 0
static

Definition at line 101 of file treelistctrl.cpp.

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

const int wxcode::HEADER_OFFSET_Y = 1
static

Definition at line 102 of file treelistctrl.cpp.

const int wxcode::LINEATROOT = 5
static
const int wxcode::LINEHEIGHT = 10
static

Definition at line 93 of file treelistctrl.cpp.

Referenced by EVT_ERASE_BACKGROUND().

const int wxcode::MARGIN = 2
static
const int wxcode::MININDENT = 16
static
const int wxcode::NO_IMAGE = -1
static
const int wxcode::RENAME_TIMER_TICKS = 250
static

Definition at line 106 of file treelistctrl.cpp.

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

wxTreeListMainWindow* wxcode::s_treeBeingSorted = NULL
static

Definition at line 2985 of file treelistctrl.cpp.

wxTreeListColumnInfo wxcode::wxInvalidTreeListColumnInfo
static

Definition at line 110 of file treelistctrl.cpp.

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

const int wxcode::wxTL_MODE_FIND_EXACT = 0x0000

Definition at line 128 of file treelistctrl.h.

const int wxcode::wxTL_MODE_FIND_NOCASE = 0x0020
const int wxcode::wxTL_MODE_FIND_PARTIAL = 0x0010
const int wxcode::wxTL_MODE_NAV_EXPANDED = 0x0001
const int wxcode::wxTL_MODE_NAV_FULLTREE = 0x0000

Definition at line 122 of file treelistctrl.h.

const int wxcode::wxTL_MODE_NAV_LEVEL = 0x0004

Definition at line 125 of file treelistctrl.h.

Referenced by wxcode::wxTreeListMainWindow::FindItem().

const int wxcode::wxTL_MODE_NAV_VISIBLE = 0x0002

Definition at line 124 of file treelistctrl.h.

Referenced by wxcode::wxTreeListMainWindow::FindItem().

const int wxcode::wxTREE_HITTEST_ONITEMCOLUMN = 0x2000
const wxChar * wxcode::wxTreeListCtrlNameStr = _T("treelistctrl")

Definition at line 108 of file treelistctrl.cpp.