unleashed-firmware/applications/lfrfid_debug/view_modules/lfrfid_view_tune_vm.h
あく 389ff92cc1
Naming and coding style convention, new linter tool. (#945)
* Makefile, Scripts: new linter
* About: remove ID from IC
* Firmware: remove double define for DIVC/DIVR
* Scripts: check folder names too. Docker: replace syntax check with make lint.
* Reformat Sources and Migrate to new file naming convention
* Docker: symlink clang-format-12 to clang-format
* Add coding style guide
2022-01-05 19:10:18 +03:00

27 lines
589 B
C++

#pragma once
#include <gui/view.h>
#include <view_modules/generic_view_module.h>
class LfRfidViewTuneVM : public GenericViewModule {
public:
LfRfidViewTuneVM();
~LfRfidViewTuneVM() final;
View* get_view() final;
void clean() final;
bool is_dirty();
uint32_t get_ARR();
uint32_t get_CCR();
private:
View* view;
void view_draw_callback(Canvas* canvas, void* _model);
bool view_input_callback(InputEvent* event, void* context);
void button_up();
void button_down();
void button_left();
void button_right();
void button_ok();
};