Xteink-X4-crosspoint-reader/src
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
..
activities Address review comments 2026-02-02 22:18:06 -05:00
images Move to SDK EInkDisplay and enable anti-aliased 2-bit text (#5) 2025-12-08 19:48:49 +11:00
network fix: webserver folder creation regex change (#653) 2026-02-02 21:27:02 +11:00
util fix: truncating chapter titles using UTF-8 safe function (#599) 2026-02-01 22:23:48 +11:00
Battery.h Public release 2025-12-03 22:06:45 +11:00
CrossPointSettings.cpp feat: Add support to B&W filters to image covers (#476) 2026-01-28 00:21:59 +11:00
CrossPointSettings.h feat: Add support to B&W filters to image covers (#476) 2026-01-28 00:21:59 +11:00
CrossPointState.cpp Ensure new custom sleep image every time (#300) 2026-01-14 21:05:08 +11:00
CrossPointState.h Ensure new custom sleep image every time (#300) 2026-01-14 21:05:08 +11:00
fontIds.h feat: Include superscripts and subscripts in fonts (#463) 2026-01-21 22:42:41 +11:00
main.cpp fix: don't wake up after USB connect (#644) 2026-02-01 22:19:33 +11:00
MappedInputManager.cpp feat: add HalDisplay and HalGPIO (#522) 2026-01-28 04:50:15 +11:00
MappedInputManager.h feat: add HalDisplay and HalGPIO (#522) 2026-01-28 04:50:15 +11:00
RecentBooksStore.cpp feat: Display epub metadata on Recents (#511) 2026-01-28 04:25:42 +11:00
RecentBooksStore.h feat: Display epub metadata on Recents (#511) 2026-01-28 04:25:42 +11:00
ScreenComponents.cpp feat(ui): change popup logic (#442) 2026-02-01 18:41:24 +11:00
ScreenComponents.h feat(ui): change popup logic (#442) 2026-02-01 18:41:24 +11:00
WifiCredentialStore.cpp Add exFAT support (#150) 2025-12-30 16:09:30 +11:00
WifiCredentialStore.h Add connect to Wifi and File Manager Webserver (#41) 2025-12-20 01:05:43 +11:00