Add "Quit Game" button

This commit is contained in:
mschiller890
2026-03-12 21:42:20 +01:00
parent 0ea8b87970
commit 470509ee52
4 changed files with 47 additions and 9 deletions

View File

@@ -3,6 +3,7 @@
#include "../Screen.h"
#include "../components/Button.h"
#include "../components/ImageButton.h"
class StartMenuScreen: public Screen
{
@@ -25,6 +26,7 @@ private:
Button bHost;
Button bJoin;
Button bOptions;
ImageButton bQuit; // X button in top-right corner
std::string copyright;
int copyrightPosX;