usbloadergx/source/themes/CTheme.h
dimok321 4a2899ac38 *using new app_booter for homebrew booting (see WiiXplorer changelog)
*reload back to entry ios when starting homebrew instead of starting it in cIOS
*removed limit of .csv and .txt gamelist creation
*fixed META.XML format
*Added use of the internal Wii System Menu font (removed old one) (thx to giantpune and r-win)
*Changed default Font Scale to 0.8 to fit with the new font. If you don't reset configs it's recommended to change it manually in the settings to 0.8.
2011-07-23 19:49:51 +00:00

34 lines
861 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);
//!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:
//!Load the original Wii System Menu font
static bool loadSystemFont(bool korean);
//!Clear the font data and free the memory
static void ClearFontData();
};
#endif