2024-02-25 14:46:47 +00:00
|
|
|
#pragma once
|
2023-06-20 04:33:09 +00:00
|
|
|
|
|
|
|
#include "StarSongbook.hpp"
|
|
|
|
#include "StarPane.hpp"
|
|
|
|
|
|
|
|
namespace Star {
|
|
|
|
|
|
|
|
STAR_CLASS(Player);
|
|
|
|
|
|
|
|
STAR_CLASS(SongbookInterface);
|
|
|
|
|
|
|
|
class SongbookInterface : public Pane {
|
|
|
|
public:
|
|
|
|
SongbookInterface(PlayerPtr player);
|
|
|
|
|
2024-03-08 16:39:39 +00:00
|
|
|
void update(float dt) override;
|
|
|
|
|
2023-06-20 04:33:09 +00:00
|
|
|
private:
|
|
|
|
PlayerPtr m_player;
|
2024-03-08 16:39:39 +00:00
|
|
|
StringList m_files;
|
|
|
|
String m_searchValue;
|
2023-06-20 04:33:09 +00:00
|
|
|
bool play();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|