BSB Developer Docs
Loading...
Searching...
No Matches
theme_picker_model.h
1#pragma once
2
3#include "../busy_theme.h"
4
5#define THEME_PICKER_MODEL_INVALID_INDEX UINT32_MAX
6
8
9ThemePickerModel* theme_picker_model_alloc(void);
10
11void theme_picker_model_free(ThemePickerModel* instance);
12
13void theme_picker_model_add_item(ThemePickerModel* instance, const BusyTheme* item);
14
15const BusyTheme* theme_picker_model_get_item(const ThemePickerModel* instance, uint32_t index);
16
17uint32_t theme_picker_model_get_item_count(const ThemePickerModel* instance);
18
19uint32_t
20 theme_picker_model_get_item_index_by_name(const ThemePickerModel* instance, const char* name);
21
22void theme_picker_model_sort(ThemePickerModel* instance);
Definition busy_theme.c:14
Definition theme_picker_model.c:7