Blender  V2.59
ScrollBar.h
Go to the documentation of this file.
00001 
00029 typedef struct _ScrollBar ScrollBar;
00030 
00031 
00032         /***/
00033         
00034 ScrollBar*      scrollbar_new                           (int inset, int minthumb);
00035 
00036 int                     scrollbar_is_scrolling          (ScrollBar *sb);
00037 int                     scrollbar_contains_pt           (ScrollBar *sb, int pt[2]);
00038 
00039 void            scrollbar_start_scrolling       (ScrollBar *sb, int yco);
00040 void            scrollbar_keep_scrolling        (ScrollBar *sb, int yco);
00041 void            scrollbar_stop_scrolling        (ScrollBar *sb);
00042 
00043 void            scrollbar_set_thumbpct          (ScrollBar *sb, float pct);
00044 void            scrollbar_set_thumbpos          (ScrollBar *sb, float pos);
00045 void            scrollbar_set_rect                      (ScrollBar *sb, int rect[2][2]);
00046 
00047 float           scrollbar_get_thumbpct          (ScrollBar *sb);
00048 float           scrollbar_get_thumbpos          (ScrollBar *sb);
00049 void            scrollbar_get_rect                      (ScrollBar *sb, int rect_r[2][2]);
00050 
00051 void            scrollbar_get_thumb                     (ScrollBar *sb, int thumb_r[2][2]);
00052 
00053 void            scrollbar_free                          (ScrollBar *sb);
00054