aboutsummaryrefslogtreecommitdiffstats
path: root/demos/applications/justget10/jg10.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@embedded.pro>2016-07-27 16:34:41 +0200
committerJoel Bodenmann <joel@embedded.pro>2016-07-27 16:34:41 +0200
commit85ec38ac1ce0a978333d4d2d71b13195cbf8953a (patch)
treee3cd44c2d46182c768c64a1495575adb1dd0abf8 /demos/applications/justget10/jg10.h
parent2fe5c112b077d12874eb736bcf9cbf012f3c41ad (diff)
downloaduGFX-85ec38ac1ce0a978333d4d2d71b13195cbf8953a.tar.gz
uGFX-85ec38ac1ce0a978333d4d2d71b13195cbf8953a.tar.bz2
uGFX-85ec38ac1ce0a978333d4d2d71b13195cbf8953a.zip
Adding applications/justget10 demo
Diffstat (limited to 'demos/applications/justget10/jg10.h')
-rw-r--r--demos/applications/justget10/jg10.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/demos/applications/justget10/jg10.h b/demos/applications/justget10/jg10.h
new file mode 100644
index 00000000..58e76570
--- /dev/null
+++ b/demos/applications/justget10/jg10.h
@@ -0,0 +1,19 @@
+#ifndef _JG10_H_
+#define _JG10_H_
+
+#define JG10_CELL_WIDTH 54
+#define JG10_CELL_HEIGHT 54
+#define JG10_FIELD_WIDTH 5
+#define JG10_FIELD_HEIGHT 5
+#define JG10_TOTAL_FIELD_WIDTH (JG10_FIELD_WIDTH*JG10_CELL_WIDTH)
+#define JG10_TOTAL_FIELD_HEIGHT (JG10_FIELD_HEIGHT*JG10_CELL_HEIGHT)
+#define JG10_SEL_COLOR Yellow
+#define JG10_MAX_COUNT 21 // Max number you can get +1, so if max number would be 20, then this number should be 21 (+ background)
+
+void jg10Init(void);
+void jg10Start(void);
+#if JG10_SHOW_SPLASH
+ void jg10ShowSplash(void);
+#endif
+
+#endif /* _JG10_H_ */ \ No newline at end of file