MetaImGUI
1.0.0
ImGui Application Template for C++20
Loading...
Searching...
No Matches
UIEvents.h
Go to the documentation of this file.
1
/*
2
MetaImGUI
3
Copyright (C) 2026 A P Nicholson
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <https://www.gnu.org/licenses/>.
17
*/
18
19
#pragma once
20
21
#include "
Signal.h
"
22
23
namespace
MetaImGUI
{
24
33
struct
UIEvents
{
34
Signal<>
exitRequested
;
35
Signal<>
toggleDemoWindow
;
36
Signal<>
showDemoWindow
;
// open-only — distinct from toggle so the "Show Demo" button doesn't close it
37
Signal<>
checkUpdatesRequested
;
38
Signal<>
showAboutRequested
;
39
Signal<>
showInputDialogRequested
;
40
Signal<>
toggleISSTracker
;
41
};
42
43
}
// namespace MetaImGUI
Signal.h
MetaImGUI::Signal
A single-threaded multicast event source.
Definition
Signal.h:100
MetaImGUI
Definition
Application.h:30
MetaImGUI::UIEvents
Decoupled UI-event bus shared between UIRenderer and Application.
Definition
UIEvents.h:33
MetaImGUI::UIEvents::toggleISSTracker
Signal toggleISSTracker
Definition
UIEvents.h:40
MetaImGUI::UIEvents::toggleDemoWindow
Signal toggleDemoWindow
Definition
UIEvents.h:35
MetaImGUI::UIEvents::checkUpdatesRequested
Signal checkUpdatesRequested
Definition
UIEvents.h:37
MetaImGUI::UIEvents::showDemoWindow
Signal showDemoWindow
Definition
UIEvents.h:36
MetaImGUI::UIEvents::exitRequested
Signal exitRequested
Definition
UIEvents.h:34
MetaImGUI::UIEvents::showAboutRequested
Signal showAboutRequested
Definition
UIEvents.h:38
MetaImGUI::UIEvents::showInputDialogRequested
Signal showInputDialogRequested
Definition
UIEvents.h:39
include
UIEvents.h
Generated by
1.9.8