29 #include <cwidget/generic/util/eassert.h>
44 virtual bool operator()(
const treeitem &item)=0;
54 virtual bool operator()(
const treeitem &item);
86 :begin(_begin), end(_end), top(_top), selected(_selected), next(_next) {}
88 flat_frame *prev_level;
117 create(
treeitem *root,
bool showroot =
false)
124 void set_root(
treeitem *_root,
bool showroot=
false);
135 bool get_cursorvisible();
136 point get_cursorloc();
137 virtual bool focus_me() {
return true;}
139 virtual void dispatch_mouse(
short id,
int x,
int y,
int z, mmask_t bstate);
178 void search_for(
const std::wstring &s)
185 void search_back_for(
const std::wstring &s)
188 search_back_for(matches);
191 void set_hierarchical(
bool _hierarchical);
192 bool get_hierarchical() {
return hierarchical;}
213 void jump_to_begin();
215 void level_line_up();
216 void level_line_down();
219 static void init_bindings();