NetSurf
gui.h
Go to the documentation of this file.
1/*
2 * Copyright 2008 Vincent Sanders <vince@simtec.co.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef NETSURF_FB_GUI_H
20#define NETSURF_FB_GUI_H
21
22
23struct fbtk_widget_s;
24
25typedef struct fb_cursor_s fb_cursor_t;
26
27/* bounding box */
28typedef struct nsfb_bbox_s bbox_t;
29
30struct gui_window {
31 struct browser_window *bw;
32
48
50
51 struct gui_window *next;
52 struct gui_window *prev;
53};
54
55
56extern struct gui_window *window_list;
57
58void gui_resize(struct fbtk_widget_s *root, int width, int height);
59
60#endif /* NETSURF_FB_GUI_H */
61
62/*
63 * Local Variables:
64 * c-basic-offset:8
65 * End:
66 */
struct gui_window * window_list
Definition: gui.c:75
static struct directory * root
Definition: filename.c:55
struct fb_cursor_s fb_cursor_t
Definition: gui.h:25
void gui_resize(struct fbtk_widget_s *root, int width, int height)
Definition: gui.c:2292
struct nsfb_bbox_s bbox_t
Definition: gui.h:28
int width
Definition: gui.c:160
int height
Definition: gui.c:161
Browser window data.
Widget description.
Definition: widget.h:120
first entry in window list
Definition: gui.c:297
struct gui_window * prev
Previous in linked list.
Definition: gui.h:159
struct fbtk_widget_s * toolbar
Definition: gui.h:46
struct gui_window * next
list for cleanup
Definition: gui.h:159
struct fbtk_widget_s * back
Definition: gui.h:34
struct fbtk_widget_s * browser
Definition: gui.h:45
struct fbtk_widget_s * url
Definition: gui.h:40
struct fbtk_widget_s * bottom_right
Definition: gui.h:47
int throbber_index
Definition: gui.h:49
struct fbtk_widget_s * window
Definition: gui.h:33
struct fbtk_widget_s * reload
Definition: gui.h:38
struct fbtk_widget_s * history
Definition: gui.h:36
struct fbtk_widget_s * close
Definition: gui.h:39
struct fbtk_widget_s * throbber
Definition: gui.h:42
struct fbtk_widget_s * hscroll
Definition: gui.h:43
struct fbtk_widget_s * stop
Definition: gui.h:37
struct fbtk_widget_s * vscroll
Definition: gui.h:44
struct fbtk_widget_s * forward
Definition: gui.h:35
struct fbtk_widget_s * status
Definition: gui.h:41
struct browser_window * bw
The 'content' window that is rendered in the gui_window.
Definition: gui.c:315