Rabbit OP7100 User Manual Page 110

  • Download
  • Add to my manuals
  • Print
  • Page
    / 172
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 109
104 eDisplay (OP7200)
Displays a message or text box on the LCD. The box can be square or oval-framed, and it can be
inverted. The text will be centered automatically both horizontally and vertically. '\n' within the text will
give you the capability of multiline text. For example,
"Hello\nfrom\nZ-World" will produce
PARAMETERS
xStart is the pixel coordinate of the starting horizontal pixel
yStart is the pixel coordinate of the starting vertical pixel
xSize is the width of the box in pixels
ySize is the height of the box in pixels
pInfo is a pointer to the font descriptor
Text is a pointer to the text to be displayed
Frame is the frame type (1 = oval, 0 = square)
Invert inverts the selection (0 = normal display, 1 = inverted display)
RETURN VALUE
1 when completed
SEE ALSO
btnDisplayText
Displays a predefined button on the LCD. The attributes, the text/bitmap displayed, and the location of
the button are predefined by either
btnCreateText or btnCreateBmp. Once the button is dis-
played, the touchscreen will monitor it for presses. Call
btnClear to remove the button.
PARAMETERS
xmemPtr is the xmem address of the pointer to an array of button descriptors
BtnID is the button ID number of the button to display
RETURN VALUE
1 when completed
SEE ALSO
btnDisplayLevel, btnClearLevel, btnClear
int btnMsgBox(int xStart, int yStart, int xSize,
int ySize, fontInfo *pInfo, char *Text,
int Frame, int Invert);
Hello
from
Z-World
int btnDisplay(unsigned long xmemPtr, int BtnID);
Page view 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 171 172

Comments to this Manuals

No comments