Dave Allie
1107590b56
Standardize File handling with FsHelpers ( #110 )
...
## Summary
* Standardize File handling with FsHelpers
* Better central place to manage to logic of if files exist/open for
reading/writing
2025-12-23 14:14:10 +11:00
Dave Allie
77c655fcf5
Give activities names and log when entering and exiting them ( #92 )
...
## Summary
* Give activities name and log when entering and exiting them
* Clearer logs when attempting to debug, knowing where users are coming
from/going to helps
2025-12-21 21:17:00 +11:00
Dave Allie
955c78de64
Book cover sleep screen ( #89 )
...
## Summary
* Fix issue with 2-bit bmp rendering
* Add support generate book cover BMP from JPG and use as sleep screen
## Additional Context
* It does not support other image formats beyond JPG at this point
* Something is cooked with my JpegToBmpConverter logic, it generates
weird interlaced looking images for some JPGs
| Book 1 | Book 2|
| --- | --- |
|

|

|
2025-12-21 18:42:06 +11:00
Dave Allie
0d32d21d75
Small code cleanup ( #83 )
...
## Summary
* Fix cppcheck low violations
* Remove teardown method on parsers, use destructor
* Code cleanup
2025-12-21 15:43:53 +11:00
Jonas Diemer
10d76dde12
Randomly load Sleep Screen from /sleep/*bmp (if exists). ( #71 )
...
Load a random sleep screen.
Only works for ".bmp" (not ".BMP"), but I think that's OK (we do the
same for EPUBs).
2025-12-20 00:17:26 +11:00
Dave Allie
1a3d6b125d
Custom sleep screen support with BMP reading ( #57 )
...
## Summary
* Builds on top of
https://github.com/daveallie/crosspoint-reader/pull/16 - adresses
https://github.com/daveallie/crosspoint-reader/discussions/14
* This PR adds the ability for the user to supply a custom `sleep.bmp`
image at the root of the SD card that will be shown instead of the
default sleep screen if present.
* Supports:
* Different BPPs:
* 1bit
* 2bit
* 8bit
* 24bit
* 32bit (with alpha-channel ignored)
* Grayscale rendering
---------
Co-authored-by: Sam Davis <sam@sjd.co >
2025-12-19 08:45:14 +11:00
Dave Allie
d429966dd4
Rename Screens to Activities and restructure files ( #44 )
...
## Summary
* This PR drastically reshapes the structure of the codebase, moving
from the concept of "Screens" to "Activities", restructing the files and
setting up the concept of subactivities.
* This should help with keep the main file clean and containing all
functional logic in the relevant activity.
* CrossPointState is now also a global singleton which should help with
accessing it from within activities.
## Additional Context
* This is probably going to be a bit disruptive for people with open
PRs, sorry 😞
2025-12-17 23:32:18 +11:00