Files

43 lines
1.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Test (2).js — openMainMenu() (satır 68)
[← Test (2).js](index.md) · [← Master](../../wiki.md)
Parça 1/2 · [sonraki](openMainMenu-2.md)
```javascript
function openMainMenu(c, p) {
var s = loadState();
var lockedNames = getLockedNames(c, s);
var ui = mappet.createUI(c, "handler").background();
var root = ui.getCurrent();
root.rxy(0.5, 0.5).wh(320, 235).anchor(0.5, 0.5);
ui.graphics().rect(0, 0, 320, 235, 0xDD09090D).rxy(0, 0).wh(320, 235).anchor(0, 0);
ui.graphics().rect(0, 0, 320, 24, 0xEE171018).rxy(0, 0).wh(320, 24).anchor(0, 0);
ui.graphics().rect(0, 0, 320, 1, 0xFFEEEEEE).rxy(0, 0).wh(320, 1).anchor(0, 0).y(24);
ui.label("\u00a7f\u00a7lLal \u00a78- \u00a77Sessiz Kapan")
.x(10).y(6).wh(250, 12).anchor(0, 0).labelAnchor(0, 0.5);
ui.icon("close").id("close").x(294).y(3).wh(18, 18).anchor(0, 0);
ui.button("\u00a7fTuzak Kur").id("kur").x(12).y(34).wh(88, 20).anchor(0, 0)
.tooltip("Baktigin blogun ustune kapan kurar.", 1);
ui.button("\u00a7fTuzak Kaldir").id("kaldir").x(112).y(34).wh(88, 20).anchor(0, 0)
.tooltip("Baktigin blogun kapanini kaldirir.", 1);
ui.button("\u00a7fYok Ol / Don").id("yok").x(212).y(34).wh(96, 20).anchor(0, 0)
.tooltip("Gorunmezlik + Lal2/Lal1 morph eventleri.", 1);
ui.button("\u00a7cTum Tuzaklari Sil").id("allbreak").x(12).y(60).wh(142, 18).anchor(0, 0);
ui.button("\u00a77Yenile").id("refresh").x(166).y(60).wh(66, 18).anchor(0, 0);
ui.button("\u00a78Loop Baslat").id("start").x(242).y(60).wh(66, 18).anchor(0, 0);
ui.label("\u00a77Yakalananlar")
.x(12).y(90).wh(130, 12).anchor(0, 0).labelAnchor(0, 0.5);
if (lockedNames.length === 0) {
ui.label("\u00a78Yakalanan yok.")
.x(12).y(112).wh(220, 12).anchor(0, 0).labelAnchor(0, 0.5);
```