NetSurf
theme.h
Go to the documentation of this file.
1/*
2 * Copyright 2010 Chris Young <chris@unsatisfactorysoftware.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 AMIGA_THEME_H
20#define AMIGA_THEME_H
21
22#include "netsurf/mouse.h"
23
24struct gui_window_2;
25struct gui_window;
26
27#define AMI_GUI_POINTER_BLANK GUI_POINTER_PROGRESS+1
28#define AMI_GUI_POINTER_DRAG GUI_POINTER_PROGRESS+2
29#define AMI_LASTPOINTER AMI_GUI_POINTER_DRAG
30
31void ami_theme_init(void);
32void ami_get_theme_filename(char *filename, const char *themestring, bool protocol);
33
36
40
43/* Use the following ONLY if nothing other than the Intuition window pointer is available,
44 * and ALWAYS in preference to SetWindowPointer(), as it features more pointers and uses
45 * the correct ones specified in user preferences. */
46void ami_update_pointer(struct Window *win, gui_pointer_shape shape);
47
50void ami_throbber_redraw_schedule(int t, struct gui_window *g);
51
53#endif
54
void ami_mouse_pointers_free(void)
Definition: theme.c:396
void gui_window_stop_throbber(struct gui_window *g)
Definition: theme.c:432
void ami_theme_throbber_free(void)
Definition: theme.c:191
void gui_window_set_pointer(struct gui_window *g, gui_pointer_shape shape)
set the pointer shape
Definition: theme.c:216
int ami_theme_throbber_get_width(void)
Definition: theme.c:163
void gui_window_start_throbber(struct gui_window *g)
Definition: theme.c:413
void ami_theme_init(void)
Definition: theme.c:134
void ami_init_mouse_pointers(void)
Definition: theme.c:284
void ami_theme_throbber_setup(void)
Definition: theme.c:173
void ami_update_throbber(struct gui_window_2 *g, bool redraw)
void ami_throbber_redraw_schedule(int t, struct gui_window *g)
Definition: theme.c:517
int ami_theme_throbber_get_height(void)
Definition: theme.c:168
void ami_update_pointer(struct Window *win, gui_pointer_shape shape)
Definition: theme.c:221
void ami_get_theme_filename(char *filename, const char *themestring, bool protocol)
Definition: theme.c:198
Core mouse and pointer states.
gui_pointer_shape
Definition: mouse.h:89
first entry in window list
Definition: gui.c:296
RECT redraw
Area needing redraw.
Definition: window.h:70