Hugintrunk
0.1
|
Public Member Functions | |
wxTreeListItem () | |
wxTreeListItem (wxTreeListMainWindow *owner, wxTreeListItem *parent, const wxArrayString &text, int image, int selImage, wxTreeItemData *data) | |
~wxTreeListItem () | |
wxArrayTreeListItems & | GetChildren () |
const wxString | GetText (int column) const |
int | GetImage (wxTreeItemIcon which=wxTreeItemIcon_Normal) const |
int | GetImage (int column, wxTreeItemIcon which=wxTreeItemIcon_Normal) const |
wxTreeItemData * | GetData () const |
wxTreeItemData * | GetData (int column) const |
const wxString * | GetToolTip () const |
int | GetCurrentImage () const |
void | SetHasPlus (bool has=true) |
void | SetText (int column, const wxString &text) |
void | SetImage (int image, wxTreeItemIcon which) |
void | SetImage (int column, int image, wxTreeItemIcon which) |
void | SetData (wxTreeItemData *data) |
void | SetData (int column, wxTreeItemData *data) |
void | SetBold (bool bold) |
void | SetBold (int column, bool bold) |
void | SetToolTip (const wxString &tip) |
bool | HasChildren () const |
bool | IsSelected () const |
bool | IsExpanded () const |
bool | HasPlus () const |
bool | IsBold () const |
bool | IsBold (int column) const |
bool | IsVirtual () const |
int | GetX () const |
int | GetY () const |
void | SetX (int x) |
void | SetY (int y) |
int | GetHeight () const |
int | GetWidth () const |
void | SetHeight (int height) |
void | SetWidth (int width) |
int | GetTextX (int column) const |
void | SetTextX (int column, int text_x) |
wxTreeListItem * | GetItemParent () const |
void | SetItemParent (wxTreeListItem *parent) |
size_t | GetChildrenCount (bool recursively=true) const |
void | GetSize (int &x, int &y, const wxTreeListMainWindow *) |
wxTreeListItem * | HitTest (const wxPoint &point, const wxTreeListMainWindow *, int &flags, int &column, int level) |
void | DeleteChildren () |
void | Insert (wxTreeListItem *child, size_t index) |
void | Expand () |
void | Collapse () |
void | SetHilight (bool set=true) |
wxItemAttr * | GetAttributes (int column) const |
wxItemAttr * | GetAttributes () const |
wxItemAttr & | Attr (int column) |
wxItemAttr & | Attr () |
Private Attributes | |
wxTreeListMainWindow * | m_owner |
wxArrayTreeListItems | m_children |
wxTreeListItem * | m_parent |
wxCoord | m_x |
wxCoord | m_y |
short | m_width |
unsigned char | m_height |
short | m_images [wxTreeItemIcon_Max] |
wxString * | m_toolTip |
int | m_isCollapsed:1 |
int | m_hasHilight:1 |
int | m_hasPlus:1 |
wxArrayString | m_text |
wxArrayLong | m_text_x |
wxTreeListItemCellAttr | m_props_row |
wxTreeListItemCellAttrHash | m_props_cell |
Definition at line 814 of file treelistctrl.cpp.
|
inline |
Definition at line 819 of file treelistctrl.cpp.
References m_toolTip.
wxcode::wxTreeListItem::wxTreeListItem | ( | wxTreeListMainWindow * | owner, |
wxTreeListItem * | parent, | ||
const wxArrayString & | text, | ||
int | image, | ||
int | selImage, | ||
wxTreeItemData * | data | ||
) |
Definition at line 1626 of file treelistctrl.cpp.
References data, wxcode::wxTreeListItemCellAttr::m_data, m_hasHilight, m_hasPlus, m_height, m_images, m_isCollapsed, m_owner, m_parent, m_props_row, m_text, m_text_x, m_toolTip, m_width, m_x, m_y, and wxcode::NO_IMAGE.
wxcode::wxTreeListItem::~wxTreeListItem | ( | ) |
Definition at line 1656 of file treelistctrl.cpp.
References m_children, m_props_cell, and m_toolTip.
|
inline |
Definition at line 1021 of file treelistctrl.cpp.
References m_props_cell.
Referenced by wxcode::wxTreeListMainWindow::SetItemBackgroundColour(), wxcode::wxTreeListMainWindow::SetItemFont(), and wxcode::wxTreeListMainWindow::SetItemTextColour().
|
inline |
Definition at line 1032 of file treelistctrl.cpp.
References wxcode::wxTreeListItemCellAttr::m_attr, wxcode::wxTreeListItemCellAttr::m_ownsAttr, and m_props_row.
|
inline |
Definition at line 1002 of file treelistctrl.cpp.
References m_isCollapsed.
Referenced by wxcode::wxTreeListMainWindow::Collapse().
void wxcode::wxTreeListItem::DeleteChildren | ( | ) |
Definition at line 1668 of file treelistctrl.cpp.
References m_children.
|
inline |
Definition at line 1001 of file treelistctrl.cpp.
References m_isCollapsed.
Referenced by wxcode::wxTreeListMainWindow::AddRoot(), and wxcode::wxTreeListMainWindow::Expand().
|
inline |
Definition at line 1012 of file treelistctrl.cpp.
References GetAttributes(), and m_props_cell.
Referenced by wxcode::wxTreeListMainWindow::GetItemBackgroundColour(), wxcode::wxTreeListMainWindow::GetItemFont(), and wxcode::wxTreeListMainWindow::GetItemTextColour().
|
inline |
Definition at line 1018 of file treelistctrl.cpp.
References wxcode::wxTreeListItemCellAttr::m_attr, and m_props_row.
Referenced by GetAttributes().
|
inline |
Definition at line 832 of file treelistctrl.cpp.
References m_children.
Referenced by wxcode::wxTreeListMainWindow::AppendItem(), wxcode::wxTreeListMainWindow::CalculateLevel(), wxcode::wxTreeListMainWindow::DeleteChildren(), wxcode::wxTreeListMainWindow::DoDeleteItem(), wxcode::wxTreeListMainWindow::FillArray(), wxcode::wxTreeListMainWindow::InsertItem(), wxcode::wxTreeListMainWindow::PaintLevel(), wxcode::wxTreeListMainWindow::RefreshSelectedUnder(), wxcode::wxTreeListMainWindow::SetItemParent(), wxcode::wxTreeListMainWindow::SortChildren(), wxcode::wxTreeListMainWindow::TagAllChildrenUntilLast(), wxcode::wxTreeListMainWindow::TagNextChildren(), and wxcode::wxTreeListMainWindow::UnselectAllChildren().
size_t wxcode::wxTreeListItem::GetChildrenCount | ( | bool | recursively = true | ) | const |
Definition at line 1672 of file treelistctrl.cpp.
References m_children.
Referenced by wxcode::wxTreeListMainWindow::GetCount().
int wxcode::wxTreeListItem::GetCurrentImage | ( | ) | const |
Definition at line 1804 of file treelistctrl.cpp.
References GetImage(), IsExpanded(), IsSelected(), and wxcode::NO_IMAGE.
Referenced by wxcode::wxTreeListMainWindow::GetItemWidth(), and wxcode::wxTreeListMainWindow::PaintItem().
|
inline |
Definition at line 855 of file treelistctrl.cpp.
References wxcode::wxTreeListItemCellAttr::m_data, and m_props_row.
|
inline |
Definition at line 856 of file treelistctrl.cpp.
References m_props_cell.
|
inline |
Definition at line 961 of file treelistctrl.cpp.
References m_height.
Referenced by wxcode::wxTreeListMainWindow::EditLabel(), wxcode::wxTreeListMainWindow::GetLineHeight(), and wxcode::wxTreeListMainWindow::OnChar().
|
inline |
Definition at line 842 of file treelistctrl.cpp.
References m_images.
Referenced by GetCurrentImage(), and wxcode::wxTreeListMainWindow::PaintItem().
|
inline |
Definition at line 843 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::GetMainColumn(), m_images, m_owner, m_props_cell, and wxcode::NO_IMAGE.
|
inline |
Definition at line 977 of file treelistctrl.cpp.
References m_parent.
Referenced by wxcode::wxTreeListMainWindow::Delete(), wxcode::wxTreeListMainWindow::DoDeleteItem(), wxcode::wxTreeListMainWindow::EnsureVisible(), wxcode::wxTreeListMainWindow::GetItemWidth(), wxcode::wxTreeListMainWindow::SetItemParent(), and wxcode::wxTreeListMainWindow::TagNextChildren().
void wxcode::wxTreeListItem::GetSize | ( | int & | x, |
int & | y, | ||
const wxTreeListMainWindow * | theButton | ||
) |
Definition at line 1683 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::GetLineHeight(), GetWidth(), IsExpanded(), m_children, m_x, and m_y.
Referenced by wxcode::wxTreeListMainWindow::AdjustMyScrollbars(), and wxcode::wxTreeListMainWindow::ScrollTo().
|
inline |
Definition at line 835 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::GetItemText(), IsVirtual(), wxcode::wxTreeListItemCellAttr::m_data, m_owner, m_props_row, and m_text.
Referenced by wxcode::wxTreeListMainWindow::CalculateSize(), wxcode::wxTreeListMainWindow::EditLabel(), wxcode::wxTreeListMainWindow::GetItemWidth(), and wxcode::wxTreeListMainWindow::PaintItem().
|
inline |
Definition at line 967 of file treelistctrl.cpp.
References m_text_x.
Referenced by wxcode::wxTreeListMainWindow::EditLabel(), and HitTest().
|
inline |
Definition at line 862 of file treelistctrl.cpp.
References m_toolTip.
Referenced by wxcode::wxTreeListMainWindow::OnMouse().
|
inline |
Definition at line 962 of file treelistctrl.cpp.
References m_width.
Referenced by wxcode::wxTreeListMainWindow::EditLabel(), GetSize(), and HitTest().
|
inline |
Definition at line 955 of file treelistctrl.cpp.
References m_x.
Referenced by wxcode::wxTreeListMainWindow::PaintItem(), and wxcode::wxTreeListMainWindow::PaintLevel().
|
inline |
Definition at line 956 of file treelistctrl.cpp.
References m_y.
Referenced by wxcode::wxTreeListMainWindow::EditLabel(), wxcode::wxTreeListMainWindow::PaintItem(), wxcode::wxTreeListMainWindow::RefreshLine(), wxcode::wxTreeListMainWindow::RefreshSubtree(), wxcode::wxTreeListMainWindow::ScrollTo(), and wxcode::wxTreeListMainWindow::SelectItem().
|
inline |
Definition at line 940 of file treelistctrl.cpp.
References m_children.
Referenced by wxcode::wxTreeListMainWindow::FillArray(), HasPlus(), wxcode::wxTreeListMainWindow::TagAllChildrenUntilLast(), wxcode::wxTreeListMainWindow::TagNextChildren(), and wxcode::wxTreeListMainWindow::UnselectAllChildren().
|
inline |
Definition at line 943 of file treelistctrl.cpp.
References HasChildren(), and m_hasPlus.
Referenced by wxcode::wxTreeListMainWindow::Collapse(), wxcode::wxTreeListMainWindow::Expand(), HitTest(), wxcode::wxTreeListMainWindow::OnChar(), wxcode::wxTreeListMainWindow::OnMouse(), and wxcode::wxTreeListMainWindow::PaintLevel().
wxTreeListItem * wxcode::wxTreeListItem::HitTest | ( | const wxPoint & | point, |
const wxTreeListMainWindow * | theCtrl, | ||
int & | flags, | ||
int & | column, | ||
int | level | ||
) |
Definition at line 1697 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::GetColumnCount(), wxcode::wxTreeListHeaderWindow::GetColumnWidth(), wxcode::wxTreeListCtrl::GetHeaderWindow(), wxcode::wxTreeListMainWindow::GetLineHeight(), wxcode::wxTreeListMainWindow::GetMainColumn(), GetTextX(), wxcode::wxTreeListHeaderWindow::GetWidth(), GetWidth(), vigra_ext::EMoR::h, wxcode::wxTreeListMainWindow::HasButtons(), HasPlus(), wxcode::wxTreeListHeaderWindow::IsColumnShown(), IsExpanded(), wxcode::wxTreeListMainWindow::m_btnHeight, wxcode::wxTreeListMainWindow::m_btnHeight2, wxcode::wxTreeListMainWindow::m_btnWidth, wxcode::wxTreeListMainWindow::m_btnWidth2, m_children, wxcode::wxTreeListMainWindow::m_imgHeight, wxcode::wxTreeListMainWindow::m_imgHeight2, wxcode::wxTreeListMainWindow::m_imgWidth, wxcode::wxTreeListMainWindow::m_owner, m_x, m_y, wxcode::MARGIN, and wxcode::wxTREE_HITTEST_ONITEMCOLUMN.
Referenced by wxcode::wxTreeListMainWindow::HitTest(), wxcode::wxTreeListMainWindow::OnChar(), and wxcode::wxTreeListMainWindow::OnMouse().
|
inline |
Definition at line 998 of file treelistctrl.cpp.
References m_children.
Referenced by wxcode::wxTreeListMainWindow::DoInsertItem().
|
inline |
Definition at line 944 of file treelistctrl.cpp.
References wxcode::wxTreeListItemCellAttr::m_isBold, and m_props_row.
Referenced by IsBold().
|
inline |
Definition at line 945 of file treelistctrl.cpp.
References IsBold(), and m_props_cell.
|
inline |
Definition at line 942 of file treelistctrl.cpp.
References m_isCollapsed.
Referenced by wxcode::wxTreeListMainWindow::CalculateLevel(), wxcode::wxTreeListMainWindow::Collapse(), wxcode::wxTreeListMainWindow::Expand(), GetCurrentImage(), GetSize(), HitTest(), wxcode::wxTreeListMainWindow::PaintLevel(), wxcode::wxTreeListMainWindow::TagAllChildrenUntilLast(), and wxcode::wxTreeListMainWindow::TagNextChildren().
|
inline |
Definition at line 941 of file treelistctrl.cpp.
References m_hasHilight.
Referenced by wxcode::wxTreeListMainWindow::FillArray(), GetCurrentImage(), wxcode::wxTreeListMainWindow::OnMouse(), wxcode::wxTreeListMainWindow::PaintItem(), wxcode::wxTreeListMainWindow::PaintLevel(), wxcode::wxTreeListMainWindow::RefreshSelectedUnder(), wxcode::wxTreeListMainWindow::SelectItem(), and wxcode::wxTreeListMainWindow::UnselectAllChildren().
|
inline |
Definition at line 951 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::IsVirtual(), and m_owner.
Referenced by GetText().
|
inline |
Definition at line 917 of file treelistctrl.cpp.
References wxcode::wxTreeListItemCellAttr::m_isBold, and m_props_row.
Referenced by wxcode::wxTreeListMainWindow::SetItemBold().
|
inline |
Definition at line 918 of file treelistctrl.cpp.
References m_props_cell.
|
inline |
Definition at line 905 of file treelistctrl.cpp.
References data, wxcode::wxTreeListItemCellAttr::m_data, and m_props_row.
|
inline |
Definition at line 906 of file treelistctrl.cpp.
References data, and m_props_cell.
|
inline |
Definition at line 871 of file treelistctrl.cpp.
References m_hasPlus.
Referenced by wxcode::wxTreeListMainWindow::AddRoot(), and wxcode::wxTreeListMainWindow::SetItemHasChildren().
|
inline |
Definition at line 964 of file treelistctrl.cpp.
References m_height.
Referenced by wxcode::wxTreeListMainWindow::CalculateSize().
|
inline |
Definition at line 1004 of file treelistctrl.cpp.
References m_hasHilight.
Referenced by wxcode::wxTreeListMainWindow::SelectItem(), wxcode::wxTreeListMainWindow::TagAllChildrenUntilLast(), wxcode::wxTreeListMainWindow::Unselect(), and wxcode::wxTreeListMainWindow::UnselectAllChildren().
|
inline |
Definition at line 887 of file treelistctrl.cpp.
References m_images.
Referenced by wxcode::wxTreeListMainWindow::SetItemImage().
|
inline |
Definition at line 888 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::GetMainColumn(), m_images, m_owner, and m_props_cell.
|
inline |
Definition at line 978 of file treelistctrl.cpp.
References m_parent.
Referenced by wxcode::wxTreeListMainWindow::SetItemParent().
|
inline |
Definition at line 873 of file treelistctrl.cpp.
References wxcode::wxTreeListMainWindow::GetColumnCount(), m_owner, m_text, and m_text_x.
Referenced by wxcode::wxTreeListMainWindow::SetItemText().
|
inline |
Definition at line 975 of file treelistctrl.cpp.
References m_text_x.
Referenced by wxcode::wxTreeListMainWindow::PaintItem().
|
inline |
Definition at line 932 of file treelistctrl.cpp.
References m_toolTip.
|
inline |
Definition at line 965 of file treelistctrl.cpp.
References m_width.
Referenced by wxcode::wxTreeListMainWindow::CalculateSize().
|
inline |
Definition at line 958 of file treelistctrl.cpp.
References m_x.
Referenced by wxcode::wxTreeListMainWindow::CalculateLevel(), and wxcode::wxTreeListMainWindow::PaintLevel().
|
inline |
Definition at line 959 of file treelistctrl.cpp.
References m_y.
Referenced by wxcode::wxTreeListMainWindow::CalculateLevel(), and wxcode::wxTreeListMainWindow::PaintLevel().
|
private |
Definition at line 1060 of file treelistctrl.cpp.
Referenced by DeleteChildren(), GetChildren(), GetChildrenCount(), GetSize(), HasChildren(), HitTest(), Insert(), and ~wxTreeListItem().
|
private |
Definition at line 1076 of file treelistctrl.cpp.
Referenced by IsSelected(), SetHilight(), and wxTreeListItem().
|
private |
Definition at line 1077 of file treelistctrl.cpp.
Referenced by HasPlus(), SetHasPlus(), and wxTreeListItem().
|
private |
Definition at line 1067 of file treelistctrl.cpp.
Referenced by GetHeight(), SetHeight(), and wxTreeListItem().
|
private |
Definition at line 1070 of file treelistctrl.cpp.
Referenced by GetImage(), SetImage(), and wxTreeListItem().
|
private |
Definition at line 1075 of file treelistctrl.cpp.
Referenced by Collapse(), Expand(), IsExpanded(), and wxTreeListItem().
|
private |
Definition at line 1058 of file treelistctrl.cpp.
Referenced by GetImage(), GetText(), IsVirtual(), SetImage(), SetText(), and wxTreeListItem().
|
private |
Definition at line 1061 of file treelistctrl.cpp.
Referenced by GetItemParent(), SetItemParent(), and wxTreeListItem().
|
private |
Definition at line 1084 of file treelistctrl.cpp.
Referenced by Attr(), GetAttributes(), GetData(), GetImage(), IsBold(), SetBold(), SetData(), SetImage(), and ~wxTreeListItem().
|
private |
Definition at line 1083 of file treelistctrl.cpp.
Referenced by Attr(), GetAttributes(), GetData(), GetText(), IsBold(), SetBold(), SetData(), and wxTreeListItem().
|
private |
Definition at line 1081 of file treelistctrl.cpp.
Referenced by GetText(), SetText(), and wxTreeListItem().
|
private |
Definition at line 1082 of file treelistctrl.cpp.
Referenced by GetTextX(), SetText(), SetTextX(), and wxTreeListItem().
|
private |
Definition at line 1072 of file treelistctrl.cpp.
Referenced by GetToolTip(), SetToolTip(), wxTreeListItem(), and ~wxTreeListItem().
|
private |
Definition at line 1066 of file treelistctrl.cpp.
Referenced by GetWidth(), SetWidth(), and wxTreeListItem().
|
private |
Definition at line 1064 of file treelistctrl.cpp.
Referenced by GetSize(), GetX(), HitTest(), SetX(), and wxTreeListItem().
|
private |
Definition at line 1065 of file treelistctrl.cpp.
Referenced by GetSize(), GetY(), HitTest(), SetY(), and wxTreeListItem().