| 18 | {} |
| 19 | |
| 20 | void 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 | |
| 40 | void NetworkSettingsDialog::openIntern() |
| 41 | { |
nothing calls this directly
no test coverage detected