|
Hugintrunk
0.1
|

Public Member Functions | |
| wxTreeListHeaderWindow () | |
| wxTreeListHeaderWindow (wxWindow *win, wxWindowID id, wxTreeListMainWindow *owner, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=_T("wxtreelistctrlcolumntitles")) | |
| virtual | ~wxTreeListHeaderWindow () |
| void | DoDrawRect (wxDC *dc, int x, int y, int w, int h) |
| void | DrawCurrent () |
| void | AdjustDC (wxDC &dc) |
| void | OnPaint (wxPaintEvent &event) |
| void | OnEraseBackground (wxEraseEvent &WXUNUSED(event)) |
| void | OnMouse (wxMouseEvent &event) |
| void | OnSetFocus (wxFocusEvent &event) |
| int | GetWidth () const |
| int | GetColumnCount () const |
| void | AddColumn (const wxTreeListColumnInfo &colInfo) |
| void | InsertColumn (int before, const wxTreeListColumnInfo &colInfo) |
| void | RemoveColumn (int column) |
| const wxTreeListColumnInfo & | GetColumn (int column) const |
| wxTreeListColumnInfo & | GetColumn (int column) |
| void | SetColumn (int column, const wxTreeListColumnInfo &info) |
| wxString | GetColumnText (int column) const |
| void | SetColumnText (int column, const wxString &text) |
| int | GetColumnAlignment (int column) const |
| void | SetColumnAlignment (int column, int flag) |
| int | GetColumnWidth (int column) const |
| void | SetColumnWidth (int column, int width) |
| bool | IsColumnEditable (int column) const |
| bool | IsColumnShown (int column) const |
Public Attributes | |
| bool | m_dirty |
Protected Member Functions | |
| int | XToCol (int x) |
| void | RefreshColLabel (int col) |
Protected Attributes | |
| wxTreeListMainWindow * | m_owner |
| const wxCursor * | m_currentCursor |
| const wxCursor * | m_resizeCursor |
| bool | m_isDragging |
| int | m_column |
| int | m_currentX |
| int | m_minX |
| wxArrayTreeListColumnInfo | m_columns |
| int | m_total_col_width |
| int | m_hotTrackCol |
Private Member Functions | |
| void | Init () |
| void | SendListEvent (wxEventType type, wxPoint pos) |
Definition at line 116 of file treelistctrl.cpp.
| wxcode::wxTreeListHeaderWindow::wxTreeListHeaderWindow | ( | ) |
Definition at line 1252 of file treelistctrl.cpp.
References Init(), m_owner, and m_resizeCursor.
| wxcode::wxTreeListHeaderWindow::wxTreeListHeaderWindow | ( | wxWindow * | win, |
| wxWindowID | id, | ||
| wxTreeListMainWindow * | owner, | ||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = 0, |
||
| const wxString & | name = _T("wxtreelistctrlcolumntitles") |
||
| ) |
Definition at line 1260 of file treelistctrl.cpp.
References Init(), m_owner, and m_resizeCursor.
|
virtual |
Definition at line 1277 of file treelistctrl.cpp.
References m_resizeCursor.
| void wxcode::wxTreeListHeaderWindow::AddColumn | ( | const wxTreeListColumnInfo & | colInfo | ) |
Definition at line 1583 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::AdjustMyScrollbars(), wxcode::wxTreeListColumnInfo::GetWidth(), m_columns, wxcode::wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
Referenced by wxcode::wxTreeListCtrl::AddColumn().
| void wxcode::wxTreeListHeaderWindow::AdjustDC | ( | wxDC & | dc | ) |
Definition at line 1312 of file treelistctrl.cpp.
References m_owner.
Referenced by DrawCurrent(), and OnPaint().
| void wxcode::wxTreeListHeaderWindow::DoDrawRect | ( | wxDC * | dc, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 1282 of file treelistctrl.cpp.
| void wxcode::wxTreeListHeaderWindow::DrawCurrent | ( | ) |
Definition at line 1374 of file treelistctrl.cpp.
References AdjustDC(), m_currentX, and m_owner.
Referenced by OnMouse().
|
inline |
Definition at line 179 of file treelistctrl.cpp.
References GetColumnCount(), m_columns, and wxcode::wxInvalidTreeListColumnInfo.
Referenced by wxcode::wxTreeListCtrl::GetColumn(), wxcode::wxTreeListCtrl::GetColumnAlignment(), wxcode::wxTreeListCtrl::GetColumnImage(), wxcode::wxTreeListCtrl::IsColumnEditable(), wxcode::wxTreeListCtrl::IsColumnShown(), OnPaint(), wxcode::wxTreeListMainWindow::PaintItem(), RefreshColLabel(), and XToCol().
|
inline |
Definition at line 184 of file treelistctrl.cpp.
References GetColumnCount(), m_columns, and wxcode::wxInvalidTreeListColumnInfo.
|
inline |
Definition at line 202 of file treelistctrl.cpp.
References GetColumnCount(), and m_columns.
Referenced by wxcode::wxTreeListMainWindow::EditLabel().
|
inline |
Definition at line 170 of file treelistctrl.cpp.
References m_columns.
Referenced by GetColumn(), GetColumnAlignment(), wxcode::wxTreeListMainWindow::GetColumnCount(), GetColumnText(), GetColumnWidth(), InsertColumn(), IsColumnEditable(), IsColumnShown(), OnMouse(), OnPaint(), RefreshColLabel(), RemoveColumn(), SetColumn(), SetColumnAlignment(), SetColumnText(), SetColumnWidth(), and XToCol().
|
inline |
Definition at line 191 of file treelistctrl.cpp.
References GetColumnCount(), and m_columns.
Referenced by wxcode::wxTreeListCtrl::GetColumnText().
|
inline |
Definition at line 213 of file treelistctrl.cpp.
References GetColumnCount(), and m_columns.
Referenced by wxcode::wxTreeListMainWindow::CalculatePositions(), wxcode::wxTreeListMainWindow::EditLabel(), wxcode::wxTreeListCtrl::GetColumnWidth(), wxcode::wxTreeListItem::HitTest(), OnMouse(), wxcode::wxTreeListMainWindow::OnPaint(), and wxcode::wxTreeListMainWindow::PaintItem().
|
inline |
Definition at line 167 of file treelistctrl.cpp.
References m_total_col_width.
Referenced by wxcode::wxTreeListMainWindow::AdjustMyScrollbars(), wxcode::wxTreeListItem::HitTest(), wxcode::wxTreeListMainWindow::PaintItem(), wxcode::wxTreeListMainWindow::PaintLevel(), and wxcode::wxTreeListMainWindow::ScrollTo().
|
private |
Definition at line 1225 of file treelistctrl.cpp.
References m_currentCursor, m_dirty, m_hotTrackCol, m_isDragging, m_total_col_width, OnEraseBackground(), OnMouse(), OnPaint(), and OnSetFocus().
Referenced by wxTreeListHeaderWindow().
| void wxcode::wxTreeListHeaderWindow::InsertColumn | ( | int | before, |
| const wxTreeListColumnInfo & | colInfo | ||
| ) |
Definition at line 1599 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::AdjustMyScrollbars(), GetColumnCount(), wxcode::wxTreeListColumnInfo::GetWidth(), m_columns, wxcode::wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
Referenced by wxcode::wxTreeListCtrl::InsertColumn().
|
inline |
Definition at line 220 of file treelistctrl.cpp.
References GetColumnCount(), and m_columns.
Referenced by wxcode::wxTreeListMainWindow::OnMouse().
|
inline |
Definition at line 226 of file treelistctrl.cpp.
References GetColumnCount(), and m_columns.
Referenced by wxcode::wxTreeListMainWindow::CalculatePositions(), wxcode::wxTreeListMainWindow::EditLabel(), wxcode::wxTreeListItem::HitTest(), OnMouse(), OnPaint(), wxcode::wxTreeListMainWindow::OnPaint(), wxcode::wxTreeListMainWindow::PaintItem(), RefreshColLabel(), and XToCol().
|
inline |
Definition at line 162 of file treelistctrl.cpp.
Referenced by Init().
| void wxcode::wxTreeListHeaderWindow::OnMouse | ( | wxMouseEvent & | event | ) |
Definition at line 1436 of file treelistctrl.cpp.
References DrawCurrent(), wxcode::wxTreeListMainWindow::EndEdit(), wxcode::wxTreeListMainWindow::GetBestColumnWidth(), GetColumnCount(), GetColumnWidth(), IsColumnShown(), m_column, m_columns, m_currentCursor, m_currentX, m_dirty, m_hotTrackCol, m_isDragging, m_minX, m_owner, m_resizeCursor, RefreshColLabel(), SendListEvent(), SetColumnWidth(), and XToCol().
Referenced by Init().
| void wxcode::wxTreeListHeaderWindow::OnPaint | ( | wxPaintEvent & | event | ) |
Definition at line 1323 of file treelistctrl.cpp.
References AdjustDC(), flags, wxcode::wxTreeListColumnInfo::GetAlignment(), GetColumn(), GetColumnCount(), wxcode::wxTreeListColumnInfo::GetImage(), wxcode::wxTreeListMainWindow::GetImageList(), wxcode::wxTreeListColumnInfo::GetText(), wxcode::wxTreeListColumnInfo::GetWidth(), vigra_ext::EMoR::h, wxcode::HEADER_OFFSET_X, IsColumnShown(), m_hotTrackCol, and m_owner.
Referenced by Init().
| void wxcode::wxTreeListHeaderWindow::OnSetFocus | ( | wxFocusEvent & | event | ) |
Definition at line 1564 of file treelistctrl.cpp.
References m_owner, and wxcode::wxTreeListMainWindow::SetFocus().
Referenced by Init().
|
protected |
Definition at line 1417 of file treelistctrl.cpp.
References GetColumn(), GetColumnCount(), wxcode::wxTreeListColumnInfo::GetWidth(), IsColumnShown(), and m_owner.
Referenced by OnMouse().
| void wxcode::wxTreeListHeaderWindow::RemoveColumn | ( | int | column | ) |
Definition at line 1607 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::AdjustMyScrollbars(), GetColumnCount(), m_columns, wxcode::wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
Referenced by wxcode::wxTreeListCtrl::RemoveColumn().
|
private |
| void wxcode::wxTreeListHeaderWindow::SetColumn | ( | int | column, |
| const wxTreeListColumnInfo & | info | ||
| ) |
Definition at line 1615 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::AdjustMyScrollbars(), GetColumnCount(), wxcode::wxTreeListColumnInfo::GetWidth(), celeste::info(), m_columns, wxcode::wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
Referenced by wxcode::wxTreeListCtrl::SetColumn(), wxcode::wxTreeListCtrl::SetColumnAlignment(), wxcode::wxTreeListCtrl::SetColumnEditable(), wxcode::wxTreeListCtrl::SetColumnImage(), and wxcode::wxTreeListCtrl::SetColumnShown().
|
inline |
Definition at line 207 of file treelistctrl.cpp.
References GetColumnCount(), and m_columns.
|
inline |
Definition at line 196 of file treelistctrl.cpp.
References GetColumnCount(), and m_columns.
Referenced by wxcode::wxTreeListCtrl::SetColumnText().
| void wxcode::wxTreeListHeaderWindow::SetColumnWidth | ( | int | column, |
| int | width | ||
| ) |
Definition at line 1590 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::AdjustMyScrollbars(), GetColumnCount(), m_columns, wxcode::wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
Referenced by OnMouse(), and wxcode::wxTreeListCtrl::SetColumnWidth().
|
protected |
Definition at line 1400 of file treelistctrl.cpp.
References GetColumn(), GetColumnCount(), wxcode::wxTreeListColumnInfo::GetWidth(), and IsColumnShown().
Referenced by OnMouse().
|
protected |
Definition at line 125 of file treelistctrl.cpp.
Referenced by OnMouse(), and SendListEvent().
|
protected |
Definition at line 134 of file treelistctrl.cpp.
Referenced by AddColumn(), GetColumn(), GetColumnAlignment(), GetColumnCount(), GetColumnText(), GetColumnWidth(), InsertColumn(), IsColumnEditable(), IsColumnShown(), OnMouse(), RemoveColumn(), SetColumn(), SetColumnAlignment(), SetColumnText(), and SetColumnWidth().
|
protected |
Definition at line 120 of file treelistctrl.cpp.
|
protected |
Definition at line 128 of file treelistctrl.cpp.
Referenced by DrawCurrent(), and OnMouse().
| bool wxcode::wxTreeListHeaderWindow::m_dirty |
Definition at line 233 of file treelistctrl.cpp.
|
protected |
Definition at line 140 of file treelistctrl.cpp.
|
protected |
Definition at line 122 of file treelistctrl.cpp.
|
protected |
Definition at line 132 of file treelistctrl.cpp.
Referenced by OnMouse().
|
protected |
Definition at line 119 of file treelistctrl.cpp.
Referenced by AddColumn(), AdjustDC(), DrawCurrent(), InsertColumn(), OnMouse(), OnPaint(), OnSetFocus(), RefreshColLabel(), RemoveColumn(), SetColumn(), SetColumnWidth(), and wxTreeListHeaderWindow().
|
protected |
Definition at line 121 of file treelistctrl.cpp.
Referenced by OnMouse(), wxTreeListHeaderWindow(), and ~wxTreeListHeaderWindow().
|
protected |
Definition at line 137 of file treelistctrl.cpp.
Referenced by AddColumn(), GetWidth(), Init(), InsertColumn(), RemoveColumn(), SetColumn(), and SetColumnWidth().
1.8.5