•  Back 
  •  XCONTROL functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File9.1.3.14  Sl_size                                                  TOS

 Name:        »Sl_size« - Sets slider size.

 Declaration  VOID cdecl (*Sl_size) (OBJECT *tree, int16_t base, 
              int16_t slider, int16_t num_items, int16_t visible, 
              int16_t direction, int16_t min_size);

 Description  The call Sl_size sets the size of the slider. The 
              following apply:

               Parameter  Meaning
               tree       Address of the object tree
               base       Base object (index of slider 'track')
               slider     Slider (child of the base object)
               num_items  Anzahl der vorhandenen Elemente
               visible    Anzahl der sichtbaren Elemente
               direction  Direction:
                           0  =  Vertical 
                           1  =  Horizontal 

               min_size   Minimum size of slider, in pixels

              Note: The function is required to obtain the relation- 
              ship of the amount of data displayed to the total that 
              is present.

 Return value: The function does not return a result.

 Group:       XCONTROL functions

 See also:    Sl_dragx   Sl_dragy   Sl_x   Sl_y   XCONTROL