summaryrefslogtreecommitdiff
path: root/src/Fl_Search_Chooser.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-05 22:33:19 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-05 22:33:19 +0200
commit84802dd00c14ac98164fc9a7bfa1990cbf36d91c (patch)
tree824b08a52a2b918346735f29b24afeb19ca0bca3 /src/Fl_Search_Chooser.cxx
parent4c001eebef3a0c8201293e2dbfb27c2aa65c0591 (diff)
Fl_Search_Chooser cleanup
Diffstat (limited to 'src/Fl_Search_Chooser.cxx')
-rw-r--r--src/Fl_Search_Chooser.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Fl_Search_Chooser.cxx b/src/Fl_Search_Chooser.cxx
index b5e535f..66f2099 100644
--- a/src/Fl_Search_Chooser.cxx
+++ b/src/Fl_Search_Chooser.cxx
@@ -47,17 +47,20 @@ Fl_Search_Browser::find_prefix(const char *p, int s, int e) {
}
}
-static void input_cb(Fl_Input* in, void*c) {
+void
+Fl_Search_Chooser::input_cb(Fl_Input* in, void*c) {
Fl_Search_Browser *sb = ((Fl_Search_Chooser *) c)->sb;
sb->find_prefix(in->value());
}
-static void ok_cb(Fl_Input* in, void*c) {
+void
+Fl_Search_Chooser::ok_cb(Fl_Input* in, void*c) {
Fl_Search_Chooser *sc = (Fl_Search_Chooser *) c;
sc->close();
}
-static void cancel_cb(Fl_Input* in, void*c) {
+void
+Fl_Search_Chooser::cancel_cb(Fl_Input* in, void*c) {
Fl_Search_Chooser *sc = (Fl_Search_Chooser *) c;
sc->sb->deselect();
sc->close();