mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
Add all the files
This commit is contained in:
parent
e3db07a16a
commit
d60742f52b
1445 changed files with 430238 additions and 0 deletions
34
src/gui/PadViewFrame.h
Normal file
34
src/gui/PadViewFrame.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
#pragma once
|
||||
|
||||
#define WM_CREATE_PAD (WM_USER+1)
|
||||
#define WM_DESTROY_PAD (WM_USER+2)
|
||||
|
||||
wxDECLARE_EVENT(EVT_PAD_CLOSE, wxCommandEvent);
|
||||
wxDECLARE_EVENT(EVT_SET_WINDOW_TITLE, wxCommandEvent);
|
||||
|
||||
class PadViewFrame : public wxFrame
|
||||
{
|
||||
public:
|
||||
PadViewFrame(wxFrame* parent);
|
||||
~PadViewFrame();
|
||||
|
||||
bool Initialize();
|
||||
void InitializeRenderCanvas();
|
||||
|
||||
void OnKeyUp(wxKeyEvent& event);
|
||||
void OnChar(wxKeyEvent& event);
|
||||
|
||||
void AsyncSetTitle(std::string_view windowTitle);
|
||||
|
||||
private:
|
||||
|
||||
void OnMouseMove(wxMouseEvent& event);
|
||||
void OnMouseLeft(wxMouseEvent& event);
|
||||
void OnMouseRight(wxMouseEvent& event);
|
||||
void OnSizeEvent(wxSizeEvent& event);
|
||||
void OnMoveEvent(wxMoveEvent& event);
|
||||
void OnGesturePan(wxPanGestureEvent& event);
|
||||
void OnSetWindowTitle(wxCommandEvent& event);
|
||||
|
||||
wxWindow* m_render_canvas = nullptr;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue