diff options
Diffstat (limited to 'src/ui.hh')
-rw-r--r-- | src/ui.hh | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -12,7 +12,6 @@ #include <fltk/Image.h> #include <fltk/MultiImage.h> #include <fltk/MenuBuild.h> -#include <fltk/TabGroup.h> #include "findbar.hh" @@ -37,21 +36,18 @@ typedef enum { } UIPanelmode; // Private class -class CustProgressBox; +class NewProgressBox; // // UI class definition ------------------------------------------------------- // -class UI : public fltk::Group { - void *Bw; - TabGroup *Tabs; - +class UI : public fltk::Window { Group *TopGroup; Button *Back, *Forw, *Home, *Reload, *Save, *Stop, *Bookmarks, *Clear, *Search, *FullScreen, *ImageLoad, *BugMeter; Input *Location; PackedGroup *ProgBox; - CustProgressBox *PProg, *IProg; + NewProgressBox *PProg, *IProg; Image *ImgLeftIns, *ImgLeftSens, *ImgRightIns, *ImgRightSens, *ImgStopIns, *ImgStopSens, *ImgFullScreenOn, *ImgFullScreenOff, *ImgImageLoadOn, *ImgImageLoadOff, *ImgMeterOK, *ImgMeterBug, @@ -88,7 +84,6 @@ public: const char *get_location(); void set_location(const char *str); void focus_location(); - void focus_main(); void set_status(const char *str); void set_page_prog(size_t nbytes, int cmd); void set_img_prog(int n_img, int t_img, int cmd); @@ -101,14 +96,10 @@ public: void set_panelmode(UIPanelmode mode); UIPanelmode get_panelmode(); void set_findbar_visibility(bool visible); + Widget *fullscreen_button() { return FullScreen; } void fullscreen_toggle() { FullScreen->do_callback(); } - TabGroup *tabs() { return Tabs; } - void tabs(TabGroup *tabs) { Tabs = tabs; } - void *vbw() { return Bw; } - void vbw(void *v_bw) { Bw = v_bw; } - // Hooks to method callbacks void panel_cb_i(); void color_change_cb_i(); |