Compare commits
No commits in common. "8d6b2c4707ec788a93cb0662b18dabf6784c7471" and "ec257874a7da45826990bd75bb182d5394017dba" have entirely different histories.
8d6b2c4707
...
ec257874a7
|
@ -42,6 +42,7 @@
|
||||||
#define GDISP_NEED_VALIDATION GFXON
|
#define GDISP_NEED_VALIDATION GFXON
|
||||||
#define GDISP_NEED_CLIP GFXON
|
#define GDISP_NEED_CLIP GFXON
|
||||||
#define GDISP_NEED_TEXT GFXON
|
#define GDISP_NEED_TEXT GFXON
|
||||||
|
#define GDISP_NEED_ANTIALIAS GFXON
|
||||||
#define GDISP_NEED_UTF8 GFXON
|
#define GDISP_NEED_UTF8 GFXON
|
||||||
#define GDISP_NEED_TEXT_KERNING GFXON
|
#define GDISP_NEED_TEXT_KERNING GFXON
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ static const char* FrenchStrings[] = {
|
||||||
};
|
};
|
||||||
static const transTable FrenchTranslation = { sizeof(FrenchStrings)/sizeof(FrenchStrings[0]), FrenchStrings };
|
static const transTable FrenchTranslation = { sizeof(FrenchStrings)/sizeof(FrenchStrings[0]), FrenchStrings };
|
||||||
|
|
||||||
void updateText(void)
|
void updateText()
|
||||||
{
|
{
|
||||||
gCoord width = 400;
|
gCoord width = 400;
|
||||||
gCoord height = 30;
|
gCoord height = 30;
|
||||||
|
|
|
@ -51,7 +51,7 @@ const char* gtransString(const char* string)
|
||||||
return _languageCurrent->strings[i];
|
return _languageCurrent->strings[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* gtransIndex(gU32 index)
|
const char* gtransIndex(unsigned index)
|
||||||
{
|
{
|
||||||
if (!_languageCurrent) {
|
if (!_languageCurrent) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
* @brief A table containing translated strings.
|
* @brief A table containing translated strings.
|
||||||
*/
|
*/
|
||||||
typedef struct transTable {
|
typedef struct transTable {
|
||||||
gU32 numEntries; /**< The number of strings that this table contains */
|
unsigned numEntries; /**< The number of strings that this table contains */
|
||||||
const char** strings; /**< The translated strings */
|
const char** strings; /**< The translated strings */
|
||||||
} transTable;
|
} transTable;
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ const char* gtransString(const char* string);
|
||||||
*
|
*
|
||||||
* @return The string at the given index of the current language or 0 if it doesn't exist.
|
* @return The string at the given index of the current language or 0 if it doesn't exist.
|
||||||
*/
|
*/
|
||||||
const char* gtransIndex(gU32 index);
|
const char* gtransIndex(unsigned index);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set the base language.
|
* @brief Set the base language.
|
||||||
|
|
Loading…
Reference in New Issue