mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-10-01 19:29:52 +02:00
4a2899ac38
*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.
34 lines
861 B
C++
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
|