mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
f39c301579
Several refactors of GUI creation into separate functions where the function was too large or intermixed different concerns making it hard to modify.
35 lines
738 B
C++
35 lines
738 B
C++
// 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 NetPlayClient;
|
|
class NetPlayServer;
|
|
class Player;
|
|
class wxArrayString;
|
|
class wxChoice;
|
|
class wxSizer;
|
|
|
|
class PadMapDialog final : public wxDialog
|
|
{
|
|
public:
|
|
PadMapDialog(wxWindow* parent, NetPlayServer* server, NetPlayClient* client);
|
|
|
|
PadMappingArray GetModifiedPadMappings() const;
|
|
PadMappingArray GetModifiedWiimoteMappings() const;
|
|
|
|
private:
|
|
void OnAdjust(wxCommandEvent& event);
|
|
|
|
wxChoice* m_map_cbox[8];
|
|
PadMappingArray m_pad_mapping;
|
|
PadMappingArray m_wii_mapping;
|
|
std::vector<const Player*> m_player_list;
|
|
};
|