summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Twos.cpp
AgeCommit message (Collapse)Author
2022-04-18Replace lv_label_set_text where possibleRiku Isokoski
2022-03-13Twos: fix warning about extra paranthesisReinhold Gschweicher
We have a comparison like `if (( a == b ))`, which is a parenthesis too much, which generates the following warning ``` InfiniTime/src/displayapp/screens/Twos.cpp:133:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((grid[newRow][newCol].value == grid[oldRow][oldCol].value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ InfiniTime/src/displayapp/screens/Twos.cpp:133:35: note: remove extraneous parentheses around the comparison to silence this warning if ((grid[newRow][newCol].value == grid[oldRow][oldCol].value)) { ~ ^ ~ ```
2021-12-09Improved format specifiers, bracing, removed C-style casts, whitespace fixes ↵Avamander
and removed Tiles shadowing
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-10-29Memory savings by replacing stringsRiku Isokoski
2021-07-19Refresh reworkRiku Isokoski
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-15fix style formatting in 2048 gamepetter
2021-04-08restore battery bufferJoaquim
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...
2021-01-28LVGL v7.10.0Joaquim
2021-01-02adds 2048 clone gameJed
styles table reads touch events allows moving tiles allows merging tiles improves tile movement allows merging tiles adds score display implements color edit comments adjust game logic disallows double merges