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