ui/common/wrapper.h

changeset 110
c00e968d018b
parent 109
c3dfcb8f0be7
child 112
c3f2f16fa4b8
equal deleted inserted replaced
109:c3dfcb8f0be7 110:c00e968d018b
75 UIEXPORT int ui_event_get_set(UiEvent *event); 75 UIEXPORT int ui_event_get_set(UiEvent *event);
76 76
77 UIEXPORT UiListSelection* ui_list_get_selection_allocated(UiList *list); 77 UIEXPORT UiListSelection* ui_list_get_selection_allocated(UiList *list);
78 UIEXPORT int ui_list_selection_get_count(UiListSelection *sel); 78 UIEXPORT int ui_list_selection_get_count(UiListSelection *sel);
79 UIEXPORT int* ui_list_selection_get_rows(UiListSelection *sel); 79 UIEXPORT int* ui_list_selection_get_rows(UiListSelection *sel);
80 UIEXPORT void ui_list_set_selected_indices(UiList *list, int *indices, int num);
80 UIEXPORT void ui_list_selection_free(UiListSelection *sel); 81 UIEXPORT void ui_list_selection_free(UiListSelection *sel);
81 82
82 UIEXPORT int ui_filelist_count(UiFileList *flist); 83 UIEXPORT int ui_filelist_count(UiFileList *flist);
83 UIEXPORT char* ui_filelist_get(UiFileList *flist, int index); 84 UIEXPORT char* ui_filelist_get(UiFileList *flist, int index);
85
86 UIEXPORT void ui_textstyle_set_bold(UiTextStyle *style, UiBool set);
87 UIEXPORT void ui_textstyle_set_underline(UiTextStyle *style, UiBool set);
88 UIEXPORT void ui_textstyle_set_italic(UiTextStyle *style, UiBool set);
89 UIEXPORT void ui_textstyle_set_color(UiTextStyle *style, int r, int g, int b);
90 UIEXPORT void ui_textstyle_enable_color(UiTextStyle *style, UiBool enable);
91
92 UIEXPORT UiBool ui_cell_value_is_string(UiCellValue *value);
93 UIEXPORT UiBool ui_cell_value_is_int(UiCellValue *value);
94 UIEXPORT const char* ui_cell_value_get_string(UiCellValue *value);
95 UIEXPORT int64_t ui_cell_value_get_int(UiCellValue *value);
84 96
85 97
86 #ifdef __cplusplus 98 #ifdef __cplusplus
87 } 99 }
88 #endif 100 #endif

mercurial