summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Music.h
AgeCommit message (Collapse)Author
2022-03-24sans music navigation metronome twosMichele Bini
2022-03-13Music: fix warning about overridden functionReinhold Gschweicher
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); ^ ```
2022-01-23Music: initialize totalLength to have non-random data from the startReinhold Gschweicher
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)
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
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.
2021-08-15Merge branch 'develop' into refresh_reworkRiku Isokoski
2021-08-15Ui updateRiku Isokoski
2021-07-19Refresh reworkRiku Isokoski
2021-04-24Changed access modified indentationAvamander
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-09Merge pull request #259 from JF002/fix-music-app2JF002
Fix music app
2021-04-04Fix music app :Jean-François Milants
- 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)
2021-04-04Big UI and navigation RewriteJoaquim
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...
2020-11-16Include cleanup: displayapp + screensokaestne
2020-10-15Refactored and improved the Music watchappAvamander
2020-10-02Fixed all the includes that were broken due to the renamesAvamander
2020-10-02Renamed displayapp/Screens to displayapp/screensAvamander