floating windows support
This commit is contained in:
parent
a4d69a15b3
commit
a4b026df2b
12 changed files with 123 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue