|
NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#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 <wx/dynarray.h>#include <wx/arrimpl.cpp>#include "treelistctrl.h"#include <wx/log.h>#include <wx/msgdlg.h>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 | |
| 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 wxTreeListMainWindow * | s_treeBeingSorted = NULL |
| END_EVENT_TABLE | ( | ) |
| EVT_ERASE_BACKGROUND | ( | wxTreeListHeaderWindow::OnEraseBackground | ) |
Definition at line 1431 of file treelistctrl.cpp.
| EVT_ERASE_BACKGROUND | ( | wxTreeListMainWindow::OnEraseBackground | ) |
Definition at line 2204 of file treelistctrl.cpp.
References LINEHEIGHT, and MININDENT.
| IMPLEMENT_DYNAMIC_CLASS | ( | wxTreeListCtrl | , |
| wxControl | |||
| ) |
| IMPLEMENT_DYNAMIC_CLASS | ( | wxTreeListHeaderWindow | , |
| wxWindow | |||
| ) |
|
static |
Definition at line 3608 of file treelistctrl.cpp.
References _T, 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 | ) |
|
static |
Definition at line 98 of file treelistctrl.cpp.
Referenced by wxTreeListMainWindow::OnPaint().
|
static |
Definition at line 97 of file treelistctrl.cpp.
Referenced by wxTreeListMainWindow::OnPaint().
|
static |
Definition at line 104 of file treelistctrl.cpp.
|
static |
Definition at line 100 of file treelistctrl.cpp.
Referenced by wxTreeListCtrl::CalculateAndSetHeaderHeight(), and wxTreeListHeaderWindow::OnPaint().
|
static |
Definition at line 99 of file treelistctrl.cpp.
Referenced by wxTreeListHeaderWindow::OnPaint().
|
static |
Definition at line 105 of file treelistctrl.cpp.
Referenced by wxTreeListMainWindow::OnChar().
|
static |
Definition at line 101 of file treelistctrl.cpp.
Referenced by wxTreeListHeaderWindow::OnPaint().
|
static |
Definition at line 102 of file treelistctrl.cpp.
Referenced by wxTreeListCtrl::CalculateAndSetHeaderHeight(), and wxTreeListHeaderWindow::OnPaint().
|
static |
Definition at line 94 of file treelistctrl.cpp.
Referenced by wxTreeListMainWindow::CalculateLevel(), wxTreeListMainWindow::GetItemWidth(), wxTreeListMainWindow::OnPaint(), wxTreeListMainWindow::PaintItem(), and wxTreeListMainWindow::PaintLevel().
|
static |
Definition at line 93 of file treelistctrl.cpp.
Referenced by EVT_ERASE_BACKGROUND().
|
static |
Definition at line 95 of file treelistctrl.cpp.
Referenced by wxTreeListMainWindow::CalculateLevel(), wxTreeListMainWindow::GetItemWidth(), wxTreeListItem::HitTest(), wxTreeListHeaderWindow::OnPaint(), wxTreeListMainWindow::OnPaint(), wxTreeListMainWindow::PaintItem(), and wxTreeListMainWindow::PaintLevel().
|
static |
Definition at line 96 of file treelistctrl.cpp.
Referenced by EVT_ERASE_BACKGROUND(), wxTreeListMainWindow::OnPaint(), and wxTreeListMainWindow::SetIndent().
|
static |
Definition at line 91 of file treelistctrl.cpp.
Referenced by wxTreeListItem::GetCurrentImage(), wxTreeListItem::GetImage(), wxTreeListMainWindow::GetItemWidth(), wxTreeListMainWindow::PaintItem(), wxTreeListItem::wxTreeListItem(), and wxTreeListItemCellAttr::wxTreeListItemCellAttr().
|
static |
Definition at line 106 of file treelistctrl.cpp.
Referenced by wxTreeListMainWindow::OnMouse().
|
static |
Definition at line 3606 of file treelistctrl.cpp.
Referenced by wxTreeListMainWindow::SortChildren(), and tree_ctrl_compare_func().
|
static |
Definition at line 110 of file treelistctrl.cpp.
Referenced by wxTreeListHeaderWindow::GetColumn().
| const wxChar* wxTreeListCtrlNameStr = _T("treelistctrl") |
Definition at line 108 of file treelistctrl.cpp.