2003-06-30 16:44:03 +04: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 03:16:31 +03:00
|
|
|
* Copyright 2003 James Bursa <bursa@users.sourceforge.net>
|
2003-06-06 06:14:28 +04:00
|
|
|
*/
|
|
|
|
|
2003-11-20 03:16:31 +03:00
|
|
|
/** \file
|
|
|
|
* Toolbar themes (interface).
|
|
|
|
*
|
|
|
|
* A theme consists of a template for the toolbar and icons. There is one
|
|
|
|
* current theme, which is changed by ro_theme_load(). A toolbar can then be
|
|
|
|
* created and manipulated.
|
|
|
|
*/
|
2002-10-15 14:47:44 +04:00
|
|
|
|
2003-11-20 03:16:31 +03:00
|
|
|
#ifndef _NETSURF_RISCOS_THEME_H_
|
|
|
|
#define _NETSURF_RISCOS_THEME_H_
|
2002-10-15 14:47:44 +04:00
|
|
|
|
2003-11-20 03:16:31 +03:00
|
|
|
#include "oslib/wimp.h"
|
2002-10-15 14:47:44 +04:00
|
|
|
|
2003-11-20 03:16:31 +03:00
|
|
|
extern unsigned int theme_throbs;
|
2002-10-15 14:47:44 +04:00
|
|
|
|
2003-11-20 03:16:31 +03:00
|
|
|
void ro_theme_load(char *pathname);
|
|
|
|
wimp_w ro_theme_create_toolbar(char *url_buffer, char *status_buffer,
|
|
|
|
char *throbber_buffer);
|
|
|
|
int ro_theme_toolbar_height(void);
|
|
|
|
void ro_theme_resize_toolbar(wimp_w w, int width, int height);
|
2003-03-04 14:59:36 +03:00
|
|
|
|
2002-10-15 14:47:44 +04:00
|
|
|
#endif
|