aboutsummaryrefslogtreecommitdiff
path: root/src/findbar.hh
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-09-12 22:50:43 +0200
committerjcid <devnull@localhost>2008-09-12 22:50:43 +0200
commitf6940d9ad7ee28c7226b8e66798fb9537ae3e238 (patch)
tree107107039b36532f3a6b7a60c8fbdf211b415b3a /src/findbar.hh
parent1289d19d8b8ccebb8a67adaece6ca8b6a92d2ac8 (diff)
- Reverted an accidental testing code commit.
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();