Download easyGUI User manual

Transcript
GuiLib_GetTextLanguagePtr
Purpose:
Returns pointer to text in structure. Language of selected text can be freely
selected, no matter what language is active.
Full declaration:
char *GuiLib_GetTextLanguagePtr(
GuiConst_INT16U Structure,
GuiConst_INT16U TextNo,
GuiConst_INT16S LanguageIndex);
Input:
Structure ID.
Text No. - 0 is first text in the structure, items other than Text and Paragraph are
ignored.
Language index.
Output:
Pointer to text based on structure, text No. and current language. Returns Nil if no
text was found.
Related functions:
GuiLib_GetTextPtr
GuiLib_GetTextWidth
GuiLib_GetTextPtr
Purpose:
Returns pointer to text in structure.
Full declaration:
char *GuiLib_GetTextPtr(
GuiConst_INT16U Structure,
GuiConst_INT16U TextNo);
Input:
Structure ID.
Text No. - 0 is first text in structure, Items other than texts are ignored.
Output:
Pointer to text based on structure, text No. and current language. Returns Nil if no
text was found.
Related functions:
GuiLib_GetTextLanguagePtr
GuiLib_GetTextWidth
GuiLib_GetTextWidth
Purpose:
Returns width of text in pixels.
Full declaration:
GuiConst_INT16U GuiLib_GetTextWidth(
char *String,
GuiLib_FontRecConstPtr Font,
GuiConst_INT8U PsWriting);
Input:
Pointer to text string.
Pointer to easyGUI font.
Proportional writing. Can be:
•
GuiLib_PS_OFF turns off proportional writing.
Copyright © 1999 - 2015 IBIS Solutions ApS
261