summaryrefslogtreecommitdiff
path: root/riscos/theme.h
blob: c04c6aa6e268bb8be8910295549fa6b1395084dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * This file is part of NetSurf, http://netsurf.sourceforge.net/
 * Licensed under the GNU General Public License,
 *                http://www.opensource.org/licenses/gpl-license
 * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
 * Copyright 2003 James Bursa <bursa@users.sourceforge.net>
 * Copyright 2004 Richard Wilson <not_ginger_matt@users.sourceforge.net>
 */

/** \file
 * Toolbar themes (interface).
 *
 * A theme consists of a simple sprite file. There is one current theme, which
 * is changed by ro_theme_load(). A toolbar can then be created and manipulated.
 */

#ifndef _NETSURF_RISCOS_THEME_H_
#define _NETSURF_RISCOS_THEME_H_

#include "oslib/wimp.h"

extern int theme_throbs;

void ro_theme_load(char *pathname);
void ro_theme_create_toolbar(gui_window *g);
int ro_theme_update_toolbar(gui_window *g);
int ro_theme_resize_toolbar(gui_window *g);

#endif