mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
Make controller button names translatable and deduplicate code
This commit is contained in:
parent
4c6f22ba39
commit
13aa0a4fd0
13 changed files with 162 additions and 217 deletions
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <wx/gbsizer.h>
|
||||
#include "input/emulated/ProController.h"
|
||||
#include "gui/input/panels/InputPanel.h"
|
||||
#include "gui/components/wxInputDraw.h"
|
||||
|
||||
|
@ -12,4 +14,6 @@ public:
|
|||
|
||||
private:
|
||||
wxInputDraw* m_left_draw, * m_right_draw;
|
||||
|
||||
void add_button_row(wxGridBagSizer *sizer, sint32 row, sint32 column, const ProController::ButtonId &button_id);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue