PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/luagen/idl/ftk_icon_view.idl

http://ftk.googlecode.com/
IDL | 18 lines | 13 code | 5 blank | 0 comment | 0 complexity | 48839249e7777b3f00cfb6d92e535f54 MD5 | raw file
 1#include "ftk_widget.idl"
 2
 3typedef voidPtr FtkIconViewPtr;
 4typedef voidPtr FtkIconViewItemListenerFunc;
 5
 6interface FtkIconView : FtkWidget
 7{
 8	FtkIconViewPtr ftk_icon_view_create(in FtkWidgetPtr parent, in int x, in int y, in int width, in int height);
 9
10	Ret ftk_icon_view_set_item_size(in FtkWidgetPtr thiz, in size_t size);
11	Ret ftk_icon_view_set_clicked_listener(in FtkWidgetPtr thiz, in FtkIconViewItemListenerFunc listener);
12
13	size_t ftk_icon_view_get_count(in FtkWidgetPtr thiz);
14	Ret ftk_icon_view_remove(in FtkWidgetPtr thiz, in size_t index);
15	Ret ftk_icon_view_add(in FtkWidgetPtr thiz, in FtkIconViewItemPtr item);
16	Ret ftk_icon_view_get(in FtkWidgetPtr thiz, in size_t index, out FtkIconViewItemPtr item);
17};
18