Intermec ck1 Reference Guide
Chapter 4 — SDK Components
200
CK1 SDK Programmer’s Reference Manual
otk_page_set_range
Purpose: Set the range of the page.
Prototype:
void otk_page_set_range (OtkPage* page, int max, int min,
int value);
Parameters: page
Pointer of the OtkPage instance
max
Maximum value of the page
min
Minimum value of the page
value
Current value of the page
Return: None
otk_page_set_step
Purpose: Set the step value of the page.
Prototype:
void otk_page_set_step (OtkPage* page, int stepvalue);
Parameters: page
Pointer of the OtkPage instance
stepvalue
Step value of the page
Return: None
otk_page_show_value_ratio
Purpose: Show the ratio beside the page down button to make sure where the
current value of the page is. (You may select to show the ratio or not.)
Prototype:
void otk_page_show_value_ratio(OtkPage* page);
Parameter: page
Pointer of the OtkPage instance
Return: None
otk_page_refresh
Purpose: Redraw the page. After calling the setting functions and adding to the
parent, this function needs to be called.
Prototype:
void otk_page_refresh (OtkPage* page);
Parameter: page
Pointer of the OtkPage instance
Return: None