#include "editor.h" #include "widgets/button.h" #include "widgets/group.h" #include "tools/bpmcalculator.h" #include Editor::Editor(sf::RenderWindow& game_window, Callbacks&& callbacks, std::unique_ptr&& music) : _buttons(std::make_shared()), _game_window(game_window), _music(std::move(music)), _bpm_calculator(std::make_unique(_music)) { (void)callbacks; const float window_width = game_window.getSize().x; const float window_height = game_window.getSize().y; _music->openFromFile("Uta-test.flac"); _music->setVolume(20); std::shared_ptr