(wxWindow* parent, wxWindowID
id,
booldrawcheckboxes,
constwxPoint& pos = wxDefaultPosition,
constwxSize&
size= wxDefaultSize,
longstyle = 0,
constwxString& name = wxPanelNameStr) :
65wxWindow(parent, id, pos,
size, style, name),
m_DrawCB(drawcheckboxes),
m_Current(0),
m_ScrollBar(
false),
m_Start(0),
m_Fullheight(0),
m_CB_width(0),
m_CB_height(0),
m_SB_width(0),
m_LN_height(0),
m_MIN_width(0),
m_MIN_height(0) {}
81 void Paint(wxDC& dc);
82 void OnPaint(wxPaintEvent & evt);
84 void OnScroll(wxScrollWinEvent& evt);
85 void OnWheel(wxMouseEvent& evt);
88 void OnClick(wxMouseEvent& evt);
96 staticvector<string>
Split(
string str, wxDC& dc,
intwidth);
99 void DrawExpander(wxDC& dc, wxRect& rect,
boolopen,
boolhighlited);
vector< CCustomTreeItem * > m_List
virtual string GetText() const =0
CCustomTreeItem * m_Parent
virtual ~CCustomTreeItem()
CCustomTreeItem(CCustomTreeItem *parent, bool x=false, bool c=false, bool a=false)
vector< CCustomTreeItem * > GetChildren()
void CheckAll(bool check)
void OnSetFocus(wxFocusEvent &evt)
void PropagateCheck(CCustomTreeItem *item, bool check)
vector< CCustomTreeItem * > GetAllItems()
CCustomTree(wxWindow *parent, wxWindowID id, bool drawcheckboxes, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)
void OnKillFocus(wxFocusEvent &evt)
void OnPaint(wxPaintEvent &evt)
void SetCurrentItem(CCustomTreeItem *p)
vector< CCustomTreeItem * > m_All
void OnDblClick(wxMouseEvent &evt)
CCustomTreeItem * GetCurrentItem()
void OnClick(wxMouseEvent &evt)
void OnSize(wxSizeEvent &evt)
void DrawExpander(wxDC &dc, wxRect &rect, bool open, bool highlited)
void CheckParent(CCustomTreeItem *item, bool check)
void OnWheel(wxMouseEvent &evt)
static vector< string > Split(string str, wxDC &dc, int width)
void OnScroll(wxScrollWinEvent &evt)
vector< CCustomTreeItem * > GetRootItems()
void ExpandItem(CCustomTreeItem *item, bool expand)
void Add(CCustomTreeItem *item)
CCustomTreeItem * m_Current
int ItemHeight(const CCustomTreeItem &item, wxDC &dc, int width)
vector< CCustomTreeItem * > GetVisibleItems()
vector< CCustomTreeItem * > m_List
vector< CCustomTreeItem * > m_Visible
void CheckItem(CCustomTreeItem *item, bool check, bool propagate=true)
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * str(char *buf, int n)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4