mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
Insert a more solid abstraction between Qt and Imgui
This commit is contained in:
parent
b2a31103b4
commit
9c1fe59cc9
9 changed files with 80 additions and 38 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "VideoCommon/OnScreenUIKeyMap.h"
|
||||
|
||||
class NativeVertexFormat;
|
||||
class AbstractTexture;
|
||||
|
@ -52,7 +53,7 @@ public:
|
|||
void Finalize();
|
||||
|
||||
// Receive keyboard and mouse from QT
|
||||
void SetKeyMap(std::span<const std::array<int, 2>> key_map);
|
||||
void SetKeyMap(const DolphinKeyMap& key_map);
|
||||
void SetKey(u32 key, bool is_down, const char* chars);
|
||||
void SetMousePos(float x, float y);
|
||||
void SetMousePress(u32 button_mask);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue