User’s Manual
87
Creates a button with a bitmap.
PARAMETERS
xmemPtr
is the unsigned long value assigned by
btnInit
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
Attribs
are the button attributes:
bit 0: 1 = oval shaped, 0 = square shaped
bit 1: 1 = beep when pressed, 0 = disable beep
bit 2 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
.)
bmp
is a pointer to the bitmap to use
bmpWidth
is the horizontal size of the bitmap
bmpHeight
is the vertical size of the bitmap
RETURN VALUE
1 when completed
NOTE: The button will be the bitmap size + 16 pixels, and will be centered with 8 pixels on each
side, and 8 pixels each, top and bottom.
SEE ALSO
btnCreateText, btnDisplay, btnClear, btnDisplayLevel, btnClearLevel, btnInit
int btnCreateBitmap(unsigned long xmemPtr,
int BtnID, int xStart, int yStart, char Attribs,
char Level, unsigned long bmp, int bmpWidth,
int bmpHeight);
Содержание eDisplay OP7200
Страница 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 021001 A ...
Страница 6: ...eDisplay OP7200 ...
Страница 44: ...38 eDisplay OP7200 ...
Страница 117: ...User s Manual 111 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the OP7200 ...
Страница 128: ...122 eDisplay OP7200 ...
Страница 136: ...130 eDisplay OP7200 ...
Страница 144: ...138 eDisplay OP7200 ...
Страница 146: ...140 eDisplay OP7200 ...
Страница 150: ...144 eDisplay OP7200 ...
Страница 152: ......