Add Legend watch face#2450
Open
DavisNT wants to merge 1 commit into
Open
Conversation
An elegant and very practical digital watch face. Uses only fonts already in InfiniTime and no external resources. Has the standard functionality: * shows time, date (without year) and day of week * supports 24 and 12 hour time formats * BLE, new notification and alarm clock icons * battery percentage (green when charging) * steps and heart rate * temperature and weather icon Additionally: * visual indication (amber dot) for any notification(s) * visual indication (red or blue line) when notifications are muted * battery percentage turns red when 20% or less * stopwatch and timer icons (when active) * colorful sun, snow and thunderstorm weather icons * generally uses brighter colors for more urgent things
|
Build size and comparison to main:
|
mark9064
reviewed
Jul 18, 2026
mark9064
left a comment
Member
There was a problem hiding this comment.
Looks great overall :)
A few comments, but nothing big
I am curioous, how much did you use LLMs (if at all) during development of this watchface?
Comment on lines
+81
to
+83
| lv_obj_t* label_date; | ||
| lv_obj_t* label_time; | ||
| lv_obj_t* label_ampm; |
Member
There was a problem hiding this comment.
I know some of the other faces don't, but could these be camelCase as well?
|
|
||
| // Tracks the calendar day so the date line is re-rendered at most | ||
| // once per day (or after a time sync). | ||
| using days = std::chrono::duration<int32_t, std::ratio<86400>>; |
Member
There was a problem hiding this comment.
Looks like there is std::chrono::days?
| lv_obj_align(weatherIcon, weatherValue, LV_ALIGN_OUT_LEFT_BOTTOM, -5, 12); | ||
| lv_obj_set_auto_realign(weatherIcon, true); | ||
|
|
||
| // Piggyback on the standard periodic refresh task: no extra timers. |
Member
There was a problem hiding this comment.
Interesting phrasing, it's not really piggybacking since the refresh task is being used here for exactly its intended purpose :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An elegant and very practical digital watch face.
Uses only fonts already in InfiniTime and no external resources. Has the standard functionality:
Additionally: