2006-10-31 19:19:21 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2006 Rob Kendrick <rjek@rjek.com>
|
2007-08-08 20:16:03 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2006-10-31 19:19:21 +03:00
|
|
|
*/
|
2006-11-27 18:35:18 +03:00
|
|
|
|
2006-10-31 19:19:21 +03:00
|
|
|
#ifndef __THEMES_H__
|
|
|
|
#define __THEMES_H__
|
|
|
|
|
2007-05-31 02:39:54 +04:00
|
|
|
#include "image/bitmap.h"
|
2006-10-31 19:19:21 +03:00
|
|
|
|
|
|
|
struct theme_descriptor;
|
|
|
|
|
|
|
|
void themes_initialise(void);
|
|
|
|
void themes_finalise(void);
|
|
|
|
|
|
|
|
void themes_add_new(const unsigned char *filename);
|
|
|
|
|
|
|
|
struct theme_descriptor *themes_open(const unsigned char *themename;
|
|
|
|
void themes_close(struct theme_descriptor *theme);
|
|
|
|
struct theme_descriptor *themes_enumerate(void **ctx);
|
|
|
|
|
|
|
|
struct bitmap *theme_get_image(struct theme_descriptor *theme,
|
|
|
|
const unsigned char *name);
|
|
|
|
|
|
|
|
void themes_set_default(const unsigned char *themename);
|
|
|
|
|
|
|
|
const unsigned char *themes_get_name(struct theme_descriptor *theme);
|
|
|
|
const unsigned char *themes_get_author(struct theme_descriptor *theme);
|
|
|
|
|
|
|
|
#endif /* __THEMES_H__ */
|