aboutsummaryrefslogtreecommitdiff
path: root/src/findbar.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/findbar.hh')
-rw-r--r--src/findbar.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/findbar.hh b/src/findbar.hh
index b5591889..db803140 100644
--- a/src/findbar.hh
+++ b/src/findbar.hh
@@ -9,6 +9,9 @@
#include <fltk/Group.h>
#include <fltk/CheckButton.h>
+// simple declaration to avoid circular include
+class UI;
+
using namespace fltk;
/*
@@ -19,6 +22,7 @@ class Findbar : public Group {
Button *clrb;
HighlightButton *hidebutton;
xpmImage *hideImg;
+ UI *ui;
Input *i;
CheckButton *cb;
@@ -27,7 +31,7 @@ class Findbar : public Group {
static void hide_cb (Widget *, void *);
public:
- Findbar(int width, int height);
+ Findbar(int width, int height, UI *ui);
~Findbar();
int handle(int event);
void show();