de2fbe11fa
IF YOU USE RETURN TO OPTION THEN THE UNEO TITLE MUST BE ON EMU NAND AS WELL FOR PARTIAL AND FULL EMULATION. *Added back our old font as fallback font in case the wii system font can't be loaded. Also the use of the Wii System Font can be disabled in the settings (don't forget to set font scale back to 1.0 for old font)
33 lines
898 B
C++
33 lines
898 B
C++
#ifndef _THEME_H_
|
|
#define _THEME_H_
|
|
|
|
#include <string>
|
|
#include <stdio.h>
|
|
#include <gctypes.h>
|
|
#include "Resources.h"
|
|
#include "gettheme.h"
|
|
|
|
class Theme
|
|
{
|
|
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.
|
|
static bool loadSystemFont(bool korean);
|
|
//!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();
|
|
|
|
//!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();
|
|
};
|
|
|
|
#endif
|