PageRenderTime 41ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 19ms app.codeStats 0ms

/tools/luagen/idl/ftk_scroll_bar.idl

http://ftk.googlecode.com/
IDL | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | eb0840d6791cef95c64eabba4fc46cbc MD5 | raw file
 1#include "ftk_widget.idl"
 2
 3typedef voidPtr FtkScrollBarPtr;
 4interface FtkScrollBar : FtkWidget
 5{
 6	FtkScrollBarPtr ftk_scroll_bar_create(in FtkWidgetPtr parent, in int x, in int y, in int width, in int height);
 7	Ret ftk_scroll_bar_set_param(in FtkWidgetPtr thiz, in int value, in int max_value, in int page_delta);
 8	Ret ftk_scroll_bar_set_listener(in FtkWidgetPtr thiz, in FtkWidgetListenerFunc listener);
 9	int ftk_scroll_bar_get_value(in FtkWidgetPtr thiz);
10	int ftk_scroll_bar_get_max_value(in FtkWidgetPtr thiz);
11
12	Ret ftk_scroll_bar_inc(in FtkWidgetPtr thiz);
13	Ret ftk_scroll_bar_dec(in FtkWidgetPtr thiz);
14	Ret ftk_scroll_bar_pageup(in FtkWidgetPtr thiz);
15	Ret ftk_scroll_bar_pagedown(in FtkWidgetPtr thiz);
16	Ret ftk_scroll_bar_set_value(in FtkWidgetPtr thiz, in int value);
17};
18