mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-13 23:15:09 +01:00
74eca1d38b
* Added a Clock size factor (size factor is theme-able and will override user's value if not "1.0" in .them file) * Fixed tooltip opacity on Home Button and game icons on Channel grid mode. * Fixed Banner Grid position X and Y not working in .them file (Thanks Dimok) * Fixed half-cut cover in grid mode if only 4 games are displayed by showing it on both sides and allowing scrolling.
28 lines
529 B
C
28 lines
529 B
C
#ifndef GETTHEME_H_
|
|
#define GETTHEME_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <ogc/gx.h>
|
|
#include <gctypes.h>
|
|
|
|
int getThemeInt(const char *msgid);
|
|
float getThemeFloat(const char *msgid);
|
|
int getThemeAlignment(const char *msgid);
|
|
GXColor getThemeColor(const char *msgid);
|
|
bool LoadTheme(const char* themeFile);
|
|
void ThemeCleanUp(void);
|
|
|
|
#define thInt(s) getThemeInt(s)
|
|
#define thFloat(s) getThemeFloat(s)
|
|
#define thAlign(s) getThemeAlignment(s)
|
|
#define thColor(s) getThemeColor(s)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|