Conquer Space
0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
src
client
scenes
selection
countryselectionmenu.h
Go to the documentation of this file.
1
/* Conquer Space
2
* Copyright (C) 2021-2025 Conquer Space
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
#pragma once
18
19
#include <string>
20
21
#include "
client/systems/sysgui.h
"
22
23
namespace
cqsp::client::systems::rmlui
{
24
class
CountrySelectionMenu
:
public
SysRmlUiInterface
{
25
public
:
26
explicit
CountrySelectionMenu
(
engine::Application
& _app) :
SysRmlUiInterface
(_app) {}
27
~CountrySelectionMenu
();
28
void
Update
(
double
delta_time)
override
;
29
void
OpenDocument
()
override
;
30
void
ReloadWindow
()
override
;
31
void
DispatchEvent
(
const
Rml::String& event,
const
Rml::Dictionary& parameters)
override
;
32
33
private
:
34
std::string
file_name
=
"../data/core/gui/mainscene/countryselectionwindow.rml"
;
35
};
36
}
// namespace cqsp::client::systems::rmlui
cqsp::client::systems::SysRmlUiInterface
Definition:
sysgui.h:44
cqsp::client::systems::rmlui::CountrySelectionMenu
Definition:
countryselectionmenu.h:24
cqsp::client::systems::rmlui::CountrySelectionMenu::~CountrySelectionMenu
~CountrySelectionMenu()
Definition:
countryselectionmenu.cpp:20
cqsp::client::systems::rmlui::CountrySelectionMenu::DispatchEvent
void DispatchEvent(const Rml::String &event, const Rml::Dictionary ¶meters) override
Definition:
countryselectionmenu.cpp:31
cqsp::client::systems::rmlui::CountrySelectionMenu::file_name
std::string file_name
Definition:
countryselectionmenu.h:34
cqsp::client::systems::rmlui::CountrySelectionMenu::OpenDocument
void OpenDocument() override
Definition:
countryselectionmenu.cpp:22
cqsp::client::systems::rmlui::CountrySelectionMenu::CountrySelectionMenu
CountrySelectionMenu(engine::Application &_app)
Definition:
countryselectionmenu.h:26
cqsp::client::systems::rmlui::CountrySelectionMenu::ReloadWindow
void ReloadWindow() override
Definition:
countryselectionmenu.cpp:26
cqsp::client::systems::rmlui::CountrySelectionMenu::Update
void Update(double delta_time) override
Definition:
countryselectionmenu.cpp:21
cqsp::engine::Application
Definition:
application.h:61
cqsp::client::systems::rmlui
Definition:
countryselectionmenu.cpp:19
sysgui.h
Generated on Thu Jul 9 2026 07:40:54 for Conquer Space by
1.9.2