Patches for wxTreeListCtrl from Alberto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -156,6 +156,10 @@ public:
|
||||
unsigned int GetSpacing() const;
|
||||
void SetSpacing(unsigned int spacing);
|
||||
|
||||
// line spacing is the space above and below the text on each line
|
||||
unsigned int GetLineSpacing() const;
|
||||
void SetLineSpacing(unsigned int spacing);
|
||||
|
||||
// image list: these functions allow to associate an image list with
|
||||
// the control and retrieve it. Note that when assigned with
|
||||
// SetImageList, the control does _not_ delete
|
||||
@@ -210,9 +214,15 @@ public:
|
||||
wxString GetColumnText(size_t column) const;
|
||||
|
||||
void SetColumn(size_t column, const wxTreeListColumnInfo& info);
|
||||
wxTreeListColumnInfo GetColumn(size_t column);
|
||||
const wxTreeListColumnInfo GetColumn(size_t column) const;
|
||||
wxTreeListColumnInfo& GetColumn(size_t column);
|
||||
const wxTreeListColumnInfo& GetColumn(size_t column) const;
|
||||
|
||||
// other column-related methods
|
||||
void SetColumnAlignment(size_t column, wxTreeListColumnAlign align);
|
||||
wxTreeListColumnAlign GetColumnAlignment(size_t column) const;
|
||||
|
||||
void SetColumnImage(size_t column, int image);
|
||||
int GetColumnImage(size_t column) const;
|
||||
|
||||
// Functions to work with tree list ctrl items.
|
||||
|
||||
@@ -235,6 +245,11 @@ public:
|
||||
// get the data associated with the item
|
||||
wxTreeItemData *GetItemData(const wxTreeItemId& item) const;
|
||||
|
||||
bool GetItemBold(const wxTreeItemId& item) const;
|
||||
wxColour GetItemTextColour(const wxTreeItemId& item) const;
|
||||
wxColour GetItemBackgroundColour(const wxTreeItemId& item) const;
|
||||
wxFont GetItemFont(const wxTreeItemId& item) const;
|
||||
|
||||
// modifiers
|
||||
// ---------
|
||||
|
||||
|
Reference in New Issue
Block a user