diff --git a/libraries/oleddrv/StringResource.h b/libraries/oleddrv/StringResource.h new file mode 100644 --- /dev/null +++ b/libraries/oleddrv/StringResource.h @@ -0,0 +1,63 @@ +#ifndef STRING_RESOURCE_H +#define STRING_RESOURCE_H + +#define STR_DEFAULT 0 +#define STR_ROOT 1 +#define STR_STATUS 2 +#define STR_TEST 3 +#define STR_SETTING 4 +#define STR_ABOUT 5 +#define STR_SETTING_CONTRAST 6 +#define STR_SETTING_TIME 7 +#define STR_STATUS_BAT 8 +#define STR_STATUS_GRAVITY 9 +#define STR_SETTING_LANGUAGE 10 +#define STR_LANG_ENG 11 +#define STR_LANG_CHS 12 +#define STR_CHANGE_CONTRAST 13 +#define STR_SET_TIME 14 +#define STR_VIEW_BATTARY 15 +#define STR_BAT_CHARGE 16 +#define STR_BAT_FULL 17 +#define STR_BAT_NORMAL 18 +#define STR_BAT_CAPACITY 19 +#define STR_BAT_VOLTAGE 20 +#define STR_ABOUT_0 21 +#define STR_ABOUT_1 22 +#define STR_ABOUT_2 23 +#define STR_OK 24 +#define STR_CANCEL 25 +#define STR_JAN 26 +#define STR_FEB (STR_JAN+1)//27 +#define STR_MAR (STR_JAN+2)//28 +#define STR_APR (STR_JAN+3)//29 +#define STR_MAY (STR_JAN+4)//30 +#define STR_JUN (STR_JAN+5)//31 +#define STR_JUL (STR_JAN+6)//32 +#define STR_AUG (STR_JAN+7)//33 +#define STR_SEP (STR_JAN+8)//34 +#define STR_OCT (STR_JAN+9)//35 +#define STR_NOV (STR_JAN+10)//36 +#define STR_DEC (STR_JAN+11)//37 +#define STR_SUNDAY 38 +#define STR_MONDAY (STR_SUNDAY+1)//39 +#define STR_TUESDAY (STR_SUNDAY+2)//40 +#define STR_WEDNESDAY (STR_SUNDAY+3)//41 +#define STR_THURSDAY (STR_SUNDAY+4)//42 +#define STR_FRIDAY (STR_SUNDAY+5)//43 +#define STR_SATURDAY (STR_SUNDAY+6)//44 +#define STR_AM 45 +#define STR_PM (STR_AM+1)//46 +#define STR_YEAR 47 +#define STR_MONTH (STR_YEAR+1)//48 +#define STR_DATE (STR_YEAR+2)//49 +#define STR_HOUR (STR_YEAR+3)//50 +#define STR_MINUTE (STR_YEAR+4)//51 + +#define STR_LAST 52 + + +extern const LPCSTR StringTable_ENG[STR_LAST]; +extern const LPCSTR StringTable_CHS[STR_LAST]; + +#endif