ui/common/wrapper.c

changeset 1171
d5500e601996
parent 1168
2f9d8af6a499
equal deleted inserted replaced
1170:b79469a55540 1171:d5500e601996
248 int ui_event_get_set(UiEvent *event) { 248 int ui_event_get_set(UiEvent *event) {
249 return event->set; 249 return event->set;
250 } 250 }
251 251
252 252
253 /* ---------------------------- UiTypedObj ---------------------------- */
254
255 void* ui_typed_obj_get_ptr(UiTypedObj *obj) {
256 return obj->ptr;
257 }
258
259 uint64_t ui_typed_obj_get_type(UiTypedObj *obj) {
260 return obj->type;
261 }
262
263
253 /* ------------------------- SubListItem (public) ------------------------- */ 264 /* ------------------------- SubListItem (public) ------------------------- */
254 265
255 void ui_sublist_item_set_icon(UiSubListItem *item, const char *icon) { 266 void ui_sublist_item_set_icon(UiSubListItem *item, const char *icon) {
256 item->icon = icon ? strdup(icon) : NULL; 267 item->icon = icon ? strdup(icon) : NULL;
257 } 268 }

mercurial