aboutsummaryrefslogtreecommitdiff
path: root/src/ui.hh
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-08-01 11:30:28 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-08-01 11:30:28 -0400
commitd1342e1d461b0001f5154c3c95fcc116a2451f50 (patch)
tree45804fc5aca0100e435fffdd743775cd10bd8307 /src/ui.hh
parent80326c4d504759a206682d70f4f886f465b2d320 (diff)
Re-enabled the temoporary panels feature for Ctrl+l
It has lots of code cleanups and a simpler/more-uniform way of handling it all.
Diffstat (limited to 'src/ui.hh')
-rw-r--r--src/ui.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui.hh b/src/ui.hh
index 97f786d8..6fd09b10 100644
--- a/src/ui.hh
+++ b/src/ui.hh
@@ -28,8 +28,7 @@ typedef enum {
typedef enum {
UI_NORMAL = 0, /* make sure it's compatible with bool */
- UI_HIDDEN = 1,
- UI_TEMPORARILY_SHOW_PANELS
+ UI_HIDDEN = 1
} UIPanelmode;
// Private classes
@@ -121,6 +120,7 @@ class UI : public CustGroupVertical {
// Panel customization variables
int PanelSize, CuteColor, Small_Icons;
int p_xpos, p_ypos, bw, bh, mh, lh, nh, fh, sh, pw, lbl;
+ bool PanelTemporary;
UIPanelmode Panelmode;
Fl_Button *make_button(const char *label, Fl_Image *img,
@@ -153,8 +153,6 @@ public:
void customize(int flags);
void button_set_sens(UIButton btn, int sens);
void paste_url();
- void set_panelmode(UIPanelmode mode);
- UIPanelmode get_panelmode();
int get_panelsize() { return PanelSize; }
int get_smallicons() { return Small_Icons; }
void change_panel(int new_size, int small_icons);
@@ -163,6 +161,8 @@ public:
CustTabs *tabs() { return Tabs; }
void tabs(CustTabs *tabs) { Tabs = tabs; }
+ bool temporaryPanels() { return PanelTemporary; }
+ void temporaryPanels(bool val) { PanelTemporary = val; }
// Hooks to method callbacks
void color_change_cb_i();