Compare commits
2 commits
ec257874a7
...
8d6b2c4707
Author | SHA1 | Date | |
---|---|---|---|
|
8d6b2c4707 | ||
|
317db95c46 |
4 changed files with 4 additions and 5 deletions
|
@ -42,7 +42,6 @@
|
|||
#define GDISP_NEED_VALIDATION GFXON
|
||||
#define GDISP_NEED_CLIP GFXON
|
||||
#define GDISP_NEED_TEXT GFXON
|
||||
#define GDISP_NEED_ANTIALIAS GFXON
|
||||
#define GDISP_NEED_UTF8 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 };
|
||||
|
||||
void updateText()
|
||||
void updateText(void)
|
||||
{
|
||||
gCoord width = 400;
|
||||
gCoord height = 30;
|
||||
|
|
|
@ -51,7 +51,7 @@ const char* gtransString(const char* string)
|
|||
return _languageCurrent->strings[i];
|
||||
}
|
||||
|
||||
const char* gtransIndex(unsigned index)
|
||||
const char* gtransIndex(gU32 index)
|
||||
{
|
||||
if (!_languageCurrent) {
|
||||
return 0;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
* @brief A table containing translated strings.
|
||||
*/
|
||||
typedef struct transTable {
|
||||
unsigned numEntries; /**< The number of strings that this table contains */
|
||||
gU32 numEntries; /**< The number of strings that this table contains */
|
||||
const char** strings; /**< The translated strings */
|
||||
} 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.
|
||||
*/
|
||||
const char* gtransIndex(unsigned index);
|
||||
const char* gtransIndex(gU32 index);
|
||||
|
||||
/**
|
||||
* @brief Set the base language.
|
||||
|
|
Loading…
Add table
Reference in a new issue