Commit Graph

13 Commits (master)

Author SHA1 Message Date
Randy Heydon ce8cf1d542 bwclklite: Adjust clkinfo positions for long text.
This copies changes from bwclk into bwclklite.  For reference, see
PR #3845 and commits 83bedcd and 04f3475.

Previously, all text in a clock info entry was centered.  This caused
long lines to spill off both sides of the screen, and entries with
more than two lines to cover the time.  With this change, clock info
text is arranged so it only ever spills off the right and bottom.
This allows the start of any text to always be visible, and the time
to never be covered, regardless of the amount of text.  To achieve
this, multiple lines are now left-aligned instead of center-aligned,
and single lines are wrapped.
2025-05-18 15:51:33 -04:00
Randy Heydon fe2ccfb108 bwclk & bwclklite: Support 12-hour time format.
This modifies how the time string is generated so it respects the system's
locale settings, specifically for 12-hour time.  This is done with the
locale package, which also simplifies some of the string handling since the
package creates a complete time string.  Note this does not add any display of
AM/PM, but neither do any other clock faces.
2025-01-31 22:03:27 -05:00
Rob Pilling b5b65406c0 Update apps to remove default boolean formatters 2024-01-08 21:53:11 +00:00
Rob Pilling 76b7a1194a Add data:[...] entries to apps using storage 2023-06-20 22:07:17 +01:00
Gordon Williams de79b0a39e Fix issue rendering ClockInfos with for fg+bg color set to the same (#2749) 2023-05-15 09:21:41 +01:00
thyttan 3ac91b5fee make clock_info border one pixel wider 2023-04-19 18:51:02 +02:00
thyttan f5211fff10 use screenshot with widgets 2023-02-25 19:30:59 +01:00
thyttan 3bec7ffcdb
Indentation 2023-02-25 19:21:41 +01:00
thyttan 137ad32d85
match new screenshot for clock info 2023-02-25 19:19:53 +01:00
thyttan 05146ce283 change screenshots 2023-02-25 19:17:29 +01:00
thyttan 20e300182e Change all occurrances of bwclk to bwclklite 2023-02-25 19:03:59 +01:00
thyttan 09eeac356b Add changes to bwclklite after forking from bwclk. Change custom font to a standard bitmap one. Don't invert theme as this doesn't work very well with fastloading. Do an initial fillRect on the clock info area since it would wait for clock info before drawing out the previous app. Change all occurences of var to let. 2023-02-25 18:52:29 +01:00
thyttan 6cd3c02253 fork bwclklite from bwclk 2023-02-25 18:43:59 +01:00