theme.h File Reference

Reads theme XML files. More...

#include "img.h"

Include dependency graph for theme.h:

This graph shows which files directly or indirectly include this file:


Data Structures

struct  theme_button
 Theme data for a button. More...
struct  theme_display
 Theme data for a display area. More...
struct  theme_cover
 Theme data for a cover area. More...
struct  theme_key
 Theme data for a key. More...
struct  theme
 The whole theme data. More...

Functions

struct themetheme_load (char *theme_dir)
void theme_cleanup (struct theme *theme)

Detailed Description

Fills a theme structure with the obtained data.

Function Documentation

struct theme* theme_load ( char *  theme_dir  )  [read]

Parses the data of an XML theme file and loads the necessary data.

Parameters:
theme_dir directory with theme files
Returns:
a pointer to a theme structure or NULL if an error occured

void theme_cleanup ( struct theme theme  ) 

Theme cleanup.

Frees allocated memory.

Parameters:
theme theme data


Generated on Mon Mar 29 01:39:32 2010 for Veronica by  doxygen 1.5.8