3#ifndef PRINTLINES_ALLOWED
4#define PRINTLINES_ALLOWED 0
7static const char *FNAME =
"kest_effect_select.c";
37 kest_effect_desc_pll *current =
global_cxt.effects;
49 str->
buttons = kest_effect_selector_button_pll_append(str->
buttons, button);
51 current = current->next;
92 KEST_PRINTF(
"User tried to add effect from menu, but the pointer to the page struct is NULL!\n");
105 if (!profile->view_page)
107 KEST_PRINTF(
"Profile does not have a view page!\n");
112 pv = profile->view_page;
141 button->
label = NULL;
171 page->
screen = lv_obj_create(NULL);
177 kest_effect_selector_button_pll *current = ts->
buttons;
182 current = current->next;
void * kest_alloc(size_t size)
int kest_effect_init_view_page(kest_effect *effect, struct kest_ui_page *parent)
void add_effect_from_menu_eff(lv_event_t *e)
int create_effect_selector_button_ui_eff(kest_effect_selector_button *button, lv_obj_t *parent)
int init_effect_selector_eff(kest_ui_page *page)
int enter_effect_selector(kest_ui_page *page)
int configure_effect_selector(kest_ui_page *page, void *data)
int init_effect_selector_button_from_effect(kest_effect_selector_button *button, kest_effect_desc *eff)
void enter_effect_selector_cb(lv_event_t *e)
int refresh_effect_selector(kest_ui_page *page)
int create_effect_selector_ui_eff(kest_ui_page *page)
int create_effect_view_ui(kest_ui_page *page)
#define ERR_UNIMPLEMENTED
#define IMPLEMENT_LINKED_PTR_LIST(X)
int kest_profile_if_active_update_fpga(kest_profile *profile)
int kest_profile_update_representations(kest_profile *profile)
kest_effect * kest_profile_append_effect_eff(kest_profile *profile, kest_effect_desc *eff)
int profile_view_append_effect(kest_ui_page *page, kest_effect *effect)
int enter_ui_page_forwards(kest_ui_page *page)
int create_standard_button_click_short(lv_obj_t **obj, lv_obj_t **label, lv_obj_t *parent, char *text, lv_event_cb_t click_cb, void *click_cb_arg)
int create_standard_button_list_tall(lv_obj_t **cont, lv_obj_t *parent)
int create_panel_with_back_button(kest_ui_page *page)
int set_panel_text(kest_ui_page *page, const char *text)
int enter_ui_page_backwards(kest_ui_page *page)
int init_ui_page(kest_ui_page *page)
kest_effect_selector_button_pll * buttons
int(* create_ui)(struct kest_ui_page *page)
int(* enter_page)(struct kest_ui_page *page)