6#include <FL/Fl_Window.H>
7#include <FL/Fl_Widget.H>
8#include <FL/Fl_Button.H>
9#include <FL/Fl_Input.H>
10#include <FL/Fl_Output.H>
11#include <FL/Fl_Image.H>
12#include <FL/Fl_Tabs.H>
55 Fl_Group(x,y,w,h,l) { };
58 Fl_Widget*
const* a = array();
59 int sum = 0, _x = x();
60 int children_ = children();
65 for (
int i=0; i < children_; i++)
66 if (a[i] != resizable() && a[i]->visible())
69 for (
int i=0; i < children_; i++) {
72 a[i]->resize(_x, y(), w()-sum, h());
77 a[i]->resize(_x, y(), 0, h());
81 a[i]->resize(_x, y(), a[i]->w(), h());
94 Fl_Group(x,y,w,h,l) { };
97 Fl_Widget*
const* a = array();
98 int sum = 0, _y = y();
99 int children_ = children();
101 for (
int i=0; i < children_; i++)
102 if (a[i] != resizable() && a[i]->visible())
105 for (
int i=0; i < children_; i++) {
106 if (a[i] == resizable()) {
107 a[i]->resize(x(), _y, w(), h() - sum);
109 a[i]->resize(x(), _y, w(), a[i]->h());
139 int p_xpos,
p_ypos,
bw,
bh,
mh,
lh,
nh,
fh,
sh,
pw,
lbl;
144 int b_n,
int start = 0);
155 UI(
int x,
int y,
int w,
int h,
const char* label = 0,
const UI *cur_ui=NULL);
Used to reposition group's widgets when some of them are hidden.
CustGroupHorizontal(int x, int y, int w, int h, const char *l=0)
CustGroupVertical(int x, int y, int w, int h, const char *l=0)
Searchbar to find text in page.
void tabs(CustTabs *tabs)
void set_img_prog(int n_img, int t_img, int cmd)
Set the image progress text.
void make_menubar(int x, int y, int w, int h)
void button_set_sens(UIButton btn, int sens)
Set button sensitivity (Back/Forw/Stop)
void customize()
Customize the UI's panel (show/hide buttons)
void temporaryPanels(bool val)
CustGroupHorizontal * LocBar
CustButton * make_button(const char *label, Fl_Image *img, Fl_Image *deimg, int b_n, int start=0)
Make a generic navigation button.
void findbar_toggle(bool add)
Adjust space for the findbar (if necessary) and show or remove it.
void set_render_layout(Fl_Group *nw)
Set 'nw' as the main render area widget.
void focus_main()
Focus Main area.
const char * get_location()
Get the text from the location input-box.
void make_toolbar(int tw, int th)
Create the archetipic browser buttons.
void change_panel(int new_size, int small_icons)
On-the-fly panel style change.
void focus_location()
Focus location entry.
int handle(int event)
To manage what events to catch and which to let pass.
void make_status_bar(int ww, int wh)
Create the status panel.
void make_progress_bars(int wide, int thin_up)
Create the progress bars.
CustGroupVertical * TopGroup
CustGroupHorizontal * NavBar
void make_location(int ww)
Create the location box (Clear/Input/Search)
void set_bug_prog(int n_bug)
Set the bug meter progress text.
CustGroupHorizontal * StatusBar
void panels_toggle()
Make panels disappear growing the render area.
void set_status(const char *str)
Set a new message in the status bar.
void paste_url()
Paste a middle-click-selection into "Clear" button as URL.
void make_panel(int ww)
Create the control panel.
void set_location(const char *str)
Set a new URL in the location input-box.
void make_filemenu_button()
Create the "File" menu.
void set_page_prog(size_t nbytes, int cmd)
Set the page progress text.
static struct iconset small_icons
@ UI_NORMAL
make sure it's compatible with bool