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
const wxChar * wxTreeListCtrlNameStr


Enumeration Type Documentation

anonymous enum

Enumerator:
DEFAULT_COL_WIDTH 

Definition at line 43 of file treelistctrl.h.


Function Documentation

wxcode::WX_DEFINE_ARRAY_PTR ( wxTreeListItem *  ,
wxArrayTreeListItems   
)

wxcode::WX_DECLARE_OBJARRAY ( wxTreeListColumnInfo  ,
wxArrayTreeListColumnInfo   
)

wxcode::WX_DEFINE_OBJARRAY ( wxArrayTreeListColumnInfo   ) 

wxcode::WX_DECLARE_HASH_MAP ( int  ,
wxTreeListItemCellAttr *  ,
wxIntegerHash  ,
wxIntegerEqual  ,
wxTreeListItemCellAttrHash   
)

wxcode::IMPLEMENT_DYNAMIC_CLASS ( wxTreeListHeaderWindow  ,
wxWindow   
)

wxcode::EVT_ERASE_BACKGROUND ( wxTreeListHeaderWindow::OnEraseBackground   ) 

Definition at line 1233 of file treelistctrl.cpp.

wxcode::EVT_ERASE_BACKGROUND ( wxTreeListMainWindow::OnEraseBackground   ) 

Definition at line 1838 of file treelistctrl.cpp.

References LINEHEIGHT, and MININDENT.

static int LINKAGEMODE wxcode::tree_ctrl_compare_func ( wxTreeListItem **  item1,
wxTreeListItem **  item2 
) [static]

Definition at line 3001 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::OnCompareItems(), and s_treeBeingSorted.

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

wxcode::IMPLEMENT_DYNAMIC_CLASS ( wxTreeListCtrl  ,
wxControl   
)

wxcode::END_EVENT_TABLE (  ) 


Variable Documentation

const int wxcode::NO_IMAGE = -1 [static]

Definition at line 91 of file treelistctrl.cpp.

Referenced by MaskImageCtrl::Create(), CPImageCtrl::Create(), wxcode::wxTreeListItem::GetCurrentImage(), wxcode::wxTreeListItem::GetImage(), wxcode::wxTreeListMainWindow::GetItemWidth(), wxcode::wxTreeListMainWindow::PaintItem(), wxcode::wxTreeListItem::wxTreeListItem(), and wxcode::wxTreeListItemCellAttr::wxTreeListItemCellAttr().

const int wxcode::LINEHEIGHT = 10 [static]

Definition at line 93 of file treelistctrl.cpp.

Referenced by EVT_ERASE_BACKGROUND().

const int wxcode::LINEATROOT = 5 [static]

Definition at line 94 of file treelistctrl.cpp.

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

const int wxcode::MARGIN = 2 [static]

Definition at line 95 of file treelistctrl.cpp.

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

const int wxcode::MININDENT = 16 [static]

Definition at line 96 of file treelistctrl.cpp.

Referenced by EVT_ERASE_BACKGROUND(), and wxcode::wxTreeListMainWindow::SetIndent().

const int wxcode::BTNWIDTH = 9 [static]

Definition at line 97 of file treelistctrl.cpp.

const int wxcode::BTNHEIGHT = 9 [static]

Definition at line 98 of file treelistctrl.cpp.

const int wxcode::EXTRA_WIDTH = 4 [static]

Definition at line 99 of file treelistctrl.cpp.

const int wxcode::EXTRA_HEIGHT = 4 [static]

Definition at line 100 of file treelistctrl.cpp.

const int wxcode::HEADER_OFFSET_X = 0 [static]

Definition at line 101 of file treelistctrl.cpp.

const int wxcode::HEADER_OFFSET_Y = 1 [static]

Definition at line 102 of file treelistctrl.cpp.

const int wxcode::DRAG_TIMER_TICKS = 250 [static]

Definition at line 104 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::RENAME_TIMER_TICKS = 250 [static]

Definition at line 106 of file treelistctrl.cpp.

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

const wxChar* wxcode::wxTreeListCtrlNameStr = _T("treelistctrl")

Definition at line 108 of file treelistctrl.cpp.

wxTreeListColumnInfo wxcode::wxInvalidTreeListColumnInfo [static]

Definition at line 110 of file treelistctrl.cpp.

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

wxTreeListMainWindow* wxcode::s_treeBeingSorted = NULL [static]

Definition at line 2999 of file treelistctrl.cpp.

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

const int wxcode::wxTL_MODE_NAV_FULLTREE = 0x0000

Definition at line 122 of file treelistctrl.h.

const int wxcode::wxTL_MODE_NAV_EXPANDED = 0x0001

Definition at line 123 of file treelistctrl.h.

Referenced by wxcode::wxTreeListMainWindow::FindItem(), and wxcode::wxTreeListMainWindow::OnChar().

const int wxcode::wxTL_MODE_NAV_VISIBLE = 0x0002

Definition at line 124 of file treelistctrl.h.

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

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_FIND_EXACT = 0x0000

Definition at line 128 of file treelistctrl.h.

const int wxcode::wxTL_MODE_FIND_PARTIAL = 0x0010

Definition at line 129 of file treelistctrl.h.

Referenced by wxcode::wxTreeListMainWindow::MatchItemText(), and wxcode::wxTreeListMainWindow::OnChar().

const int wxcode::wxTL_MODE_FIND_NOCASE = 0x0020

Definition at line 130 of file treelistctrl.h.

Referenced by wxcode::wxTreeListMainWindow::MatchItemText(), and wxcode::wxTreeListMainWindow::OnChar().

const int wxcode::wxTREE_HITTEST_ONITEMCOLUMN = 0x2000

Definition at line 133 of file treelistctrl.h.

Referenced by wxcode::wxTreeListItem::HitTest(), and wxcode::wxTreeListMainWindow::OnMouse().

const wxChar* wxcode::wxTreeListCtrlNameStr

Definition at line 108 of file treelistctrl.cpp.


Generated on 19 Nov 2017 for Hugintrunk by  doxygen 1.4.7