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
7
typedef
struct
ThemePickerModel
ThemePickerModel
;
8
9
ThemePickerModel
* theme_picker_model_alloc(
void
);
10
11
void
theme_picker_model_free(
ThemePickerModel
* instance);
12
13
void
theme_picker_model_add_item(
ThemePickerModel
* instance,
const
BusyTheme
* item);
14
15
const
BusyTheme
* theme_picker_model_get_item(
const
ThemePickerModel
* instance, uint32_t index);
16
17
uint32_t theme_picker_model_get_item_count(
const
ThemePickerModel
* instance);
18
19
uint32_t
20
theme_picker_model_get_item_index_by_name(
const
ThemePickerModel
* instance,
const
char
* name);
21
22
void
theme_picker_model_sort(
ThemePickerModel
* instance);
BusyTheme
Definition
busy_theme.c:14
ThemePickerModel
Definition
theme_picker_model.c:7
applications
main
busy
helpers
theme_picker_model.h
Generated by
1.12.0