YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
PlayerSW.hpp
1#pragma once
2
3#include "ElementSelector.hpp"
4#include "FileManager.hpp"
5#include "SubWindow.hpp"
6
11class PlayerSW : public SubWindow
12{
13public:
14 PlayerSW(const Recti& bounds, Context context,
15 SWHolderType inHolderType = SWHolderType::None);
16
17 virtual void HandleUserEvent(Event event, bool rawInputMode) override;
18 virtual void HandleSWEvents(std::vector<SWEvent>& swEvents) override;
19 virtual void Update() override;
20 virtual void Draw() const override;
21 virtual void HandleResizeEvent(const Recti& newRect) override;
22
23private:
24 virtual void InitializeHotKeysActions() override;
25 void DrawElemSelectorInfo() const;
26
27private:
28 // Step 1: try
29 // bool mStandartSelector;
30 // Mode mMode;
31 FileSelector mFileSelector;
32};
Definition Context.hpp:14
Definition Primitives.hpp:88