-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numeral watchface #298
Numeral watchface #298
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we have a similar series watch, why don't we add the choose whether to display numbers in the web interface?
I would be in favour of merging this as a separate watchface. As this uses additional fonts these would be added to the binary size of the OS even if the setting is not used. By not including the watchfaces at compile time we can exclude additional, watchface specific dependencies at compile time, too. |
As the Watchface increases, it takes a long time to find or manage the design you want, so you need to find a way to solve it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Additionally, you must add this clock to the Web interface index.
0d5d08a
to
6d99c8e
Compare
Corrected commit log. |
Hi all, I didn't want to make changes to other watchface files without discussing it with you (the maintainers) but generally speaking, I'd be all for the below modifications and am happy to submit them if everyone agrees:
If that sounds reasonable, which file should we include the numeral drawing function in? perhaps under Additionally, I thought of adding the day of the month like so: Lastly, @RuffaloLavoisier,
Indeed, but I reckon that's true to many different designs, including the one in
I'd also be open to contributing documentation on how to add watchfaces, which could help newcomers. Thanks, |
LGTM, I'm happy to merge.
Please refer to this part And please write a brief introduction to this watch because we need to add it to the document (how does the number of steps look, the number of times of the week, etc.). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the time, the Watchface uses a variety of similar features and another watchfaces. Therefore, it is better to choose how to reuse the code rather than duplicate it.
And please update display date part :)
6d99c8e
to
8e695c0
Compare
Sorry, I've neglected to commit the changes I made to
I agree but to me, it feels less desirable to rely on code implemented in other watchfaces which is why I made the suggestions in my last comment (#298 (comment)). Please let me know what you think.
Updated. This too can be placed in a util function that can be then used in the different watch faces as per my last comment. Happy to refactor if you find this acceptable. Thanks, |
Your commit is based on the
|
That comment is about the overlap between the number of steps and the hands of the clock. This is a (#298 (comment)) problem that makes code reuse, or repetitive code, difficult to maintain later |
- Added day of month to drawing function - Commit missing changes to src/osw_config_keys.cpp
8427027
to
3b26384
Compare
Corrected the commit log again...
|
- Re-use monotimer draw 12 letters - Re-use print weekday - Remove unused code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - I've modified and organized some codes. There are more things to organize, but I think it would be okay to do it when I organize the watchface later.
@jessp01 |
Hello all,
Well done on this excellent project.
I've created this watch face:
Would be glad to see it merged.
Cheers,