mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 09:19:17 +01:00
34692131a2
USB Loader GX v2.0 A few cosmetic changes along on this rev: *Removed unused resources *Fix a compile warning *Fixed crash on formatting drive to WBFS *A few source/function movement from one file to another *Renamed global game settings to "Loader Settings"
32 lines
771 B
C++
32 lines
771 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:
|
|
//!Clear the font data and free the memory
|
|
static void ClearFontData();
|
|
};
|
|
|
|
#endif
|