From: John Hodge (sonata) Date: Thu, 6 Dec 2012 06:19:30 +0000 (+0800) Subject: Usermode/ATE - Just fiddling X-Git-Tag: rel0.15~612 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d81983e3c0ef90984d5a4645898049c8ea7ce334;p=tpg%2Facess2.git Usermode/ATE - Just fiddling --- diff --git a/Usermode/Applications/gui_ate_src/strings.c b/Usermode/Applications/gui_ate_src/strings.c new file mode 100644 index 00000000..5cfee5dd --- /dev/null +++ b/Usermode/Applications/gui_ate_src/strings.c @@ -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 index 00000000..07376fa2 --- /dev/null +++ b/Usermode/Applications/gui_ate_src/strings.h @@ -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 +