EchoMap
2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Toggle main menu visibility
Loading...
Searching...
No Matches
MenuPanel.hpp
1
//
2
// Created by owd on 25/06/2026.
3
//
4
5
#ifndef ECHOMAP_MENUPANEL_HPP
6
#define ECHOMAP_MENUPANEL_HPP
7
8
#include <
string
>
9
10
#include "
IProjectPanel.hpp
"
11
12
namespace
echomap
13
{
14
15
class
MenuPanel
final :
public
IProjectPanel
16
{
17
public
:
18
void
draw
()
noexcept
override
;
19
20
[[nodiscard]]
const
char
*
get_imgui_name
()
const
noexcept
override
;
21
22
void
change_active_project
(
const
Project
* new_project)
override
;
23
24
private
:
25
std::string
panel_name =
"Menu"
;
26
};
27
28
}
// namespace echomap
29
30
#endif
// ECHOMAP_MENUPANEL_HPP
IProjectPanel.hpp
IProjectPanel specification.
std::string
echomap::IProjectPanel
An IPanel which can receive updates to the application-wide active Project.
Definition
IProjectPanel.hpp:24
echomap::MenuPanel
Definition
MenuPanel.hpp:16
echomap::MenuPanel::get_imgui_name
const char * get_imgui_name() const noexcept override
Retrieves the name of the IPanel for Dear ImGui API functions.
Definition
MenuPanel.cpp:62
echomap::MenuPanel::draw
void draw() noexcept override
Draw the panel to the active rendering context.
Definition
MenuPanel.cpp:14
echomap::MenuPanel::change_active_project
void change_active_project(const Project *new_project) override
Updates the active Project being described by the IPanel.
Definition
MenuPanel.cpp:67
echomap::Project
Definition
Project.hpp:26
echomap
The main EchoMap outermost namespace for all non-exported symbols.
Definition
ActionController.hpp:20
string
src
panels
MenuPanel.hpp
Generated by
1.17.0