Skip to content

Commit

Permalink
Todo
Browse files Browse the repository at this point in the history
  • Loading branch information
unwieldycat committed Dec 18, 2023
1 parent 47f352e commit 2c0cc38
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/robodash/views/selector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@

// =============================== Variables =============================== //

// TODO: Make variables members, so multiple selectors can be used

std::vector<rd::Selector::routine_t> routines;
rd::Selector::routine_t *selected_routine = nullptr;

lv_obj_t *select_cont;
lv_obj_t *selected_label;
lv_obj_t *saved_toast;
lv_obj_t *routine_list;

lv_anim_t anim_toast;

Expand Down Expand Up @@ -107,7 +108,7 @@ rd::Selector::Selector(std::vector<routine_t> new_routines) {

lv_obj_set_style_bg_color(view->obj, color_bg, 0);

routine_list = lv_list_create(view->obj);
lv_obj_t *routine_list = lv_list_create(view->obj);
lv_obj_set_size(routine_list, 228, 192);
lv_obj_align(routine_list, LV_ALIGN_BOTTOM_LEFT, 8, -8);
lv_obj_add_style(routine_list, &style_list, 0);
Expand Down

0 comments on commit 2c0cc38

Please sign in to comment.