Logo Search packages:      
Sourcecode: gtkatlantic version File versions

theme.h

/*
 *     gtkatlantic - the gtk+ monopd client, enjoy network monopoly games
 *
 *
 *  Copyright (C) 2002-2004 Rochet Sylvain
 *
 *  gtkatlantic 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; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program 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, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include <gtk/gtk.h>
#include <libxml/parser.h>

#define THEME_FILE_SECTION_GENERAL       10
#define THEME_FILE_SECTION_CARDS         20
#define THEME_FILE_SECTION_TOKEN_GROUP   30
#define THEME_FILE_SECTION_HOUSE_GROUP   40
#define THEME_FILE_SECTION_STAR_GROUP    50
#define THEME_FILE_SECTION_BOARD_GROUP   60
#define THEME_FILE_SECTION_ESTATE_GROUP  70


void     theme_build_database();
gboolean theme_get_valid_slot(guint32 *themeslot);
void     theme_del_entry(guint32 slot);
void     theme_add_entry(guchar *path);
void     theme_build_selection_win();
void     theme_fill_selection_list();
void     theme_preview_free();
void     theme_display(gint32 themeid);
guchar*  theme_preview_read(gint32 themeid, guint32 *width, guint32 *height);
void     theme_load(gint32 themeid);


Generated by  Doxygen 1.6.0   Back to index