Intermec ck1 Reference Guide
Chapter 4 — SDK Components
CK1 SDK Programmer’s Reference Manual
211
Return: None
otk_scrollbar2_set_typeflag
Purpose: Indicate the orientation of the scrollbar (vertical: 0, horizontal: 1).
Prototype:
void otk_scrollbar2_set_scrollbar2_typeflag
(OtkScrollBar2* scrollbar, int flag);
Parameters: scrollbar
Pointer of the OtkScrollBar2 instance
flag
Orientation of the scrollbar
Return: None
otk_scrollbar2_set_size
Purpose: Set the size of the scrollbar.
Prototype:
void otk_scrollbar2_set_size (OtkScrollBar2* scrollbar,
int width, int height);
Parameters: scrollbar
Pointer of the OtkScrollBar2 instance
width
Width of the scrollbar
height
Height of the scrollbar
Return: None
otk_scrollbar2_set_position
Purpose: Set the position of the scrollbar.
Prototype:
void otk_scrollbar2_set_position (OtkScrollBar2*
scrollbar, int x, int y);
Parameters: scrollbar
Pointer of the OtkScrollBar2 instance
x
X coordinate on the top left point of the scrollbar
y
Y coordinate on the top left point of the scrollbar
Return: None
otk_scrollbar2_set_range
Purpose: Set the range of the scrollbar.
Prototype:
void otk_scrollbar2_set_range (OtkScrollBar2* scrollbar,
int max, int min, int value);
Parameters: scrollbar
Pointer of the OtkScrollBar2 instance