summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/settings/SettingSetDate.h
diff options
context:
space:
mode:
authorFinlay Davidson <finlay.davidson@coderclass.nl>2022-05-09 17:16:08 +0200
committerRiku Isokoski <riksu9000@gmail.com>2022-06-05 09:15:46 +0300
commit7f45538eb53235ab4015fcf13533796c8759c7bc (patch)
tree79d9a2f60e8fb13cb5356bcc5c6e93259449530b /src/displayapp/screens/settings/SettingSetDate.h
parent718fbdab98ae80923a548ac03b7843f5d618a4f6 (diff)
Apply clang-format to all C++ files
Diffstat (limited to 'src/displayapp/screens/settings/SettingSetDate.h')
-rw-r--r--src/displayapp/screens/settings/SettingSetDate.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/displayapp/screens/settings/SettingSetDate.h b/src/displayapp/screens/settings/SettingSetDate.h
index 477337ff..a1795942 100644
--- a/src/displayapp/screens/settings/SettingSetDate.h
+++ b/src/displayapp/screens/settings/SettingSetDate.h
@@ -8,33 +8,33 @@
namespace Pinetime {
namespace Applications {
namespace Screens {
- class SettingSetDate : public Screen{
- public:
- SettingSetDate(DisplayApp* app, Pinetime::Controllers::DateTime &dateTimeController);
- ~SettingSetDate() override;
+ class SettingSetDate : public Screen {
+ public:
+ SettingSetDate(DisplayApp* app, Pinetime::Controllers::DateTime& dateTimeController);
+ ~SettingSetDate() override;
- void HandleButtonPress(lv_obj_t *object, lv_event_t event);
-
- private:
- Controllers::DateTime& dateTimeController;
+ void HandleButtonPress(lv_obj_t* object, lv_event_t event);
- int dayValue;
- int monthValue;
- int yearValue;
- lv_obj_t * lblDay;
- lv_obj_t * lblMonth;
- lv_obj_t * lblYear;
- lv_obj_t * btnDayPlus;
- lv_obj_t * btnDayMinus;
- lv_obj_t * btnMonthPlus;
- lv_obj_t * btnMonthMinus;
- lv_obj_t * btnYearPlus;
- lv_obj_t * btnYearMinus;
- lv_obj_t * btnSetTime;
+ private:
+ Controllers::DateTime& dateTimeController;
- int MaximumDayOfMonth() const;
- void CheckDay();
- void UpdateMonthLabel();
+ int dayValue;
+ int monthValue;
+ int yearValue;
+ lv_obj_t* lblDay;
+ lv_obj_t* lblMonth;
+ lv_obj_t* lblYear;
+ lv_obj_t* btnDayPlus;
+ lv_obj_t* btnDayMinus;
+ lv_obj_t* btnMonthPlus;
+ lv_obj_t* btnMonthMinus;
+ lv_obj_t* btnYearPlus;
+ lv_obj_t* btnYearMinus;
+ lv_obj_t* btnSetTime;
+
+ int MaximumDayOfMonth() const;
+ void CheckDay();
+ void UpdateMonthLabel();
};
}
}