28#include <cwidget/generic/util/eassert.h>
43 virtual bool operator()(
const treeitem &item)=0;
53 virtual bool operator()(
const treeitem &item);
85 :begin(_begin), end(_end), top(_top), selected(_selected), next(_next) {}
87 flat_frame *prev_level;
116 create(
treeitem *root,
bool showroot =
false)
123 void set_root(
treeitem *_root,
bool showroot=
false);
134 bool get_cursorvisible();
135 point get_cursorloc();
136 virtual bool focus_me() {
return true;}
138 virtual void dispatch_mouse(
short id,
int x,
int y,
int z, mmask_t bstate);
177 void search_for(
const std::wstring &s)
184 void search_back_for(
const std::wstring &s)
187 search_back_for(matches);
190 void set_hierarchical(
bool _hierarchical);
191 bool get_hierarchical() {
return hierarchical;}
212 void jump_to_begin();
214 void level_line_up();
215 void level_line_down();
218 static void init_bindings();