NetSurf
dialog.h
Go to the documentation of this file.
1/*
2 * Copyright 2005 Richard Wilson <info@tinct.net>
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_RISCOS_DIALOG_H_
20#define _NETSURF_RISCOS_DIALOG_H_
21
22struct toolbar;
23struct gui_window;
24
25void ro_gui_dialog_init(void);
26wimp_w ro_gui_dialog_create(const char *template_name);
27wimp_window * ro_gui_dialog_load_template(const char *template_name);
28
29void ro_gui_dialog_open(wimp_w w);
30void ro_gui_dialog_close(wimp_w close);
31
32bool ro_gui_dialog_open_top(wimp_w w, struct toolbar *toolbar,
33 int width, int height);
35void ro_gui_dialog_open_xy(wimp_w, int x, int y);
36
37void ro_gui_dialog_open_persistent(wimp_w parent, wimp_w w, bool pointer);
38void ro_gui_dialog_add_persistent(wimp_w parent, wimp_w w);
40
41
42
43
44void ro_gui_dialog_click(wimp_pointer *pointer);
48void ro_gui_save_options(void);
54#endif
wimp_w parent
Definition: dialog.c:88
void ro_gui_dialog_open_xy(wimp_w, int x, int y)
Open window at a specified location.
Definition: dialog.c:487
void ro_gui_dialog_click(wimp_pointer *pointer)
void ro_gui_dialog_close_persistent(wimp_w parent)
Close persistent dialogs associated with a window.
Definition: dialog.c:638
void ro_gui_dialog_languages_menu_selection(const char *lang)
void ro_gui_dialog_add_persistent(wimp_w parent, wimp_w w)
Definition: dialog.c:608
void ro_gui_dialog_prepare_open_url(void)
Prepares the Open URL dialog.
Definition: dialog.c:807
void ro_gui_dialog_font_menu_selection(int item)
void ro_gui_dialog_proxyauth_menu_selection(int item)
void ro_gui_dialog_update_zoom(struct gui_window *g)
Update the Scale View dialog to reflect the current window settings.
Definition: dialog.c:705
void ro_gui_dialog_open_persistent(wimp_w parent, wimp_w w, bool pointer)
Open a persistent dialog box relative to the pointer.
Definition: dialog.c:591
void ro_gui_dialog_open_config(void)
void ro_gui_dialog_open_at_pointer(wimp_w w)
Open window at the location of the pointer.
Definition: dialog.c:465
wimp_window * ro_gui_dialog_load_template(const char *template_name)
Load a template without creating a window.
Definition: dialog.c:242
void ro_gui_dialog_open(wimp_w w)
Open a dialog box, centred on the screen.
Definition: dialog.c:297
void ro_gui_save_options(void)
Save the current options.
Definition: dialog.c:670
bool ro_gui_dialog_open_top(wimp_w w, struct toolbar *toolbar, int width, int height)
Moves a window to the top of the stack.
Definition: dialog.c:413
void ro_gui_dialog_prepare_zoom(struct gui_window *g)
Prepares the Scale view dialog.
Definition: dialog.c:689
wimp_w ro_gui_dialog_create(const char *template_name)
Create a window from a template.
Definition: dialog.c:208
void ro_gui_dialog_init(void)
Load and create dialogs from template file.
Definition: dialog.c:103
void ro_gui_dialog_close(wimp_w close)
Close a dialog box.
Definition: dialog.c:335
void ro_gui_dialog_image_menu_selection(int item)
int width
Definition: gui.c:160
int height
Definition: gui.c:161
first entry in window list
Definition: gui.c:298
struct fbtk_widget_s * close
Definition: gui.h:39