Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarTitleScreen.hpp
diff options
context:
space:
mode:
authorDegranon <boba09@list.ru>2025-02-03 02:24:00 +0100
committerDegranon <boba09@list.ru>2025-02-03 02:24:00 +0100
commit182937d1506cb7536056a633fed328d209850b7d (patch)
treebf8e14607cd0b4957b5e293cf071b9d7cc5f42a1 /source/frontend/StarTitleScreen.hpp
parent11caad6a6e07581c94a28e6711d4672501068d38 (diff)
Create the server selection list pane
Diffstat (limited to 'source/frontend/StarTitleScreen.hpp')
-rw-r--r--source/frontend/StarTitleScreen.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/frontend/StarTitleScreen.hpp b/source/frontend/StarTitleScreen.hpp
index 9aaac96..3199247 100644
--- a/source/frontend/StarTitleScreen.hpp
+++ b/source/frontend/StarTitleScreen.hpp
@@ -5,6 +5,7 @@
#include "StarRegisteredPaneManager.hpp"
#include "StarInterfaceCursor.hpp"
#include "StarUniverseClient.hpp"
+#include "StarListWidget.hpp"
namespace Star {
@@ -89,6 +90,8 @@ private:
void switchState(TitleState titleState);
void back();
+ void populateServerList(ListWidgetPtr list);
+
float interfaceScale() const;
unsigned windowHeight() const;
unsigned windowWidth() const;
@@ -97,7 +100,10 @@ private:
RendererPtr m_renderer;
EnvironmentPainterPtr m_environmentPainter;
+
PanePtr m_multiPlayerMenu;
+ PanePtr m_serverSelectPane;
+ Json m_serverList;
RegisteredPaneManager<String> m_paneManager;