{
    "host a game - back": SimpleButton (
        within: "multiplayer main menu - back",
        z: 5000,
        start_enabled: false,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0, px: 0),
                    dist: (frac: 1, px: 0),
                ),
                y_axis: (
                    from: (frac: 0, px: 0),
                    dist: (frac: 1, px: 0),
                )
            ),
            fill_color: (0,0,0,0x5F),
        ),
    ),
    "host a game - stacker": AutoStacker (
        within: "host a game - stacker panel",
        behavior: VerticalScroll,
    ),
    "host a game - stacker panel": SimpleButton (
        within: "host a game - panel",
        clip_contents: true,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 20),
                    dist: (frac: 1.0, px: -40),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 60),
                    dist: (frac: 1.0, px: -120),
                )
            ),
        ),
    ),
    "host a game - panel": SimpleButton (
        within: "host a game - back",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.5, px: -500),
                    dist: (frac: 0.0, px: 1000),
                ),
                y_axis: (
                    from: (frac: 0.5, px: -350),
                    dist: (frac: 0.0, px: 700),
                )
            ),
            fill_color: (0,0,0,0x9F),
        ),
    ),
    "host a game - server name title": SimpleButton (
        within: "host a game - stacker",
        ordering: 9,
        text_align: left,
        text: "Server name to show in Server Browser:",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - server name typing": SimpleButton (
        within: "host a game - stacker",
        ordering: 10,
        typable: true,
        text: "Cool Server Name",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
            fill_color: (0xFF,0xFF,0xFF,0x7F),
        ),
    ),
    "host a game - server name typing selector": SimpleButton (
        within: "host a game - server name typing",
        start_enabled: false,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                )
            ),
            fill_color: (0,0,0,0x7F),
        ),
    ),
    "host a game - spacer 20": SimpleButton (
        within: "host a game - stacker",
        ordering: 20,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - password enable text": SimpleButton (
        within: "host a game - stacker",
        ordering: 27,
        text_align: left,
        text: "Require password:",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - password enable checkbox": SimpleButton (
        within: "host a game - password enable text",
        text: "✓",
        default: (
            area: (
                x_axis: (
                    from: (frac: 1.0, px: -36),
                    dist: (frac: 0.0, px: 32),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 4),
                    dist: (frac: 0.0, px: 32),
                )
            ),
            fill_color: (95,95,95,255),
            border_color: (159,159,159,255),
        ),
        while_hovered: (
            fill_color: (127,127,127,255),
        ),
    ),
    "host a game - password title": SimpleButton (
        within: "host a game - stacker",
        ordering: 30,
        text_align: left,
        text: "Password:",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - password real typing": SimpleButton (
        within: "host a game - stacker",
        ordering: 31,
        //typable: true,
        text_color: (0,0,0,0),
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - password fake": SimpleButton (
        within: "host a game - password real typing",
        allow_clicks_thru: true,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                )
            ),
            fill_color: (0xFF,0xFF,0xFF,0x7F),
        ),
    ),
    "host a game - password typing selector": SimpleButton (
        within: "host a game - password fake",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                )
            ),
            fill_color: (0,0,0,0x7F),
        ),
    ),
    "host a game - spacer 40": SimpleButton (
        within: "host a game - stacker",
        ordering: 40,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - load title": SimpleButton (
        within: "host a game - stacker",
        ordering: 50,
        text_align: left,
        text: "World to load initially (or, empty world if blank):",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - load name": SimpleButton (
        within: "host a game - stacker",
        ordering: 51,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -180),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
            fill_color: (0xFF,0xFF,0xFF,0x7F),
        ),
    ),
    "host a game - load clear": SimpleButton (
        within: "host a game - load name",
        text: "Clear",
        default: (
            area: (
                x_axis: (
                    from: (frac: 1.0, px: 20),
                    dist: (frac: 0.0, px: 80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
            fill_color: (191,0,0,255),
        ),
        while_hovered: (
            fill_color: (255,0,0,255),
        ),
    ),
    "host a game - spacer 60": SimpleButton (
        within: "host a game - stacker",
        ordering: 60,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - autosave name title": SimpleButton (
        within: "host a game - stacker",
        ordering: 70,
        text_align: left,
        text: "Name pattern for auto-saves:",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - autosave name typing": SimpleButton (
        within: "host a game - stacker",
        ordering: 71,
        typable: true,
        text: "embedded_game_server/autosave",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
            fill_color: (0xFF,0xFF,0xFF,0x7F),
        ),
    ),
    "host a game - autosave name typing selector": SimpleButton (
        within: "host a game - autosave name typing",
        start_enabled: false,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                )
            ),
            fill_color: (0,0,0,0x7F),
        ),
    ),
    "host a game - spacer 80": SimpleButton (
        within: "host a game - stacker",
        ordering: 80,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - autosave count title": SimpleButton (
        within: "host a game - stacker",
        ordering: 90,
        text_align: left,
        text: "Number of auto-saves (or, unlimited if blank):",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - autosave count typing": SimpleButton (
        within: "host a game - stacker",
        ordering: 91,
        typable: true,
        text: "5",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
            fill_color: (0xFF,0xFF,0xFF,0x7F),
        ),
    ),
    "host a game - autosave count typing selector": SimpleButton (
        within: "host a game - autosave count typing",
        start_enabled: false,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                )
            ),
            fill_color: (0,0,0,0x7F),
        ),
    ),
    "host a game - spacer 94": SimpleButton (
        within: "host a game - stacker",
        ordering: 94,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - autosave interval - title": SimpleButton (
        within: "host a game - stacker",
        ordering: 99,
        text_align: left,
        text: "Auto-save interval:",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - spacer 107": SimpleButton (
        within: "host a game - stacker",
        ordering: 107,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - unauth enable text": SimpleButton (
        within: "host a game - stacker",
        ordering: 110,
        text_align: left,
        text: "Allow unauthenticated users:",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - unauth enable checkbox": SimpleButton (
        within: "host a game - unauth enable text",
        default: (
            area: (
                x_axis: (
                    from: (frac: 1.0, px: -36),
                    dist: (frac: 0.0, px: 32),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 4),
                    dist: (frac: 0.0, px: 32),
                )
            ),
            fill_color: (95,95,95,255),
            border_color: (159,159,159,255),
        ),
        while_hovered: (
            fill_color: (127,127,127,255),
        ),
    ),
    "host a game - spacer 120": SimpleButton (
        within: "host a game - stacker",
        ordering: 120,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - port number title": SimpleButton (
        within: "host a game - stacker",
        ordering: 129,
        text_align: left,
        text: "Port number (if invalid, defaults to 8431):",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
        ),
    ),
    "host a game - port number typing": SimpleButton (
        within: "host a game - stacker",
        ordering: 130,
        typable: true,
        text: "8431",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 40),
                    dist: (frac: 1.0, px: -80),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 0.0, px: 40),
                )
            ),
            fill_color: (0xFF,0xFF,0xFF,0x7F),
        ),
    ),
    "host a game - port number typing selector": SimpleButton (
        within: "host a game - port number typing",
        start_enabled: false,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                )
            ),
            fill_color: (0,0,0,0x7F),
        ),
    ),
    "host a game - go button": SimpleButton (
        within: "host a game - panel",
        text: "Host",
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.5, px: -200),
                    dist: (frac: 0.0, px: 400),
                ),
                y_axis: (
                    from: (frac: 1.0, px: -48),
                    dist: (frac: 0.0, px: 36),
                )
            ),
            fill_color: (0x00,0x7F,0xFF,0x7F),
        ),
        while_hovered: (
            fill_color: (0x00,0x7F,0xFF,0xBF),
        )
    ),
    "host a game - invalid config": SimpleButton (
        within: "host a game - panel",
        text: "Invalid Configuration",
        start_enabled: false,
        z: 10,
        default: (
            area: (
                x_axis: (
                    from: (frac: 0.0, px: 0),
                    dist: (frac: 1.0, px: 0),
                ),
                y_axis: (
                    from: (frac: 1.0, px: -60),
                    dist: (frac: 0.0, px: 60),
                )
            ),
            fill_color: (0xBF,0x7F,0x00,0xFF),
        ),
    ),
    "host a game - close": SimpleButton (
        within: "host a game - panel",
        default: (
            area: (
                x_axis: (
                    from: (frac: 1, px: -48),
                    dist: (frac: 0, px: 36),
                ),
                y_axis: (
                    from: (frac: 0, px: 12),
                    dist: (frac: 0, px: 36),
                )
            ),
            fill_color: (255,0,0,255),
        ),
        while_hovered: (
            area: (
                x_axis: (
                    from: (frac: 1, px: -51),
                    dist: (frac: 0, px: 42),
                ),
                y_axis: (
                    from: (frac: 0, px: 9),
                    dist: (frac: 0, px: 42),
                )
            ),
        ),
        text: "X",
    ),
}
