chore(history): squash 10 commit(s) from 2026-07-31
- feat: Фаза 1 ребрендинг combatant → lovisual + восстановление config - refactor: Фаза 2 — выкинуть Runtime/JarReplacement, заменить на Lifecycle - refactor: Фаза 3.5 — удалить читерские модули, ESP под легит - refactor: Фаза 3 — разбить Renderer2D (3379→2150 фасад + 14 хелперов ≤200) - refactor: Фаза 3 — разбить BetterChatRenderer (2870→210 фасад + 21 хелпер ≤200) - refactor: Фаза 3 — разбить UnifiedSettingRenderer (2798→208 фасад + 24 хелпера ≤200) - refactor: Фаза 3 — разбить ClickGuiRenderer (1887→542 фасад + 15 хелперов ≤200) - refactor: Фаза 3 — разбить NameTags (1791→438 фасад + 11 хелперов ≤200) - refactor: Фаза 3 — разбить TargetHud (1655→340 фасад + 11 хелперов ≤200) - refactor: Фаза 3 — разбить ESP (1538→269 фасад + 11 хелперов ≤200)
This commit is contained in:
parent
8084ac50b3
commit
52d87368c9
1595 changed files with 35857 additions and 51145 deletions
63
launcher/ui/main.slint
Normal file
63
launcher/ui/main.slint
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
import { VerticalBox, LineEdit, Button } from "std-widgets.slint";
|
||||
|
||||
export component MainWindow inherits Window {
|
||||
title: "LoVisual Launcher";
|
||||
width: 480px;
|
||||
height: 320px;
|
||||
|
||||
in-out property <string> status: "Disconnected";
|
||||
|
||||
VerticalBox {
|
||||
spacing: 12px;
|
||||
padding: 24px;
|
||||
|
||||
Text {
|
||||
text: "LoVisual Launcher";
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
horizontal-alignment: center;
|
||||
color: #00bfff;
|
||||
}
|
||||
|
||||
Text {
|
||||
text: "Войдите в аккаунт, чтобы запустить Minecraft";
|
||||
font-size: 13px;
|
||||
horizontal-alignment: center;
|
||||
color: #9aa0a6;
|
||||
}
|
||||
|
||||
VerticalBox {
|
||||
spacing: 8px;
|
||||
|
||||
Text { text: "Логин"; }
|
||||
LineEdit {
|
||||
text <=> login-input;
|
||||
placeholder-text: "username or email";
|
||||
}
|
||||
|
||||
Text { text: "Пароль"; }
|
||||
LineEdit {
|
||||
text <=> password-input;
|
||||
input-type: InputType.password;
|
||||
placeholder-text: "••••••••";
|
||||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
text: "Войти";
|
||||
primary: true;
|
||||
clicked => root.login();
|
||||
}
|
||||
|
||||
Text {
|
||||
text: status;
|
||||
horizontal-alignment: center;
|
||||
color: #ff6b6b;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
callback login();
|
||||
in-out property <string> login-input: "";
|
||||
in-out property <string> password-input: "";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue