Hymn to Beauty
C++ 3D Engine
SoundEditor.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace GUI {
8 public:
11
13 void Show();
14
16
20 void SetFile(const std::string& path, const std::string& filename);
21
23
26 bool IsVisible() const;
27
29
32 void SetVisible(bool visible);
33
34 private:
35 bool visible = false;
36 std::string path;
37 std::string filename;
38};
39} // namespace GUI
Used to edit a sound.
Definition: SoundEditor.hpp:7
bool IsVisible() const
Get whether the window is visible.
Definition: SoundEditor.cpp:23
void SetFile(const std::string &path, const std::string &filename)
Set sound file.
Definition: SoundEditor.cpp:18
SoundEditor()
Constructor.
Definition: SoundEditor.cpp:7
void Show()
Show the editor.
Definition: SoundEditor.cpp:11
void SetVisible(bool visible)
Set whether the window should be visible.
Definition: SoundEditor.cpp:27
Definition: AssetEditor.hpp:9