Skip to content

Commit

Permalink
move NextColor() into private namespace of Dice
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufmte committed Sep 13, 2022
1 parent 21e5ec1 commit b1e522f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/displayapp/screens/Dice.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace Pinetime::Applications::Screens {
Dice(DisplayApp* app, Controllers::DateTime& dateTime);
~Dice() override;
void Roll();
void NextColor();

private:
lv_obj_t* btnRoll;
Expand All @@ -21,6 +20,7 @@ namespace Pinetime::Applications::Screens {

std::array<lv_color_t, 3> resultColors = {LV_COLOR_YELLOW, LV_COLOR_MAGENTA, LV_COLOR_AQUA};
uint8_t currentColorIndex;
void NextColor();

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

0 comments on commit b1e522f

Please sign in to comment.