mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
DolphinWX: Break the netplay UI controls into separate classes.
This commit is contained in:
27
Source/Core/DolphinWX/NetPlay/PadMapDialog.h
Normal file
27
Source/Core/DolphinWX/NetPlay/PadMapDialog.h
Normal file
@ -0,0 +1,27 @@
|
||||
// Copyright 2015 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <wx/dialog.h>
|
||||
|
||||
#include "Core/NetPlayProto.h"
|
||||
|
||||
class Player;
|
||||
class wxChoice;
|
||||
|
||||
class PadMapDialog final : public wxDialog
|
||||
{
|
||||
public:
|
||||
PadMapDialog(wxWindow* parent, PadMapping map[], PadMapping wiimotemap[], std::vector<const Player*>& player_list);
|
||||
|
||||
private:
|
||||
void OnAdjust(wxCommandEvent& event);
|
||||
|
||||
wxChoice* m_map_cbox[8];
|
||||
PadMapping* const m_mapping;
|
||||
PadMapping* const m_wiimapping;
|
||||
std::vector<const Player*>& m_player_list;
|
||||
};
|
Reference in New Issue
Block a user