unleashed-firmware/applications/main/infrared/views/infrared_move_view.h

23 lines
630 B
C
Raw Normal View History

#pragma once
#include <gui/view.h>
typedef struct InfraredMoveView InfraredMoveView;
typedef void (*InfraredMoveCallback)(uint32_t index_old, uint32_t index_new, void* context);
InfraredMoveView* infrared_move_view_alloc(void);
void infrared_move_view_free(InfraredMoveView* debug_view);
View* infrared_move_view_get_view(InfraredMoveView* debug_view);
void infrared_move_view_set_callback(
InfraredMoveView* move_view,
InfraredMoveCallback callback,
void* context);
void infrared_move_view_add_item(InfraredMoveView* move_view, const char* label);
void infrared_move_view_reset(InfraredMoveView* move_view);