[UI] Capture mouse.

This commit is contained in:
Joel Linn
2020-04-20 02:16:14 +02:00
committed by Rick Gibbed
parent d1315438f3
commit 6a1c134cf3
5 changed files with 57 additions and 10 deletions

View File

@@ -42,6 +42,10 @@ class GTKWindow : public Window {
bool SetIcon(const void* buffer, size_t size) override;
// This seems to happen implicitly compared to Windows.
bool CaptureMouse() override { return true; };
bool ReleaseMouse() override { return true; };
bool is_fullscreen() const override;
void ToggleFullscreen(bool fullscreen) override;