diff options
| author | Tim Keller <geekboy1011@gmail.com> | 2021-09-27 02:52:02 (GMT) |
|---|---|---|
| committer | Tim Keller <geekboy1011@gmail.com> | 2022-01-04 01:59:01 (GMT) |
| commit | 3ebf002f9db75513d036c0eaa0863e75882b3a40 (patch) | |
| tree | c9e78252084716e797b56793c8b7f1cbd51188be /src/displayapp/screens/settings/SettingShakeThreshold.h | |
| parent | ad42cdf120ddd835331be6c1d1ee86e8e14a4479 (diff) | |
Add start of settings app for senstivity.
really just debugging. I want to make it more configurable then high med low.
Position of setting needs a new location...dynamicly adding it currently at the end. Which honestly im fine with.
Diffstat (limited to 'src/displayapp/screens/settings/SettingShakeThreshold.h')
| -rw-r--r-- | src/displayapp/screens/settings/SettingShakeThreshold.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/displayapp/screens/settings/SettingShakeThreshold.h b/src/displayapp/screens/settings/SettingShakeThreshold.h new file mode 100644 index 0000000..387f0b6 --- /dev/null +++ b/src/displayapp/screens/settings/SettingShakeThreshold.h @@ -0,0 +1,27 @@ +#pragma once + +#include <cstdint> +#include <lvgl/lvgl.h> +#include "components/settings/Settings.h" +#include "displayapp/screens/Screen.h" + +namespace Pinetime { + + namespace Applications { + namespace Screens { + + class SettingShakeThreshold : public Screen { + public: + SettingShakeThreshold(DisplayApp* app, Pinetime::Controllers::Settings& settingsController); + ~SettingShakeThreshold() override; + + void UpdateSelected(lv_obj_t* object, lv_event_t event); + + private: + Controllers::Settings& settingsController; + uint8_t optionsTotal; + lv_obj_t* cbOption[2]; + }; + } + } +} |
