User’s Manual
101
Creates a button with a text label.
PARAMETERS
xmemPtr
is the
xmem
address of the pointer to an array of button descriptors
BtnID
is the button ID number of the button being created
xStart
is the coordinate of the starting horizontal pixel
yStart
is the coordinate of the starting vertical pixel
xSize
is the horizontal size of the button
ySize
is the vertical size of the button
Attribs
are the button attributes:
bit 0: 1 = oval shaped, 0 = square shaped
bit 1 to 7 (reserved).
Level
is the level to associate the button with (buttons with the same level can be displayed together
using the function
btnDisplayLevel
, or they can be removed together using the function
btnClearLevel
.)
bFont
is a pointer to the font descriptor
Text
is a pointer to the text to display centered in the button
RETURN VALUE
1 when completed
EXAMPLE
The text displayed can be multiline by inserting '\n' within the text:
"Hello\nfrom\nZ-World" will produce
SEE ALSO
btnCreateBitmap, btnInit, btnDisplay, btnDisplayLevel, btnClear,
btnClearLevel
int btnCreateText(unsigned long xmemPtr, int BtnID,
int xStart, int yStart,int xSize, int ySize, char
Attribs, char Level, fontInfo *bFont, char
*Text);
Hello
from
Z-World
Содержание eDisplay OP7200
Страница 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 060831 J...
Страница 6: ...eDisplay OP7200...
Страница 14: ...8 eDisplay OP7200...
Страница 22: ...16 eDisplay OP7200...
Страница 52: ...46 eDisplay OP7200...
Страница 126: ...120 eDisplay OP7200...
Страница 132: ...126 eDisplay OP7200...
Страница 133: ...User s Manual 127 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the OP7200...
Страница 152: ...146 eDisplay OP7200...
Страница 168: ...162 eDisplay OP7200...
Страница 172: ...166 eDisplay OP7200...
Страница 174: ......