floating windows support

This commit is contained in:
vaxerski
2022-03-20 11:14:24 +01:00
parent a4d69a15b3
commit a4b026df2b
12 changed files with 123 additions and 12 deletions

View File

@@ -3,6 +3,7 @@
#include "../defines.hpp"
#include <list>
#include "../helpers/WLClasses.hpp"
#include "../Window.hpp"
class CInputManager {
public:
@@ -20,6 +21,11 @@ public:
Vector2D getMouseCoordsInternal();
// for dragging floating windows
CWindow* currentlyDraggedWindow = nullptr;
int dragButton = -1;
private:
std::list<SKeyboard> m_lKeyboards;