mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-28 07:52:31 +00:00
feat(pages): add eleven-language site and native device previews
This commit is contained in:
1 parent
7d8e73becf
commit
ffb2a2e4d5
109 files changed
+8455
-987
No files matched your search
@@ -0,0 +1,16 @@
|
||||
// Only platform services/data are substituted. No LVGL page layout lives here.
|
||||
#include "platform/ui/device_runtime.h"
|
||||
#include "platform/ui/settings_store.h"
|
||||
#include "ui/widgets/foreground_operation_overlay.h"
|
||||
#include <string>
|
||||
|
||||
namespace platform::ui::device {
|
||||
BatteryInfo battery_info() { return {true, false, 85}; }
|
||||
void handle_low_battery(const BatteryInfo&) {}
|
||||
}
|
||||
namespace ui::widgets::foreground_operation {
|
||||
Snapshot make_snapshot(Slot slot, Policy policy, Priority priority, const char*, const char*, int, const char*, uint32_t)
|
||||
{ Snapshot s; s.slot=slot; s.policy=policy; s.priority=priority; return s; }
|
||||
void publish(const Snapshot&) {}
|
||||
void clear(Slot,uint32_t) {}
|
||||
}
|
||||
Reference in new issue
Block a user