ui/win32/list.h

changeset 938
be4c88ded783
parent 936
d40a72210be8
child 971
0224108bd8c2
equal deleted inserted replaced
937:06e03c7e39db 938:be4c88ded783
60 void* ondragcompletedata; 60 void* ondragcompletedata;
61 ui_callback ondrop; 61 ui_callback ondrop;
62 void* ondropdata; 62 void* ondropdata;
63 } UiListView; 63 } UiListView;
64 64
65 void ui_listview_eventproc(W32Widget *widget, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); 65 int ui_listview_eventproc(W32Widget *widget, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
66 W32Size ui_listview_get_preferred_size(W32Widget *widget); 66 W32Size ui_listview_get_preferred_size(W32Widget *widget);
67 67
68 void ui_listview_update(UiList *list, int row); 68 void ui_listview_update(UiList *list, int row);
69 UiListSelection ui_listview_getselection(UiList *list); 69 UiListSelection ui_listview_getselection(UiList *list);
70 void ui_listview_setselection(UiList *list, UiListSelection selection); 70 void ui_listview_setselection(UiList *list, UiListSelection selection);
71 71
72 void ui_dropdown_eventproc(W32Widget *widget, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); 72 int ui_dropdown_eventproc(W32Widget *widget, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
73 W32Size ui_dropdown_get_preferred_size(W32Widget *widget); 73 W32Size ui_dropdown_get_preferred_size(W32Widget *widget);
74 74
75 void ui_dropdown_update(UiList *list, int row); 75 void ui_dropdown_update(UiList *list, int row);
76 UiListSelection ui_dropdown_getselection(UiList *list); 76 UiListSelection ui_dropdown_getselection(UiList *list);
77 void ui_dropdown_setselection(UiList *list, UiListSelection selection); 77 void ui_dropdown_setselection(UiList *list, UiListSelection selection);

mercurial