aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Metronome.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor doNotGoToSleep to a wakelock countermark90642024-09-211-4/+3
|
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-1/+1
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-251-1/+1
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* Implement a return app stackRiku Isokoski2023-01-051-2/+1
| | | | | | Each opened app (screen) is pushed on a stack, which is then popped from when returning instead of hard coded "previous apps". Return swipe and refresh directions are automatically determined from the app transition.
* Disable value_strRiku Isokoski2022-09-171-3/+4
| | | | | | value_str is a way to add text on a button without a separate label. This saves having an extra label object, but uses more memory and is removed in LVGL8
* Centralize most color definitions (#1258)Riku Isokoski2022-08-161-1/+2
|
* Fix dropdown graphical issues.Riku Isokoski2022-05-081-2/+0
| | | | | | The scrollbar would go out of bounds if DROPDOWN_PART_LIST had uneven padding. Also enable clip_corner feature to stop the selected item from overflowing.
* Tweak gamma on ST7789 and match UI colorsRiku Isokoski2022-04-251-1/+1
| | | | | This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
* Add missing breakRiku Isokoski2021-12-301-0/+1
|
* Improve gesture consistency across the firmwareRiku Isokoski2021-12-301-0/+14
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-2/+2
| | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
* Fix unsigned/signed comparison warning in Metronome.cppReinhold Gschweicher2021-09-161-1/+1
| | | | | | | | | | | | | | `xTaskGetTickCount()` returns a `TickType_t`, which is defined as an `uint32_t`. This is compared to the `bpm` variable, which is a `int16_t` in the range of 40 to 220 as defined in the constructor. ```cpp lv_arc_set_range(bpmArc, 40, 220); ``` Just assume that `bpm` is greater than 0, as this would result in a divison by zero or negative values, which would unintentionally underflow to a very large number.
* Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-281-3/+0
|\
| * Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-08-181-75/+44
| |\
| * | Fix most issuesRiku Isokoski2021-07-161-1/+1
| | |
| * | New touch handler, with issuesRiku Isokoski2021-07-151-3/+0
| | |
* | | Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-151-2/+2
|\ \ \ | | |/ | |/|
| * | Merge branch 'call-improvements' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-08-141-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | into Riksu9000-call-improvements # Conflicts: # src/displayapp/screens/Metronome.cpp
| | * | ImprovementsRiku Isokoski2021-08-011-2/+2
| | |/
* | | Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-141-75/+44
|\| |
| * | Improve metronomeRiku Isokoski2021-08-141-75/+44
| |/
* / Refresh reworkRiku Isokoski2021-07-191-2/+4
|/
* Fix build issues since Metronome app has been merged.Jean-François Milants2021-06-121-3/+3
|
* add basic metronome app (#409)Bryton Hall2021-06-121-0/+169
* 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