User’s Manual
99
4.6 Touchscreen (OP7200 only)
The
GLTOUCHSCREEN.LIB
library in the
TouchScreens
directory allows the user to
link adjacent pixel locations on the LCD to create a button. The button can then be trans-
lated by the touchscreen when pressed.When
x
and
y
coordinates on the display screen are
specified,
x
can range from 0 to 319, and
y
can range from 0 to 239. These numbers repre-
sent pixels from the top left corner of the display.
Initializes the
GLTOUCHSCREEN.LIB
library, must be called at power-up before any other
GLTOUCHSCREEN.LIB
library functions can be used. This function allocates
xmem
SRAM for the
storage of the button parameters.
PARAMETER
MaxButtons
is the number of buttons to initialize
RETURN VALUE
The unsigned long memory location of the
BtnData
area
SEE ALSO
btnCreateText, btnCreateBitmap, btnRecall, btnStore, btnDisplay,
btnDisplayLevel, btnClear, btnClearLevel, btnAttributes, btnMsgBox,
btnDisplayText, btnClearRegion
Stores the
btnData
structure in
xmem
SRAM. This function is normally called by
btnCreateText
or by
btnCreateBmp
.
PARAMETERS
xmemPtr
is the
xmem
address of the pointer to an array of button descriptors
BtnID
is the button ID number of wherethe structure will be stored
RETURN VALUE
1 when completed
SEE ALSO
btnRecall, btnInit, btnCreateText, btnCreateBitmap
unsigned long btnInit(int MaxButtons);
int btnStore(unsigned long xmemPtr, int BtnID);
Содержание 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: ......