parent
361e381ac3
commit
1062fec5f2
|
@ -27,7 +27,6 @@ using namespace Pinetime::Applications::Screens;
|
||||||
|
|
||||||
Weather::Weather(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::WeatherService& weather)
|
Weather::Weather(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::WeatherService& weather)
|
||||||
: Screen(app),
|
: Screen(app),
|
||||||
dateTimeController {dateTimeController},
|
|
||||||
weatherService(weather),
|
weatherService(weather),
|
||||||
screens {app,
|
screens {app,
|
||||||
0,
|
0,
|
||||||
|
|
|
@ -25,7 +25,6 @@ namespace Pinetime {
|
||||||
private:
|
private:
|
||||||
bool running = true;
|
bool running = true;
|
||||||
|
|
||||||
Pinetime::Controllers::DateTime& dateTimeController;
|
|
||||||
Controllers::WeatherService& weatherService;
|
Controllers::WeatherService& weatherService;
|
||||||
|
|
||||||
ScreenList<5> screens;
|
ScreenList<5> screens;
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Counter::Counter(int min, int max, lv_font_t& font) : min {min}, max {max}, value {min}, font {font}, leadingZeroCount {digitCount(max)} {
|
Counter::Counter(int min, int max, lv_font_t& font) : min {min}, max {max}, value {min}, leadingZeroCount {digitCount(max)}, font {font} {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Counter::UpBtnPressed() {
|
void Counter::UpBtnPressed() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user