2010-12-26 18:02:14 +01:00
|
|
|
#ifndef _THEME_H_
|
|
|
|
#define _THEME_H_
|
2010-09-24 19:58:56 +02:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <gctypes.h>
|
2010-09-26 10:33:43 +02:00
|
|
|
#include "Resources.h"
|
2010-12-26 18:02:14 +01:00
|
|
|
#include "gettheme.h"
|
2010-09-24 19:58:56 +02:00
|
|
|
|
2010-12-26 18:02:14 +01:00
|
|
|
class Theme
|
2010-09-24 19:58:56 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
//!Set Default
|
2010-12-26 18:02:14 +01:00
|
|
|
static void SetDefault();
|
2010-09-24 19:58:56 +02:00
|
|
|
//!Load
|
2010-12-26 18:02:14 +01:00
|
|
|
static bool Load(const char * path);
|
2010-12-28 18:02:10 +01:00
|
|
|
//!Load font data
|
|
|
|
static bool LoadFont(const char *path);
|
|
|
|
//!Clear all image/font/theme data and free the memory
|
|
|
|
static void CleanUp();
|
|
|
|
|
2010-12-26 18:02:14 +01:00
|
|
|
//!Enable tooltips: special case treaded because it is called every frame
|
|
|
|
static bool ShowTooltips;
|
2010-12-28 18:02:10 +01:00
|
|
|
private:
|
|
|
|
//!Clear the font data and free the memory
|
|
|
|
static void ClearFontData();
|
2010-09-24 19:58:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|