YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
include
PlayerSW.hpp
1
#pragma once
2
3
#include "ElementSelector.hpp"
4
#include "FileManager.hpp"
5
#include "SubWindow.hpp"
6
11
class
PlayerSW :
public
SubWindow
12
{
13
public
:
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
23
private
:
24
virtual
void
InitializeHotKeysActions()
override
;
25
void
DrawElemSelectorInfo()
const
;
26
27
private
:
28
// Step 1: try
29
// bool mStandartSelector;
30
// Mode mMode;
31
FileSelector mFileSelector;
32
};
Context
Definition
Context.hpp:14
Event
Definition
Primitives.hpp:88
Generated by
1.14.0