diff options
author | jcid <devnull@localhost> | 2008-05-19 22:10:17 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-05-19 22:10:17 +0200 |
commit | 30e06ecfe0aaa38cfaef24838226dffdca07a0ff (patch) | |
tree | a5e02057b675ec8da67fd71adefd9d887fcbc9f7 /src/ui.hh | |
parent | 3a2b767fe6db080dd68527d3fb1476aabd217de3 (diff) |
- Made CTRL-l focus the location bar instead of popping up a dialog.
Diffstat (limited to 'src/ui.hh')
-rw-r--r-- | src/ui.hh | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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(); }; |