Extract Media::Player::Dropdown widget.

This commit is contained in:
John Preston
2021-11-18 21:02:12 +04:00
parent a2bf1544df
commit 8a1140c09f
9 changed files with 274 additions and 224 deletions

View File

@@ -55,7 +55,7 @@ class Widget;
namespace Media {
namespace Player {
class Widget;
class VolumeWidget;
class Dropdown;
class Panel;
struct TrackState;
} // namespace Player
@@ -367,7 +367,7 @@ private:
object_ptr<Window::TopBarWrapWidget<Media::Player::Widget>> _player
= { nullptr };
object_ptr<Media::Player::VolumeWidget> _playerVolume = { nullptr };
object_ptr<Media::Player::Dropdown> _playerVolume = { nullptr };
object_ptr<Media::Player::Panel> _playerPlaylist;
bool _playerUsingPanel = false;