aboutsummaryrefslogtreecommitdiff
path: root/src/ui.hh
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-03-09 14:17:01 -0300
committerJorge Arellano Cid <jcid@dillo.org>2011-03-09 14:17:01 -0300
commit8edebf4f7e3775f3242ac257741c3fc1510f2d79 (patch)
tree1d7f7ac5d4958694a424d0e0846d4aed8dad32cb /src/ui.hh
parentf359543fa273a205b0111e824d34fca839cd3b45 (diff)
Initial changes to make the tiny panel mode work
Diffstat (limited to 'src/ui.hh')
-rw-r--r--src/ui.hh17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/ui.hh b/src/ui.hh
index 600badc6..64251e6a 100644
--- a/src/ui.hh
+++ b/src/ui.hh
@@ -40,7 +40,7 @@ class CustTabGroup;
//
// UI class definition -------------------------------------------------------
//
-class UI : public Fl_Group {
+class UI : public Fl_Pack {
CustTabGroup *Tabs;
char *TabTooltip;
@@ -56,19 +56,20 @@ class UI : public Fl_Group {
int MainIdx;
// Panel customization variables
int PanelSize, CuteColor, Small_Icons;
- int xpos, bw, bh, fh, lh, lbl;
+ int p_xpos, p_ypos, bw, bh, fh, lh, pw, lbl;
UIPanelmode Panelmode;
Findbar *findbar;
int PointerOnLink;
-
- Fl_Pack *make_toolbar(int tw, int th);
- Fl_Pack *make_location();
- Fl_Pack *make_progress_bars(int wide, int thin_up);
+ Fl_Button *make_button(const char *label, Fl_Image *img,
+ Fl_Image*deimg, int b_n, int start = 0);
+ void make_toolbar(int tw, int th);
+ void make_location(int ww);
+ void make_progress_bars(int wide, int thin_up);
void make_menubar(int x, int y, int w, int h);
Fl_Widget *make_filemenu_button();
- Fl_Group *make_panel(int ww);
- Fl_Group *make_status_panel(int ww);
+ void make_panel(int ww);
+ void make_status_panel(int ww);
public: