Usermode/ATE - Just fiddling
authorJohn Hodge (sonata) <[email protected]>
Thu, 6 Dec 2012 06:19:30 +0000 (14:19 +0800)
committerJohn Hodge (sonata) <[email protected]>
Thu, 6 Dec 2012 06:19:30 +0000 (14:19 +0800)
Usermode/Applications/gui_ate_src/strings.c [new file with mode: 0644]
Usermode/Applications/gui_ate_src/strings.h [new file with mode: 0644]

diff --git a/Usermode/Applications/gui_ate_src/strings.c b/Usermode/Applications/gui_ate_src/strings.c
new file mode 100644 (file)
index 0000000..5cfee5d
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Acess Text Editor (ATE)
+ * - By John Hodge (thePowersGang)
+ *
+ * strings.c
+ * - String Localisation
+ */
+
+struct keyval_str
+{
+       const char      *key;
+       const char      *val;
+};
+
+const struct keyval_str        gaDisplayStrings[] = {
+       {"BtnNew", "New"},
+       {"BtnOpen", "Open"},
+       {"BtnSave", "Save"},
+       {"BtnUndo", "Undo"}
+       };
+
diff --git a/Usermode/Applications/gui_ate_src/strings.h b/Usermode/Applications/gui_ate_src/strings.h
new file mode 100644 (file)
index 0000000..07376fa
--- /dev/null
@@ -0,0 +1,15 @@
+/*
+ * Acess Text Editor (ATE)
+ * - By John Hodge (thePowersGang)
+ *
+ * strings.h
+ * - String Localisation
+ */
+#ifndef _STRINGS_H_
+#define _STRINGS_H_
+
+extern const char *getstr(const char *key);
+extern const char *getimg(const char *key);
+
+#endif
+

UCC git Repository :: git.ucc.asn.au