summaryrefslogtreecommitdiff
path: root/src/ui.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.hh')
-rw-r--r--src/ui.hh12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ui.hh b/src/ui.hh
index f917d23a..92614e9c 100644
--- a/src/ui.hh
+++ b/src/ui.hh
@@ -25,6 +25,12 @@ typedef enum {
UI_SEARCH
} UIButton;
+typedef enum {
+ UI_NORMAL = 0, /* make sure it's compatible with bool */
+ UI_HIDDEN = 1,
+ UI_TEMPORARILY_SHOW_PANELS
+} UIPanelmode;
+
// Private class
class NewProgressBox;
@@ -50,7 +56,7 @@ class UI : public fltk::Window {
int PanelSize, CuteColor, Small_Icons;
int xpos, bw, bh, fh, lh, lbl;
- bool Fullscreen;
+ UIPanelmode Panelmode;
PackedGroup *make_toolbar(int tw, int th);
PackedGroup *make_location();
@@ -79,6 +85,8 @@ public:
void customize(int flags);
void button_set_sens(UIButton btn, int sens);
void paste_url();
+ void set_panelmode(UIPanelmode mode);
+ UIPanelmode get_panelmode();
Widget *fullscreen_button() { return FullScreen; }
void fullscreen_toggle() { FullScreen->do_callback(); }
@@ -87,7 +95,7 @@ public:
void panel_cb_i();
void color_change_cb_i();
void toggle_cb_i();
- void fullscreen_cb_i();
+ void panelmode_cb_i();
void imageload_toggle();
};