TouchGFX + 0/4 examples
CodeScope will show references to touchgfx::Texts from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
STM32F429I-Discovery
Demonstrations
 
Symbols
loading...
Files
loading...

touchgfx::Texts class

@class Texts Texts.hpp touchgfx/Texts.hpp Class for setting language and getting texts. Class for setting language and getting texts. The language set will determine which texts will be used.

Syntax

class Texts { public:     static void setLanguage(LanguageId id);     static LanguageId getLanguage()     {         return currentLanguage;     }     const Unicode::UnicodeChar* getText(TypedTextId id) const     {         return currentLanguagePtr[id];     } private:     static const Unicode::UnicodeChar* const* currentLanguagePtr;     static LanguageId currentLanguage; };

Fields

currentLanguagePtr

No summary provided. Read more...

currentLanguage

No summary provided. Read more...

Methods

setLanguage()

@fn static void Texts::setLanguage(LanguageId id); Sets the current language for texts. Sets the current language for texts. Read more...

getLanguage()

@fn static LanguageId Texts::getLanguage() Gets the current language. Gets the current language. Read more...

getText() const

@fn const Unicode::UnicodeChar* Texts::getText(TypedTextId id) const Get text in the set language. Get text in the set language. Read more...

setLanguage()

@fn static void Texts::setLanguage(LanguageId id); Sets the current language for texts. Sets the current language for texts. Read more...

Examples

touchgfx::Texts is referenced by 4 libraries and example projects.

References

Type Use

Variables of touchgfx::Texts type
touchgfx::Texts