summaryrefslogtreecommitdiff
path: root/src/theme.h
diff options
context:
space:
mode:
authorToad King2012-06-14 03:21:06 -0400
committerToad King2012-06-14 03:21:06 -0400
commit6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119 (patch)
tree885cf7f507139b795ba7b2a6fb829dc044da39dd /src/theme.h
downloadsnes9x2002-6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119.tar.gz
snes9x2002-6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119.tar.bz2
snes9x2002-6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119.zip
initial pocketsnes commit
Diffstat (limited to 'src/theme.h')
-rw-r--r--src/theme.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/theme.h b/src/theme.h
new file mode 100644
index 0000000..e6d055d
--- /dev/null
+++ b/src/theme.h
@@ -0,0 +1,32 @@
+#ifndef __THEME_H__
+#define __THEME_H__
+
+#include "graphics.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern gBITMAP *tBmpBackground;
+extern gBITMAP *tBmpBar;
+extern gBITMAP *tBmpLoading;
+extern gBITMAP *tBmpInGame;
+
+extern unsigned short tTextColorTitle;
+extern unsigned short tTextColorFocus;
+extern unsigned short tTextColorItem;
+extern unsigned short tTextColorVersion;
+extern unsigned short tTextColorLoading;
+extern unsigned short tBackgroundColor;
+
+
+int initTheme();
+int loadTheme(char *name);
+void destroyTheme();
+int isThemeActive();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif