Skip to content

Commit

Permalink
Demos: Stop using Widget::foreground_color()
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Oct 8, 2020
1 parent e6709e3 commit 48647cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Demos/Cube/Cube.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ int main(int argc, char** argv)
auto& time = cube.add<GUI::Label>();
time.set_relative_rect({ 0, 4, 40, 10 });
time.move_by({ window->width() - time.width(), 0 });
time.set_foreground_color(Color::from_rgb(0x222222));
cube.set_stat_label(time);

window->show();
Expand Down
1 change: 0 additions & 1 deletion Demos/Fire/Fire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ int main(int argc, char** argv)
auto& time = fire.add<GUI::Label>();
time.set_relative_rect({ 0, 4, 40, 10 });
time.move_by({ window->width() - time.width(), 0 });
time.set_foreground_color(Color::from_rgb(0x444444));
fire.set_stat_label(time);

window->show();
Expand Down

0 comments on commit 48647cc

Please sign in to comment.