summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-07-09Code optimizations in SettingSetDate and SettingSetTimeTim Taenny2-13/+7
Instead of calling lv_obj_align after each button click, the labels have their auto_realign property set.
2021-07-09Code optimizations in SettingSetTimeTim Taenny1-9/+17
The positions of the labels are controlled by #define's, just like in SettingSetDate.
2021-07-09Modified Settings menu as per suggestionTim Taenny1-4/+4
Moved "Set date" and "Set time" to the second page of the Settings menu.
2021-07-09Code optimizations in SettingSetDateTim Taenny1-41/+2
Using static method of DateTimeController for retrieving month texts instead of implementing it in SettingSetDate again.
2021-07-09Exposed Month and DayOfWeek texts in DateTimeControllerTim Taenny2-9/+45
Added static methods to return the text of a given month or dayOfWeek.
2021-07-09Code optimizations in SettingSetTimeTim Taenny1-24/+10
2021-07-09Code optimizations in SettingSetDateTim Taenny1-28/+12
2021-07-09Added new menu entries to Settings pagetimaios2-3/+17
2021-07-09Added new screens to DisplayApp.cpptimaios1-0/+10
2021-07-09Added new screens to the list of applicationstimaios1-1/+3
2021-07-09Include new screens in CMakeLists.txttimaios1-0/+2
2021-07-09Added new screen: SettingSetDatetimaios2-0/+317
2021-07-09Added new screen: SettingSetTimetimaios2-0/+212
2021-07-04Improve stopwatch (#432)Riku Isokoski3-120/+95
* Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
2021-07-04Whitespace and brace fixes (#456)Avamander2-17/+15
* Brace style and whitespace fixes * Additional whitespace fixes
2021-07-04clang-formatRiku Isokoski1-6/+7
2021-07-04Condense firmware validation codeRiku Isokoski2-28/+10
2021-07-03Improve paddle gameRiku Isokoski2-126/+50
2021-07-02Inititialize members in class declarationJonathan Vander Mey2-22/+12
Also added initializers for previously unintialized members.
2021-07-02Move local-only function into anonymous namespaceJonathan Vander Mey1-4/+3
2021-07-02Make MusicService UUID objects static constexprJonathan Vander Mey2-22/+31
2021-07-02Eliminate reinterpret_castingJonathan Vander Mey1-26/+26
2021-07-02and metronome icon (#439)Bryton Hall4-7/+19
* add drum icon for metronome app
2021-07-02Float voltage to int (#444)Riku Isokoski5-34/+17
* Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion
2021-07-02Fix call notification button alignmentRiku Isokoski1-20/+12
2021-07-02static_cast cleanupAvamander2-3/+3
2021-07-02Fixed a bunch of format specifiersAvamander4-11/+11
2021-06-29Add PineTimeStyle watchface (#334)kieranc10-0/+1734
* PineTimeStyle * Move GPL license header * Add step count gauge - replaces heartrate in sidebar * Enable 12/24h functionality * Set step gauge outer to be white when step goal is reached * Add font source file * Move static needle_colors array to member variable * Add documentation on generating a font * Replace .ttf with Google version, add link to font page Co-authored-by: JF002 <JF002@users.noreply.github.com>
2021-06-26SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix6-19/+50
* Retrieve and display bootloader version - Display bootloader version on System Info screen - Enable SPI flash sleep mode if bootloader version >= 1.0.0 * Wait for SPI flash to wakeup before starting OTA DFU
2021-06-22update main font to keep diffs for future changes small (#420)Florian3-188/+204
* update font with jetbrains mono v2.225 and the current converter * added the tff file for JetBrains Mono to ensure everybody is using the same version Co-authored-by: Florian <florian@florian-thinkpad.local>
2021-06-22Fix typo in variable names (#430)Jonathan Vander Mey2-7/+7
2021-06-22Removed an illogical comparison from SystemInfo and St7789 driver (#449)Avamander2-4/+2
* Removed an illogical comparison
2021-06-19Add support for BMA425 acceleration sensor. (#440)JF00210-29/+603
* Add support for BMA425 acceleration sensor.
2021-06-12Fix signed/unsigned comparison warningJonathan Vander Mey1-1/+1
Changed type of encodedBufferIndex to size_t to eliminate warning. It is fine as a size_t as its only ever compared to another size_t and used as an array index.
2021-06-12Remove infinitime-nb.c from source listJonathan Vander Mey1-2/+0
Was causing compiler warning for unused constant variable when being compiled. This feel is directly included where it's needed so it doesn't need to be separately compiled anyways.
2021-06-12Add Init() in DummyuLittleVgl to fix recovery firmwareJean-François Milants1-0/+4
2021-06-12Fix build issues since Metronome app has been merged.Jean-François Milants2-4/+4
2021-06-12add basic metronome app (#409)Bryton Hall7-3/+226
* add basic metronome app * add bpb, tap to bpm, update widgets * use event pressed for bpm tap * move case statement break to the right place * narrow bpm selection range, override touch events * fix arc knob style * re-enable sleeping in destructor
2021-06-12Merge pull request #405 from Riksu9000/improve_stopwatchJF0021-18/+23
Improve stopwatch
2021-06-12Clock : initialize the actual clockface in initialization list instead of in ↵Jean-François Milants1-19/+12
the core of the ctro().
2021-06-12Merge pull request #425 from Raupinger/remove-watch-tapJF0022-20/+23
Remove tap to switch Watchfaces
2021-06-12Merge pull request #359 from Avamander/patch-2JF0022-157/+95
Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback
2021-06-12Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360)Avamander3-3/+4
2021-06-12Fix scrollbar (#382)Riku Isokoski1-1/+1
2021-06-12Fix fallthrough on case statement (#403)Jonathan Vander Mey1-0/+1
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants11-11/+29
initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.
2021-06-11replace ScreenList with a single screen in Clock. This removes the tap to ↵Florian2-20/+23
switch feature
2021-06-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants6-24/+44
code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
2021-06-10Fix stack corruption when exiting an app (the app was destroyed while it was ↵Jean-François Milants2-1/+10
executing the button handler).
2021-06-06Fix build for recovery firmware.Jean-François Milants3-4/+6