input: hold focus on mouse buttons
This commit is contained in:
parent
c2b25f4701
commit
0fc145c52c
3 changed files with 57 additions and 0 deletions
|
|
@ -202,6 +202,10 @@ class CInputManager {
|
|||
SLayerSurface* m_pFoundLSToFocus = nullptr;
|
||||
CWindow* m_pFoundWindowToFocus = nullptr;
|
||||
|
||||
// for holding focus on buttons held
|
||||
bool m_bFocusHeldByButtons = false;
|
||||
bool m_bRefocusHeldByButtons = false;
|
||||
|
||||
// for releasing mouse buttons
|
||||
std::list<uint32_t> m_lCurrentlyHeldButtons;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue