summaryrefslogtreecommitdiff
path: root/src/DisplayApp/DisplayApp.h
AgeCommit message (Collapse)AuthorFilesLines
2020-07-11Merge branch 'develop' of https://github.com/JF002/Pinetime into musicAdam Pigg1-1/+0
2020-07-11Add start of music applictionAdam Pigg1-1/+1
2020-07-04Replace bitmap icons by font icons (provided by AwesomeFont and LVGL). These ↵JF1-1/+0
icons are smaller in memory and quicker to draw. BLE and battery icon replaced in Clock screen. Added heartbeat and step icons in Clock screen. Replace all labels in Menu by icons. Add doc to generate new font.
2020-05-02Add new screen that is displayed during the OTA transfert.JF1-1/+1
2020-03-28Encapsulate Notification management in NotificationManager. It implement a ↵JF1-9/+7
static array of notifications to avoid dynamic allocation.
2020-03-25Add support for BLE notification (ANS client).JF1-1/+6
Work In Progress!!!
2020-03-22Add new App : Sysinfo. It displays various info about the running system : ↵JF1-2/+8
version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
2020-03-15Add the possibility to the screen to handle a touch gesture.JF1-2/+2
A default action is taken if the current screen doesn't handle it.
2020-03-15Encapsulate brightness controll into the class BrightnessController.JF1-4/+3
Add a new app to configure the brightness.
2020-03-09Add support for gestures and integrate it with the vertical scrolling ↵JF1-1/+4
transition.
2020-03-08Do not copy LittleVgl object in DislayApp, use reference instead.JF1-1/+1
Make Cst816s, SpiMaster and St7789 not copiable and not movable
2020-02-26Add new Screens (gauge, meter,...)JF1-1/+1
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF1-1/+0
2020-02-23Do not compile GFX and older fonts anymore.JF1-7/+12
Refactor SystemTask in its own class. Refactor Screen to be able to close current screen and open a new one. Re-enable sleep/wake up and propagate button event to Screens.
2020-02-16Add touch panel port to lvgl.JF1-4/+4
PoC of user interaction with 3 screen (clock, menu and app).
2020-02-10Integration of lvgl : continued...JF1-0/+3
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF1-0/+1
2020-01-26Remove test codeJF1-2/+0
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF1-10/+7
be improved by using 'Started' IRQ to prepare the next buffer while the current one is beeing sent.
2020-01-19Implement the SPI driver using DMA.JF1-2/+2
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF1-0/+8
2020-01-18Encapsulate the drawing of the screen into Screens classes.JF1-16/+8
2020-01-18DateTimeController is now updated in the system task.JF1-4/+4
It runs every 1s in Running mode, and every 1h in sleep mode. This should allow to keep the watch on time for more than 4 hours.
2020-01-12Improve date/time accuracy and handle counter overflow.JF1-0/+2
2020-01-11Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF1-4/+3
and time. The date is now properly processed (31 December 2019 23:59:59 + 1s => 1 January 2020 00:00:00)
2020-01-03Add basic touch panel driver.JF1-3/+5
Handle touch event in display app : draw a big square at the touch point coordinates.
2019-12-28Add DateTimeController to manage the time.JF1-10/+16
Use messages in message queues to refresh the UI
2019-12-27Add BleController to manage the BLE connection statusJF1-1/+4
2019-12-27Implement battery measurement in BatteryController.JF1-1/+5
Update battery info on wake up (with button)
2019-12-27Add small font, display date, Ble connection and battery power in display ↵JF1-0/+2
app (hard-coded values for now).
2019-12-26Use push button to go to sleep/wake up.JF1-2/+15
Use a queue to transmit messages between system and display task (sleep & wake up for now).
2019-12-21Track the time using RTCJF1-0/+3
2019-12-21Add BLE and CTS client. Time can be retrieved from a CTS server (like ↵JF1-0/+5
NRFConnect) once it's bond. WIP, the code is really ugly
2019-12-07The font is now fixed width.JF1-0/+6
HUGE performance improvement of the display driver.
2019-12-07Convert Spi and GFX to C++.JF1-3/+12
2019-12-06Add missing return statements which fix crashes in release mode.JF1-1/+1
Add flag to compiler so that it generates an error when a returning function does not return something...
2019-12-05Add DisplayApp, and lcdfont. Update the display every secondJF1-0/+20