DolphinWX: Break the netplay UI controls into separate classes.

This commit is contained in:
Lioncash
2015-04-11 01:24:45 -04:00
parent 1a18cad178
commit bd28d260ce
14 changed files with 1284 additions and 1167 deletions

View 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;
};