Intermec ck1 Reference Guide

Page of 390
Chapter 4 — SDK Components 
212 
CK1 SDK Programmer’s Reference Manual 
otk_scrollbar2_set_range (continued) 
max 
Maximum value of the scrollbar 
min 
Minimum value of the scrollbar 
value 
Current value of the scrollbar 
 
Return: None 
otk_scrollbar2_set_step 
 
Purpose:  Set the step value of the scrollbar. 
 
Prototype: 
void otk_scrollbar2_set_step (OtkScrollBar2* scrollbar
int stepvalue);
 
 
Parameters:  scrollbar 
Pointer of the OtkScrollBar2 instance 
stepvalue 
Step value of the scrollbar 
 
Return: None 
otk_scrollbar2_refresh 
 
Purpose:  Redraw the scrollbar. After calling the setting functions and adding to the 
parent, this function needs to be called. 
 
Prototype: 
void otk_scrollbar2_refresh (OtkScrollBar2* scrollbar);
 
 
Parameter:  scrollbar 
Pointer of the OtkScrollBar2 instance 
 
Return: None 
otk_scrollbar2_set_max 
 
Purpose:  Set the maximum value of the scrollbar. 
 
Prototype: 
void otk_scrollbar2_set_max (OtkScrollBar2* scrollbar
int max);
 
 
Parameters:  scrollbar 
Pointer of the OtkScrollBar2 instance 
max 
Maximum value of the scrollbar 
 
Return: None 
otk_scrollbar2_set_min 
 
Purpose:  Set the minimum value of the scrollbar. 
 
Prototype: 
void otk_scrollbar2_set_min (OtkScrollBar2* scrollbar
int min);