Changes between Version 3 and Version 4 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/DisplayText
- Timestamp:
- 08/19/10 21:38:01 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/DisplayText
v3 v4 3 3 4 4 {{{ 5 void DisplayText(int x, int y, const string& strText, int len = 0, font825 font = STD_FONT, int dsplogic = DSP_LOGIC_OVERWRITE); 6 5 7 void DisplayText(int x, int y, const char* pszText, int len = 0, font825 font = STD_FONT, int dsplogic = DSP_LOGIC_OVERWRITE); 6 7 void DisplayText(int x, int y, const std::string& strText, int len = 0, font825 font = STD_FONT, int dsplogic = DSP_LOGIC_OVERWRITE);8 8 }}} 9 9 … … 12 12 * x - X coordinate (0 - 639) 13 13 * y - Y coordinate (0 - 479) 14 * pszText - character array pointer such as string literal "Hello World"15 * strText - const string reference14 * strText - string to display 15 * pszText - pointer to character array to display such as literal "Hello World" 16 16 * len - length of character to pad (fill with spaces) or truncate the output, zero for variable length. 17 17 * font - font STD_FONT, BIG_FONT, BTN_FONT, or custom font number. … … 31 31 }}} 32 32 This example is equivalent to ''LocateLCD(10, 10);'' followed by ''PrintLCD("Hello World");'' 33 33 34 {{{ 34 35 string strText = "1234567890";