aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Music.h
Commit message (Collapse)AuthorAgeFilesLines
* Update track progress in MusicService. Fix #127Riku Isokoski2022-04-251-4/+2
|
* Music: fix warning about overridden functionReinhold Gschweicher2022-03-131-1/+1
| | | | | | | | | | | | Clang warns on `OnTouchEvent()` function, which is overridden, but is missing the `override` keyword ``` In file included from InfiniTime/src/displayapp/screens/Music.cpp:18: InfiniTime/src/displayapp/screens/Music.h:43:14: warning: 'OnTouchEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool OnTouchEvent(TouchEvents event); ^ ```
* Music: initialize totalLength to have non-random data from the startReinhold Gschweicher2022-01-231-1/+1
| | | | | | | | | | In the first `Music::Refresh` call the lastLength and totalLength are not initialized. The `lastLength` value is read first from the musicService. Naturally in the first itereation that is changed and `UpdateLength()` is called. There the variable `totalLength` is used as well, but that variable isn't initialed to a sensible value yet. This leads to sometimes the `Music.h` screen segfaulting (depending on the random uninitialized data in the `lastLength` variable)
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-1/+1
| | | | | | | 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.
* Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-151-1/+2
|\
| * Ui updateRiku Isokoski2021-08-151-1/+2
| |
* | Refresh reworkRiku Isokoski2021-07-191-1/+3
|/
* Changed access modified indentationAvamander2021-04-241-2/+2
|
* Reformatted all the files according to clang-format styleAvamander2021-04-241-32/+29
|
* Merge pull request #259 from JF002/fix-music-app2JF0022021-04-091-1/+1
|\ | | | | Fix music app
| * Fix music app :Jean-François Milants2021-04-041-1/+1
| | | | | | | | | | - Enable LVGL animation (and disable groups, which were not used), and set the speed. - Fix disc animation and progress display by initializing lastIncrement at 0 (a random value will be used otherwise, in release build)
* | Big UI and navigation RewriteJoaquim2021-04-041-2/+2
|/ | | | | | | | | | | new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
* Include cleanup: displayapp + screensokaestne2020-11-161-14/+6
|
* Refactored and improved the Music watchappAvamander2020-10-151-27/+73
|
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-5/+6
|
* Renamed displayapp/Screens to displayapp/screensAvamander2020-10-021-0/+49