diff options
author | mabuch <marcel.buechler@gmail.com> | 2022-04-18 14:35:31 +0200 |
---|---|---|
committer | mabuch <marcel.buechler@gmail.com> | 2022-04-18 14:35:31 +0200 |
commit | 82a4f9aa68c3f8d5f3cfa6de87de078fe680d944 (patch) | |
tree | cc83c0af796a029f9464003cda043f373b716749 /src/displayapp/screens/settings/SettingBluetooth.h | |
parent | ea14c580ca6296cb93facf526d65a2db0e3ff1b0 (diff) | |
parent | 2607c3d79947e900ce4c5ded296f649677511a34 (diff) |
resolved merge conflict after renaming PineTimeStyle to WatchFacePineTimeStyle
Diffstat (limited to 'src/displayapp/screens/settings/SettingBluetooth.h')
-rw-r--r-- | src/displayapp/screens/settings/SettingBluetooth.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/displayapp/screens/settings/SettingBluetooth.h b/src/displayapp/screens/settings/SettingBluetooth.h new file mode 100644 index 00000000..12bb459a --- /dev/null +++ b/src/displayapp/screens/settings/SettingBluetooth.h @@ -0,0 +1,31 @@ +#pragma once + +#include <array> +#include <cstdint> +#include <lvgl/lvgl.h> + +#include "components/settings/Settings.h" +#include "displayapp/screens/Screen.h" + +namespace Pinetime { + + namespace Applications { + namespace Screens { + + class SettingBluetooth : public Screen { + public: + SettingBluetooth(DisplayApp* app, Pinetime::Controllers::Settings& settingsController); + ~SettingBluetooth() override; + + void OnBluetoothEnabled(lv_obj_t* object, lv_event_t event); + void OnBluetoothDisabled(lv_obj_t* object, lv_event_t event); + + private: + Controllers::Settings& settingsController; + lv_obj_t* cbEnabled; + lv_obj_t* cbDisabled; + bool priorMode; + }; + } + } +} |