MCPcopy Create free account
hub / github.com/chrxh/alien / processIntern

Method processIntern

source/Gui/NetworkSettingsDialog.cpp:20–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18{}
19
20void NetworkSettingsDialog::processIntern()
21{
22 AlienImGui::InputText(
23 AlienImGui::InputTextParameters().name("Blocks").defaultValue(_origServerAddress).name("Server address").textWidth(RightColumnWidth), _serverAddress);
24
25 ImGui::Dummy({0, ImGui::GetContentRegionAvail().y - scale(50.0f)});
26 AlienImGui::Separator();
27
28 if (AlienImGui::Button("OK")) {
29 close();
30 onChangeSettings();
31 }
32 ImGui::SetItemDefaultFocus();
33
34 ImGui::SameLine();
35 if (AlienImGui::Button("Cancel")) {
36 close();
37 }
38}
39
40void NetworkSettingsDialog::openIntern()
41{

Callers

nothing calls this directly

Calls 2

InputTextParametersClass · 0.85
scaleFunction · 0.85

Tested by

no test coverage detected