fix pause button. I'm not sure why I removed that ...
This commit is contained in:
parent
624f038cc9
commit
3d530e4f73
@ -403,6 +403,7 @@ GameView::GameView():
|
||||
};
|
||||
pauseButton = new ui::Button(ui::Point(Size.X-16, Size.Y-16), ui::Point(15, 15), "", "Pause/Resume the simulation"); //Pause
|
||||
pauseButton->SetIcon(IconPause);
|
||||
pauseButton->SetTogglable(true);
|
||||
pauseButton->SetActionCallback(new PauseAction(this));
|
||||
AddComponent(pauseButton);
|
||||
|
||||
|
Reference in New Issue
Block a user