mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-24 18:48:01 +02:00
New code for awaitKeyReleases
This commit is contained in:
parent
ec83ae50fa
commit
ca2301bfd3
2 changed files with 48 additions and 12 deletions
|
@ -51,9 +51,10 @@ public:
|
|||
bool mHasFocus;
|
||||
bool mSoftHasFocus; // Mostly tracks mHasFocus except for when we get an explicit 'LostFocus' callback
|
||||
bool mAwaitKeyReleases;
|
||||
DWORD mAwaitKeyEventTick;
|
||||
int mAwaitKeyReleasesCheckIdx;
|
||||
DWORD mAwaitKeyReleasesEventTick;
|
||||
DWORD mFocusLostTick;
|
||||
bool mNeedsStateReset;
|
||||
bool mNeedsStateReset;
|
||||
bool mKeyLayoutHasAltGr;
|
||||
|
||||
public:
|
||||
|
@ -61,6 +62,7 @@ public:
|
|||
static LRESULT CALLBACK WindowProcStub(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
|
||||
void RehupMouseOver(bool isMouseOver);
|
||||
bool CheckKeyReleases(bool isKeyDown);
|
||||
void GotFocus();
|
||||
|
||||
public:
|
||||
WinBFWindow(BFWindow* parent, const StringImpl& title, int x, int y, int width, int height, int windowFlags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue