mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
Compare commits
3 commits
2707bf73bf
...
b0f082a838
Author | SHA1 | Date | |
---|---|---|---|
|
b0f082a838 | ||
|
da482bab9a | ||
|
8598142c27 |
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -4,9 +4,6 @@
|
|||
[submodule "src/libs/littlefs"]
|
||||
path = src/libs/littlefs
|
||||
url = https://github.com/littlefs-project/littlefs.git
|
||||
[submodule "src/libs/QCBOR"]
|
||||
path = src/libs/QCBOR
|
||||
url = https://github.com/laurencelundblade/QCBOR.git
|
||||
[submodule "src/libs/arduinoFFT"]
|
||||
path = src/libs/arduinoFFT
|
||||
url = https://github.com/kosme/arduinoFFT.git
|
||||
|
|
|
@ -32,7 +32,10 @@ Tile::Tile(uint8_t screenID,
|
|||
Controllers::DateTime& dateTimeController,
|
||||
std::array<Applications, 6>& applications,
|
||||
Controllers::Timer& timer)
|
||||
: app {app}, dateTimeController {dateTimeController}, pageIndicator(screenID, numScreens), statusIcons(batteryController, bleController, timer) {
|
||||
: app {app},
|
||||
dateTimeController {dateTimeController},
|
||||
pageIndicator(screenID, numScreens),
|
||||
statusIcons(batteryController, bleController, timer) {
|
||||
|
||||
settingsController.SetAppMenu(screenID);
|
||||
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
|
||||
using namespace Pinetime::Applications::Widgets;
|
||||
|
||||
StatusIcons::StatusIcons(const Controllers::Battery& batteryController, const Controllers::Ble& bleController, const Controllers::Timer& timer)
|
||||
StatusIcons::StatusIcons(const Controllers::Battery& batteryController,
|
||||
const Controllers::Ble& bleController,
|
||||
const Controllers::Timer& timer)
|
||||
: batteryIcon(true), batteryController {batteryController}, bleController {bleController}, timer {timer} {
|
||||
}
|
||||
|
||||
|
@ -18,7 +20,6 @@ void StatusIcons::Create() {
|
|||
lv_label_set_text(timeRemaining, "00:00");
|
||||
lv_obj_align(timeRemaining, nullptr, LV_ALIGN_IN_TOP_MID, 10, 0);
|
||||
|
||||
|
||||
container = lv_cont_create(lv_scr_act(), nullptr);
|
||||
lv_cont_set_layout(container, LV_LAYOUT_ROW_TOP);
|
||||
lv_cont_set_fit(container, LV_FIT_TIGHT);
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 56b17bf9f74096774944bcac0829adcd887d391e
|
Loading…
Reference in a new issue