-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathSettingQuietHours.h
More file actions
34 lines (27 loc) · 797 Bytes
/
SettingQuietHours.h
File metadata and controls
34 lines (27 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#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 SettingQuietHours : public Screen {
public:
SettingQuietHours(Pinetime::Controllers::Settings& settingsController);
~SettingQuietHours() override;
void UpdateSelected(lv_obj_t* object, lv_event_t event);
void ToggleEnabled();
private:
Controllers::Settings& settingsController;
lv_obj_t* enabledCheckbox;
lv_obj_t* startValue;
lv_obj_t* endValue;
lv_obj_t* btnStartPlus;
lv_obj_t* btnStartMinus;
lv_obj_t* btnEndPlus;
lv_obj_t* btnEndMinus;
};
}
}
}