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
|
|
|
{
|
2011-07-26 00:28:22 +02:00
|
|
|
public:
|
|
|
|
//!Set Default
|
|
|
|
static void SetDefault();
|
|
|
|
//!Load
|
|
|
|
static bool Load(const char * path);
|
|
|
|
//!Load font data
|
|
|
|
static bool LoadFont(const char *path);
|
|
|
|
//!Load the original Wii System Menu font into memory only. It is not applied.
|
2011-07-24 18:32:09 +02:00
|
|
|
static bool loadSystemFont(bool korean);
|
2011-07-26 00:28:22 +02:00
|
|
|
//!Reload the main images/sounds for the new theme
|
|
|
|
static void Reload();
|
|
|
|
//!Clear all image/font/theme data and free the memory
|
|
|
|
static void CleanUp();
|
2010-12-28 18:02:10 +01:00
|
|
|
|
2011-07-26 00:28:22 +02:00
|
|
|
//!Enable tooltips: special case treaded because it is called every frame
|
|
|
|
static bool ShowTooltips;
|
|
|
|
private:
|
|
|
|
//!Clear the font data and free the memory
|
|
|
|
static void ClearFontData();
|
2010-09-24 19:58:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|