-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
2023.9.1: Screen ID, Progress screen, Icon with Text #94
Conversation
This reverts commit c9bb2a0.
* Added the ability to specify a screen ID - icon_name|screen_id * Added icon and date output screen - icon_date(iconname, lifetime, screen_time, default_font, r, g, b) * If pass a screen identifier with the value [day, weekday] like icon_name|day, and a backing icon to icon_clock or icon_date, it will display text. * Added a screen with the ability to display a progress bar, progress value (-1..100) - icon_screen_progress(iconname, text, progress, lifetime, screen_time, default_font, r, g, b)
The screen ID works fine:
|
Calling Found bugs:
|
There is no possibility to test it yet, but in theory the bugs found are fixed. |
what about the docs or a wiki entry for the new features? |
Look like all fixed ... |
If you can tell me which file to make the changes in, I'll do it tomorrow. PS: I can't promise screenshots |
Progress in MODE_ICON_PROGRESS screen: - 0 .. -100 - from Green to Red - 0 .. 100 - from Red to Green
- icon|day#mode - icon|weekday#mode mode: - 0 - default - left and right - baseline from font - 1 - center - baseline from font - 2 - center - right - baseline from font - 4 - left and right - baseline 7 - 1 - center - baseline 7 - 2 - center - right - baseline 7 #92 (comment)
Added to the readme... |
Set Color for Left and Right char on InfoText
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.
mode:
- 0 - default - left and right - baseline from font
- 1 - center - baseline from font
- 2 - center - right - baseline from font
- 3 - left and right - baseline 7
- 4 - center - baseline 7
- 5 - center - right - baseline 7
Hi @andrewjswan, it is better to have a PR per new feature! In this PR there are so many new things, its hard to check them. But i will merge this PR to a new branch and test. |
I agree, but it happened here that I did all the changes in one go since I didn't have access to a computer and it was already difficult to break it down. |
Things I tested:
I'm still not happy the the screen identifier and the "|" i believe each parameter has to be unambiguously. To sum it up, you pushed the functionality futher, but we must take care in clean code |
Totally agree. But I was trying to fit the functionality into the current model without expanding it or losing the basic functionality. I think I succeeded.
It's really bad out there so far, different fonts, different metrics, and you have to fit it all into 8 points. I'm still working on the display.
You can always change :)
I'm not quite sure what this is about, I'll have to read up on it. |
Totally support, I tried to implement the concept, but I don't know C++, so I'm not doing as well as I wanted. |
2023.9.1: Screen ID, Progress screen, Icon with Text
icon_name|screen_id
icon_date(iconname, lifetime, screen_time, default_font, r, g, b)
[day, weekday]
likeicon_name|day
, and a backing icon toicon_clock
oricon_date
, it will display text.icon_screen_progress(iconname, text, progress, lifetime, screen_time, default_font, r, g, b)
Should solve the issues: #83 #91 #92