summaryrefslogtreecommitdiff
path: root/src/findbar.hh
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-05-24 15:23:38 +0200
committerjcid <devnull@localhost>2008-05-24 15:23:38 +0200
commit456c38b0a51447c53aaf31e307ebace34c813a17 (patch)
tree9143f7977edee7ecb2039f419383070bba600902 /src/findbar.hh
parent0fabfbf53861b87b8c22ddf616700a421fceac16 (diff)
- Switched findbar callbacks to static methods.
Diffstat (limited to 'src/findbar.hh')
-rw-r--r--src/findbar.hh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/findbar.hh b/src/findbar.hh
index 096025e5..9f76398a 100644
--- a/src/findbar.hh
+++ b/src/findbar.hh
@@ -22,13 +22,15 @@ class Findbar : public Group {
HighlightButton *findb;
Button *clrb;
HighlightButton *hidebutton;
-
-public:
- /* the callback functions need those */
UI *ui;
Input *i;
CheckButton *cb;
+
+ static void search_cb (Widget *, void *);
+ static void search_cb2 (Widget *, void *);
+ static void hide_cb (Widget *, void *);
+public:
Findbar(int width, int height, UI *ui);
int handle(int event);
void show();