summaryrefslogtreecommitdiff
path: root/src/Fl_Search_Chooser.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Search_Chooser.H')
-rw-r--r--src/Fl_Search_Chooser.H9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Fl_Search_Chooser.H b/src/Fl_Search_Chooser.H
index e968452..4e89a1a 100644
--- a/src/Fl_Search_Chooser.H
+++ b/src/Fl_Search_Chooser.H
@@ -17,22 +17,23 @@ class Fl_Search_Browser : public Fl_Select_Browser {
Fl_Search_Browser(int X, int Y, int W, int H, const char *c):Fl_Select_Browser(X,Y,W,H,c){};
int find_prefix(const char *p);
+
private:
int find_prefix(const char *p, int s, int e);
};
-class Fl_Search_Chooser {
+class Fl_Search_Chooser : public Fl_Window {
private:
public:
- Fl_Window *w;
Fl_Search_Browser *sb;
Fl_Search_Chooser(const char *title);
void add(const char *t, void *d);
+
void *data();
- void show();
- int shown();
+
+ int handle(int event);
};
#endif