had to make sure the getters properly calculated layout before retrieving values.
Add a Tab class to allow for better control of adding content into the tabs and managing the contents once its in there.
Use setting class to do a quick demo of the OnShow code abilities. This could be useful for things like settings pages that need to load up HW resources when they are shown but then can power them down when they are hidden.
Make Tabview a friend of Base Page to allow it to notify pages that they are hidden or showing.
Implement the notification in Tabview to allow pages to know they are showing.
This will allow for easy creation of "pages" that can be layed out internally and passed to different screens and cleaned up when screens are cleaned up by the screen manager
add set width and height to base elements that allow for easy resizing
Create a settings page and make it red.
Test adding 2 tabs with the Page
this currently does not do anything fantastic on simulator but it sets a strong foundation for managing multiple pages
using new poller class to simplify the battery interface and
downstream usages of battery.
tweaked poller destructor and remove the default constructor
in preference of using a unique pointer
convert simulator to use a std::thread for lvgl Tick api because
the SDL thread sleep was not true to time. (and is simplified the code...)
* Lower default SPI Clock
Lowered the default SPI clock as some displays might show glitches with the SPI frequency set above 40MHz.
* Added missing library components
Added the missing library symbols, footprints and 3D-models. These are all in a project-specific library called "omoteLib" (#19)
* Implement MQTT publish in HardwareRevX
Change-Id: I7b6955a662716f83dd8daf34128a353efa26bf80
* add batteryStatus info and allow access to it through the interface.
Change-Id: Ieb748b1478d532f52ffff9edc783de3cbcf9f303
* rename hardwareAbstractionInterface
Change-Id: I39a9bcd7fc4d92b271a40a869faae7870d6d88a1
* rename HardwareAbstractionInterface files
Change-Id: Ifb6a96c38da61cb80aabc6c929e392a2fc91cf29
* fixed a typo
* Re work directory structure to support new architecture
Still need to get the Sim building
* lvgl simulator working.
* put init code into HardwareSimulator Class
* ensure all targets build
remove unused assets.c
add new github actions that reflect new simulator
* clean up build defines by using platform.ini to override default lv_config.
remove unneeded include directory.
Change-Id: Id63baa80dae89977d239a539b5db9ff67266e1d6
* Fix ESP32 Windows build after battling escape characters.
Add esp32 Windows target to Actions.
* Fixed screen height
- corrected the SCREEN_HEIGHT
- small graphical changes in OmoteUI to make it look like in the main branch
---------
Co-authored-by: Max <Max-MKA@web.de>
Co-authored-by: Matthew Colvin <Matthew.Colvin@garmin.com>
Co-authored-by: Matthew Colvin <35540398+Mc067415@users.noreply.github.com>