NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
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 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 |
Private Member Functions | |
void | Init () |
void | SendListEvent (wxEventType type, wxPoint pos) |
Definition at line 117 of file treelistctrl.cpp.
wxTreeListHeaderWindow::wxTreeListHeaderWindow | ( | ) |
Definition at line 1451 of file treelistctrl.cpp.
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 1459 of file treelistctrl.cpp.
References Init(), m_owner, and m_resizeCursor.
|
virtual |
Definition at line 1480 of file treelistctrl.cpp.
References m_resizeCursor.
void wxTreeListHeaderWindow::AddColumn | ( | const wxTreeListColumnInfo & | colInfo | ) |
Definition at line 1906 of file treelistctrl.cpp.
References wxTreeListMainWindow::AdjustMyScrollbars(), wxTreeListColumnInfo::GetWidth(), m_columns, wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
void wxTreeListHeaderWindow::AdjustDC | ( | wxDC & | dc | ) |
Definition at line 1520 of file treelistctrl.cpp.
References m_owner.
Referenced by DrawCurrent(), and OnPaint().
void wxTreeListHeaderWindow::DoDrawRect | ( | wxDC * | dc, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
Definition at line 1485 of file treelistctrl.cpp.
Referenced by OnPaint().
void wxTreeListHeaderWindow::DrawCurrent | ( | ) |
Definition at line 1676 of file treelistctrl.cpp.
References AdjustDC(), m_currentX, and m_owner.
Referenced by OnMouse().
|
inline |
Definition at line 194 of file treelistctrl.cpp.
References _T, and wxInvalidTreeListColumnInfo.
|
inline |
Definition at line 188 of file treelistctrl.cpp.
References _T, and wxInvalidTreeListColumnInfo.
Referenced by OnPaint(), and wxTreeListMainWindow::PaintItem().
|
inline |
Definition at line 215 of file treelistctrl.cpp.
References _T.
Referenced by wxTreeListMainWindow::EditLabel().
|
inline |
Definition at line 176 of file treelistctrl.cpp.
Referenced by InsertColumn(), OnMouse(), OnPaint(), RemoveColumn(), SetColumn(), and SetColumnWidth().
|
inline |
Definition at line 202 of file treelistctrl.cpp.
References _T.
|
inline |
Definition at line 228 of file treelistctrl.cpp.
References _T.
Referenced by wxTreeListMainWindow::CalculatePositions(), wxTreeListMainWindow::EditLabel(), wxTreeListItem::HitTest(), OnMouse(), wxTreeListMainWindow::OnPaint(), and wxTreeListMainWindow::PaintItem().
|
inline |
Definition at line 170 of file treelistctrl.cpp.
Referenced by wxTreeListMainWindow::AdjustMyScrollbars(), wxTreeListItem::HitTest(), wxTreeListMainWindow::PaintItem(), wxTreeListMainWindow::PaintLevel(), and wxTreeListMainWindow::ScrollTo().
|
private |
Referenced by wxTreeListHeaderWindow().
void wxTreeListHeaderWindow::InsertColumn | ( | int | before, |
const wxTreeListColumnInfo & | colInfo | ||
) |
Definition at line 1924 of file treelistctrl.cpp.
References _T, wxTreeListMainWindow::AdjustMyScrollbars(), GetColumnCount(), wxTreeListColumnInfo::GetWidth(), m_columns, wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
|
inline |
Definition at line 236 of file treelistctrl.cpp.
References _T.
Referenced by wxTreeListMainWindow::OnMouse().
|
inline |
Definition at line 243 of file treelistctrl.cpp.
References _T.
Referenced by wxTreeListMainWindow::CalculatePositions(), wxTreeListMainWindow::EditLabel(), wxTreeListItem::HitTest(), OnMouse(), OnPaint(), wxTreeListMainWindow::OnPaint(), and wxTreeListMainWindow::PaintItem().
|
inline |
Definition at line 165 of file treelistctrl.cpp.
void wxTreeListHeaderWindow::OnMouse | ( | wxMouseEvent & | event | ) |
Definition at line 1742 of file treelistctrl.cpp.
References date::abs(), DrawCurrent(), wxTreeListMainWindow::EndEdit(), wxTreeListMainWindow::GetBestColumnWidth(), GetColumnCount(), GetColumnWidth(), IsColumnShown(), m_column, m_currentCursor, m_currentX, m_dirty, m_isDragging, m_minX, m_owner, m_resizeCursor, SendListEvent(), and SetColumnWidth().
void wxTreeListHeaderWindow::OnPaint | ( | wxPaintEvent & | event | ) |
Definition at line 1531 of file treelistctrl.cpp.
References AdjustDC(), DoDrawRect(), EXTRA_HEIGHT, EXTRA_WIDTH, wxTreeListColumnInfo::GetAlignment(), GetColumn(), GetColumnCount(), wxTreeListColumnInfo::GetImage(), wxTreeListMainWindow::GetImageList(), wxTreeListColumnInfo::GetText(), wxTreeListColumnInfo::GetWidth(), HEADER_OFFSET_X, HEADER_OFFSET_Y, IsColumnShown(), m_owner, and MARGIN.
void wxTreeListHeaderWindow::OnSetFocus | ( | wxFocusEvent & | event | ) |
Definition at line 1885 of file treelistctrl.cpp.
References m_owner, and wxTreeListMainWindow::SetFocus().
void wxTreeListHeaderWindow::RemoveColumn | ( | int | column | ) |
Definition at line 1933 of file treelistctrl.cpp.
References _T, wxTreeListMainWindow::AdjustMyScrollbars(), GetColumnCount(), m_columns, wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
|
private |
void wxTreeListHeaderWindow::SetColumn | ( | int | column, |
const wxTreeListColumnInfo & | info | ||
) |
Definition at line 1942 of file treelistctrl.cpp.
References _T, wxTreeListMainWindow::AdjustMyScrollbars(), GetColumnCount(), wxTreeListColumnInfo::GetWidth(), m_columns, wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
|
inline |
Definition at line 221 of file treelistctrl.cpp.
References _T.
|
inline |
Definition at line 208 of file treelistctrl.cpp.
References _T.
void wxTreeListHeaderWindow::SetColumnWidth | ( | int | column, |
int | width | ||
) |
Definition at line 1914 of file treelistctrl.cpp.
References _T, wxTreeListMainWindow::AdjustMyScrollbars(), GetColumnCount(), m_columns, wxTreeListMainWindow::m_dirty, m_owner, and m_total_col_width.
Referenced by OnMouse().
|
protected |
Definition at line 126 of file treelistctrl.cpp.
Referenced by OnMouse(), and SendListEvent().
|
protected |
Definition at line 135 of file treelistctrl.cpp.
Referenced by AddColumn(), InsertColumn(), RemoveColumn(), SetColumn(), and SetColumnWidth().
|
protected |
Definition at line 121 of file treelistctrl.cpp.
Referenced by OnMouse().
|
protected |
Definition at line 129 of file treelistctrl.cpp.
Referenced by DrawCurrent(), and OnMouse().
bool wxTreeListHeaderWindow::m_dirty |
Definition at line 251 of file treelistctrl.cpp.
Referenced by OnMouse().
|
protected |
Definition at line 123 of file treelistctrl.cpp.
Referenced by OnMouse().
|
protected |
Definition at line 133 of file treelistctrl.cpp.
Referenced by OnMouse().
|
protected |
Definition at line 120 of file treelistctrl.cpp.
Referenced by AddColumn(), AdjustDC(), DrawCurrent(), InsertColumn(), OnMouse(), OnPaint(), OnSetFocus(), RemoveColumn(), SetColumn(), SetColumnWidth(), and wxTreeListHeaderWindow().
|
protected |
Definition at line 122 of file treelistctrl.cpp.
Referenced by OnMouse(), wxTreeListHeaderWindow(), and ~wxTreeListHeaderWindow().
|
protected |
Definition at line 138 of file treelistctrl.cpp.
Referenced by AddColumn(), InsertColumn(), RemoveColumn(), SetColumn(), and SetColumnWidth().