YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
MainWindow.hpp
1#pragma once
2
3#include "Context.hpp"
4#include "HotKeyComponent.hpp"
5#include "Primitives.hpp"
6#include "SWManager.hpp"
7
8#include <memory>
9#include <stdexcept>
10#include <vector>
11
18class MainWindow
19{
20public:
21 MainWindow();
22
23 void EventLoopIterationStart();
24 void HandleUserEvent(Event event);
25 void PreUpdate();
26 void Update();
27 void Draw() const;
28
29 Vector2i GetWindowSize() const;
30
31private:
32 void RegisterSubWindows();
33 void HandleResizeEvent();
34 void InitializeHotKeyActions();
35
36private:
37 Recti mRect;
38 SWManager mSWManager;
39 HotKeyComponent mHotKeyComponent;
40};
The HotKeyComponent class - class to handle pre defined bindings.
Definition HotKeyComponent.hpp:20
SubWindowManager is a SubWindow's and SWHolder's manager.
Definition SWManager.hpp:21
Definition Primitives.hpp:88