EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
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
12namespace echomap
13{
14
15class MenuPanel final : public IProjectPanel
16{
17public:
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
24private:
25 std::string panel_name = "Menu";
26};
27
28} // namespace echomap
29
30#endif // ECHOMAP_MENUPANEL_HPP
IProjectPanel specification.
An IPanel which can receive updates to the application-wide active Project.
const char * get_imgui_name() const noexcept override
Retrieves the name of the IPanel for Dear ImGui API functions.
Definition MenuPanel.cpp:62
void draw() noexcept override
Draw the panel to the active rendering context.
Definition MenuPanel.cpp:14
void change_active_project(const Project *new_project) override
Updates the active Project being described by the IPanel.
Definition MenuPanel.cpp:67
The main EchoMap outermost namespace for all non-exported symbols.