diff options
author | jcid <devnull@localhost> | 2008-05-24 15:23:38 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-05-24 15:23:38 +0200 |
commit | 456c38b0a51447c53aaf31e307ebace34c813a17 (patch) | |
tree | 9143f7977edee7ecb2039f419383070bba600902 /src/findbar.hh | |
parent | 0fabfbf53861b87b8c22ddf616700a421fceac16 (diff) |
- Switched findbar callbacks to static methods.
Diffstat (limited to 'src/findbar.hh')
-rw-r--r-- | src/findbar.hh | 8 |
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(); |