#include "connection_dialog.h"
ConnectionDialog::ConnectionDialog()
: wxDialog(nullptr, wxID_ANY, "Connect to Archipelago") {
server_box_ = new wxTextCtrl(this, -1, "", wxDefaultPosition, {300, -1});
player_box_ = new wxTextCtrl(this, -1, "", wxDefaultPosition, {300, -1});
password_box_ = new wxTextCtrl(this, -1, "", wxDefaultPosition, {300, -1});
wxFlexGridSizer* form_sizer = new wxFlexGridSizer(2, 10, 10);
form_sizer->Add(
new wxStaticText(this, -1, "Server:"),
wxSizerFlags().Align(wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT));
form_sizer->Add(server_box_, wxSizerFlags().Expand());
form_sizer->Add(
new wxStaticText(this, -1, "Player:"),
wxSizerFlags().Align(wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT));
form_sizer->Add(player_box_, wxSizerFlags().Expand());
form_sizer->Add(
new wxStaticText(this, -1, "Password:"),
wxSizerFlags().Align(wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT));
form_sizer->Add(password_box_, wxSizerFlags().Expand());
wxBoxSizer* top_sizer = new wxBoxSizer(wxVERTICAL);
top_sizer->Add(new wxStaticText(
this, -1, "Enter the details to connect to Archipelago."),
wxSizerFlags().Align(wxALIGN_LEFT).DoubleBorder());
top_sizer->Add(form_sizer, wxSizerFlags().DoubleBorder().Expand());
top_sizer->Add(CreateButtonSizer(wxOK | wxCANCEL), wxSizerFlags().Center());
SetSizerAndFit(top_sizer);
Center();
server_box_->SetFocus();
}
/lingo2-archipelago/about/'>about summary refs log tree commit diff stats
|
blob: 2aeb43c244634108702ce167a73c5911751d236f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
display_name: "The Stellar"
type: GIFT_MAP
rte_room: "Starting Room"
rte_trigger_pos { x: 0 y: 0 z: -3 }
rte_trigger_scale { x: 6 y: 1 z: 6 }
# This panel does not appear to be accessible without sniping.
excluded_nodes: "Panels/Room_1/panel_2"
# The map's mastery is created at runtime.
custom_nodes: "Components/Collectables/collectable"
|