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

summaryrefslogtreecommitdiff
path: root/source/frontend/StarTitleScreen.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-02-03 12:43:55 +1100
committerGitHub <noreply@github.com>2025-02-03 12:43:55 +1100
commit27ffdb020534e3d815038c86d9ac6d1dddaf6598 (patch)
treea01988e005b5ee1c7d490aef5bbde92144b63460 /source/frontend/StarTitleScreen.hpp
parentb53b8ecca0e7690d8ddffbcad21d229851d5205d (diff)
parentfa6d3d10c49762a0073ac1e159057633692de670 (diff)
Merge pull request #174 from KrashV/main
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;