2015-04-11 05:24:45 +00:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2015-04-11 05:24:45 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
#include "Core/NetPlayProto.h"
|
|
|
|
|
2015-08-16 04:58:15 +00:00
|
|
|
class NetPlayClient;
|
|
|
|
class NetPlayServer;
|
2015-04-11 05:24:45 +00:00
|
|
|
class Player;
|
|
|
|
class wxChoice;
|
|
|
|
|
|
|
|
class PadMapDialog final : public wxDialog
|
|
|
|
{
|
|
|
|
public:
|
2015-08-16 04:58:15 +00:00
|
|
|
PadMapDialog(wxWindow* parent, NetPlayServer* server, NetPlayClient* client);
|
|
|
|
|
|
|
|
PadMappingArray GetModifiedPadMappings() const;
|
|
|
|
PadMappingArray GetModifiedWiimoteMappings() const;
|
2015-04-11 05:24:45 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void OnAdjust(wxCommandEvent& event);
|
|
|
|
|
|
|
|
wxChoice* m_map_cbox[8];
|
2015-08-16 04:58:15 +00:00
|
|
|
PadMappingArray m_pad_mapping;
|
|
|
|
PadMappingArray m_wii_mapping;
|
|
|
|
std::vector<const Player*> m_player_list;
|
2015-04-11 05:24:45 +00:00
|
|
|
};
|