usbloadergx/source/themes/CTheme.h
dimok321 de2fbe11fa *Added NAND Emulation for d2x v4+ cIOS ONLY. You can emulate partial (mainly titles path (including gamesaves and does not include Miis)) or full nand emulation. The Nand path can be chosen (should not be the same drive as game drive and must be a FAT/FAT32 partition (e.g. sd:/nand/). Just put your NAND FS in that path.
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)
2011-07-24 16:32:09 +00:00

34 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