µGFX  2.9
version 2.9
gtrans.h File Reference
#include "../../gfx.h"

Go to the source code of this file.

Data Structures

struct  transTable
 A table containing translated strings. More...
 

Functions

const char * gtransString (const char *string)
 Get the string of the current language specified by the string of the base language. More...
 
const char * gtransIndex (unsigned index)
 Get the string at the specified index position of the current language. More...
 
void gtransSetBaseLanguage (const transTable *const translation)
 Set the base language. More...
 
void gtransSetLanguage (const transTable *const translation)
 Set the current language. More...
 

Macros

#define gt(str)   gtransString(str)
 A wrapper macro to make writing and reading translatable applications easier. More...