2010-12-26 18:02:14 +01:00
|
|
|
#ifndef GETTHEME_H_
|
|
|
|
#define GETTHEME_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <ogc/gx.h>
|
|
|
|
#include <gctypes.h>
|
|
|
|
|
|
|
|
int getThemeInt(const char *msgid);
|
2012-05-19 15:40:58 +02:00
|
|
|
float getThemeFloat(const char *msgid);
|
2010-12-26 18:02:14 +01:00
|
|
|
int getThemeAlignment(const char *msgid);
|
|
|
|
GXColor getThemeColor(const char *msgid);
|
|
|
|
bool LoadTheme(const char* themeFile);
|
|
|
|
void ThemeCleanUp(void);
|
|
|
|
|
|
|
|
#define thInt(s) getThemeInt(s)
|
2012-05-19 15:40:58 +02:00
|
|
|
#define thFloat(s) getThemeFloat(s)
|
2010-12-26 18:02:14 +01:00
|
|
|
#define thAlign(s) getThemeAlignment(s)
|
|
|
|
#define thColor(s) getThemeColor(s)
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|