mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Improve login screen UI with simplified text and compatibility mode
- Change window title from "WoW 3.3.5a Authentication" to "Authentication" - Change subtitle from "Connect to Authentication Server" to "Connect to Server" - Increase button sizes from 120x0 to 160x40 for better visibility - Add compatibility mode dropdown (currently showing 3.3.5a, extensible for future versions)
This commit is contained in:
parent
545cfbbc0e
commit
1bc46b5d22
2 changed files with 9 additions and 4 deletions
|
|
@ -111,9 +111,9 @@ void AuthScreen::render(auth::AuthHandler& authHandler) {
|
|||
}
|
||||
|
||||
ImGui::SetNextWindowSize(ImVec2(500, 400), ImGuiCond_FirstUseEver);
|
||||
ImGui::Begin("WoW 3.3.5a Authentication", nullptr, ImGuiWindowFlags_NoCollapse);
|
||||
ImGui::Begin("Authentication", nullptr, ImGuiWindowFlags_NoCollapse);
|
||||
|
||||
ImGui::Text("Connect to Authentication Server");
|
||||
ImGui::Text("Connect to Server");
|
||||
ImGui::Separator();
|
||||
ImGui::Spacing();
|
||||
|
||||
|
|
@ -124,6 +124,10 @@ void AuthScreen::render(auth::AuthHandler& authHandler) {
|
|||
if (port < 1) port = 1;
|
||||
if (port > 65535) port = 65535;
|
||||
|
||||
// Compatibility mode dropdown
|
||||
const char* compatModes[] = { "3.3.5a" };
|
||||
ImGui::Combo("Compatibility Mode", &compatibilityMode, compatModes, IM_ARRAYSIZE(compatModes));
|
||||
|
||||
ImGui::Spacing();
|
||||
ImGui::Separator();
|
||||
ImGui::Spacing();
|
||||
|
|
@ -200,12 +204,12 @@ void AuthScreen::render(auth::AuthHandler& authHandler) {
|
|||
authHandler.disconnect();
|
||||
}
|
||||
} else {
|
||||
if (ImGui::Button("Connect", ImVec2(120, 0))) {
|
||||
if (ImGui::Button("Connect", ImVec2(160, 40))) {
|
||||
attemptAuth(authHandler);
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Clear", ImVec2(120, 0))) {
|
||||
if (ImGui::Button("Clear", ImVec2(160, 40))) {
|
||||
statusMessage.clear();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue