2003-06-30 12:44:03 +00:00
|
|
|
/*
|
|
|
|
* 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>
|
2003-11-20 00:16:31 +00:00
|
|
|
* Copyright 2003 James Bursa <bursa@users.sourceforge.net>
|
2004-05-04 22:23:44 +00:00
|
|
|
* Copyright 2004 Richard Wilson <not_ginger_matt@users.sourceforge.net>
|
2003-06-06 02:14:28 +00:00
|
|
|
*/
|
|
|
|
|
2003-11-20 00:16:31 +00:00
|
|
|
/** \file
|
|
|
|
* Toolbar themes (interface).
|
|
|
|
*
|
2004-05-04 22:23:44 +00:00
|
|
|
* 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.
|
2003-11-20 00:16:31 +00:00
|
|
|
*/
|
2002-10-15 10:47:44 +00:00
|
|
|
|
2003-11-20 00:16:31 +00:00
|
|
|
#ifndef _NETSURF_RISCOS_THEME_H_
|
|
|
|
#define _NETSURF_RISCOS_THEME_H_
|
2002-10-15 10:47:44 +00:00
|
|
|
|
2003-11-20 00:16:31 +00:00
|
|
|
#include "oslib/wimp.h"
|
2002-10-15 10:47:44 +00:00
|
|
|
|
2004-05-04 22:23:44 +00:00
|
|
|
extern int theme_throbs;
|
2002-10-15 10:47:44 +00:00
|
|
|
|
2003-11-20 00:16:31 +00:00
|
|
|
void ro_theme_load(char *pathname);
|
2004-05-04 22:23:44 +00:00
|
|
|
void ro_theme_create_toolbar(gui_window *g);
|
|
|
|
int ro_theme_update_toolbar(gui_window *g);
|
|
|
|
int ro_theme_resize_toolbar(gui_window *g);
|
2003-03-04 11:59:36 +00:00
|
|
|
|
2002-10-15 10:47:44 +00:00
|
|
|
#endif
|