NetSurf
frontends
monkey
browser.h
Go to the documentation of this file.
1
/*
2
* Copyright 2011 Daniel Silverstone <dsilvers@digital-scurf.org>
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_MONKEY_BROWSER_H
20
#define NETSURF_MONKEY_BROWSER_H
21
22
struct
hlcache_handle
;
23
24
extern
struct
gui_window_table
*
monkey_window_table
;
25
extern
struct
gui_download_table
*
monkey_download_table
;
26
27
struct
gui_window
{
28
struct
gui_window
*
r_next
;
29
struct
gui_window
*
r_prev
;
30
31
uint32_t
win_num
;
32
struct
browser_window
*
bw
;
33
34
int
width
,
height
;
35
int
scrollx
,
scrolly
;
36
37
char
*
host
;
/* Ignore this, it's in case RING*() gets debugging for fetchers */
38
39
};
40
41
struct
gui_window
*
monkey_find_window_by_num
(uint32_t
win_num
);
42
struct
gui_window
*
monkey_find_window_by_content
(
struct
hlcache_handle
*
content
);
43
void
monkey_window_process_reformats
(
void
);
44
45
void
monkey_window_handle_command
(
int
argc,
char
**argv);
46
void
monkey_kill_browser_windows
(
void
);
47
48
nserror
monkey_warn_user
(
const
char
*warning,
const
char
*detail);
49
50
#endif
/* NETSURF_MONKEY_BROWSER_H */
nserror
nserror
Enumeration of error codes.
Definition:
errors.h:29
monkey_warn_user
nserror monkey_warn_user(const char *warning, const char *detail)
Definition:
browser.c:44
monkey_kill_browser_windows
void monkey_kill_browser_windows(void)
Definition:
browser.c:66
monkey_window_table
struct gui_window_table * monkey_window_table
Definition:
browser.c:794
monkey_find_window_by_num
struct gui_window * monkey_find_window_by_num(uint32_t win_num)
Definition:
browser.c:51
monkey_window_handle_command
void monkey_window_handle_command(int argc, char **argv)
Definition:
browser.c:701
monkey_find_window_by_content
struct gui_window * monkey_find_window_by_content(struct hlcache_handle *content)
monkey_download_table
struct gui_download_table * monkey_download_table
Definition:
download.c:95
monkey_window_process_reformats
void monkey_window_process_reformats(void)
browser_window
Browser window data.
Definition:
browser_private.h:96
content
Content which corresponds to a single URL.
Definition:
content_protected.h:180
gui_download_table
function table for download windows.
Definition:
download.h:34
gui_window_table
Graphical user interface window function table.
Definition:
window.h:137
gui_window
first entry in window list
Definition:
gui.c:297
gui_window::win_num
uint32_t win_num
Definition:
browser.h:31
gui_window::host
char * host
Definition:
browser.h:37
gui_window::height
int height
height of drawing area
Definition:
browser.h:34
gui_window::width
int width
width of window
Definition:
browser.h:34
gui_window::r_next
struct gui_window * r_next
Definition:
browser.h:28
gui_window::scrollx
int scrollx
current scroll location
Definition:
gui.c:306
gui_window::r_prev
struct gui_window * r_prev
Definition:
browser.h:29
gui_window::scrolly
int scrolly
current scroll location
Definition:
gui.c:307
gui_window::bw
struct browser_window * bw
The 'content' window that is rendered in the gui_window.
Definition:
gui.c:315
hlcache_handle
High-level cache handle.
Definition:
hlcache.c:66
Generated on Sun Oct 20 2024 12:52:26 for NetSurf by
1.9.4