Changes between Version 3 and Version 4 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/DisplayText


Ignore:
Timestamp:
08/19/10 21:38:01 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/DisplayText

    v3 v4  
    33
    44{{{
     5void DisplayText(int x, int y, const string& strText, int len = 0, font825 font = STD_FONT, int dsplogic = DSP_LOGIC_OVERWRITE);
     6
    57void 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);
    88}}}
    99
     
    1212 * x - X coordinate (0 - 639)
    1313 * y - Y coordinate (0 - 479)
    14  * pszText - character array pointer such as string literal "Hello World"
    15  * strText - const string reference
     14 * strText - string to display
     15 * pszText - pointer to character array to display such as literal "Hello World"
    1616 * len - length of character to pad (fill with spaces) or truncate the output, zero for variable length.
    1717 * font - font STD_FONT, BIG_FONT, BTN_FONT, or custom font number.
     
    3131}}}
    3232This example is equivalent to ''LocateLCD(10, 10);'' followed by ''PrintLCD("Hello World");''
     33
    3334{{{
    3435string strText = "1234567890";