Skip to content

Commit

Permalink
apply clang-format to Dice.h
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufmte committed Sep 13, 2022
1 parent 7c011d6 commit b073b48
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/displayapp/screens/Dice.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@

namespace Pinetime::Applications::Screens {
class Dice : public Screen {
public:
Dice(DisplayApp* app, Controllers::DateTime& dateTime);
~Dice() override;
void Roll();
void NextColor();
public:
Dice(DisplayApp* app, Controllers::DateTime& dateTime);
~Dice() override;
void Roll();
void NextColor();

private:
Controllers::DateTime& dateTime;
private:
Controllers::DateTime& dateTime;

lv_obj_t* btnRoll;
lv_obj_t* btnRollLabel;
lv_obj_t* resultLabel;
lv_obj_t* btnRoll;
lv_obj_t* btnRollLabel;
lv_obj_t* resultLabel;

lv_color_t resultColors[3] = {LV_COLOR_YELLOW, LV_COLOR_MAGENTA, LV_COLOR_AQUA};
uint8_t resultColorsLength = sizeof(resultColors) / sizeof(resultColors[0]);
uint8_t currentColorIndex;
lv_color_t resultColors[3] = {LV_COLOR_YELLOW, LV_COLOR_MAGENTA, LV_COLOR_AQUA};
uint8_t resultColorsLength = sizeof(resultColors) / sizeof(resultColors[0]);
uint8_t currentColorIndex;

uint8_t rollResult;
uint8_t rollResult;

Widgets::Counter sidesCounter = Widgets::Counter(2, 99, jetbrains_mono_42);
Widgets::Counter sidesCounter = Widgets::Counter(2, 99, jetbrains_mono_42);
};
}

0 comments on commit b073b48

Please sign in to comment.