Xteink-X4-crosspoint-reader/src/activities
Jake Kenneally f0ac68d26c Address review comments
- Renamed `getIndentWidth` to `getTextAdvanceX`
- Collapsed `Style` and `BlockStyle` into a single struct, and switched to using bitflag setup for determining font style in `EpdFontFamily::Style`, including underlined text
- Added caching for parsed CSS rules
- Reverted changes for fixing spurious spaces
- Skipped loading CSS on Sleep and HomeScreen activities, since we only need BookMetadata and the cover image
- Reverted changes to BookMetadataCache, since we don't need to cache the individual CSS files and can instead use the parsed CSS rules (and the new cache file for those)
- Switched intermediary values to direct assignment in `CssParser.cpp`
- Added function in `BlockStyle.h` to directly convert from a `CssStyle` to a `BlockStyle`, as well as combined multiple `BlockStyle`s together for nested elements that should inherit the parent's style when the child's is unspecified
- Updated names of variables in `CssStyle` to match those of the CSS they represent (e.g. alignment -> textAlign, indent -> textIndent)
- General cleaning up and simplifying the code
2026-02-02 22:18:06 -05:00
..
boot_sleep Address review comments 2026-02-02 22:18:06 -05:00
browser Refactors Calibre Wireless Device & Calibre Library (#404) 2026-01-27 22:02:38 +11:00
home Address review comments 2026-02-02 22:18:06 -05:00
network fix: WiFi error screen text clarifications (#612) 2026-02-01 19:19:23 +11:00
reader fix: truncating chapter titles using UTF-8 safe function (#599) 2026-02-01 22:23:48 +11:00
settings refactor: Re-work for OTA feature (#509) 2026-01-28 01:30:27 +11:00
util feat: add HalDisplay and HalGPIO (#522) 2026-01-28 04:50:15 +11:00
Activity.h Prevent device sleep during WiFi file transfer and OTA updates (#203) 2026-01-02 17:44:17 +11:00
ActivityWithSubactivity.cpp Give activities names and log when entering and exiting them (#92) 2025-12-21 21:17:00 +11:00
ActivityWithSubactivity.h Support swapping the functionality of the front buttons (#133) 2025-12-29 14:59:14 +11:00