Files

40 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.
# Grim.js — openMenu() (satır 124)
[← Grim.js](index.md) · [← Master](../../wiki.md)
Parça 1/2 · [sonraki](openMenu-2.md)
```javascript
function openMenu(c, p) {
var ui = mappet.createUI(c, "handler").background();
var root = ui.getCurrent();
root.rxy(0.5, 0.5).wh(380, 255).anchor(0.5, 0.5);
ui.graphics().rect(0, 0, 380, 255, 0xDD090A10).rxy(0, 0).wh(380, 255).anchor(0, 0);
ui.graphics().rect(0, 0, 380, 28, 0xEE14121D).rxy(0, 0).wh(380, 28).anchor(0, 0);
ui.graphics().rect(0, 0, 380, 1, 0xFFB26CFF).rxy(0, 0).wh(380, 1).y(28).anchor(0, 0);
ui.label("\u00a7d\u00a7lKisisel Skin Ayar \u00a78- \u00a77sadece sen gorursun")
.x(12).y(8).wh(330, 12).anchor(0, 0).labelAnchor(0, 0.5);
ui.icon("close").id("close").x(352).y(5).wh(18, 18).anchor(0, 0);
ui.label("\u00a77Oyuncu").x(14).y(42).wh(80, 12).anchor(0, 0);
ui.textbox("", 32).id("target").x(14).y(56).wh(160, 20).anchor(0, 0)
.tooltip("Skinini sadece kendi gozunde degistirmek istedigin oyuncu.", 1);
ui.label("\u00a77Skin URL").x(14).y(84).wh(100, 12).anchor(0, 0);
ui.textbox("", 1024).id("url").x(14).y(98).wh(352, 20).anchor(0, 0)
.tooltip("Blockbuster player skin URL. Ornek: https://.../skin.png", 1);
ui.button("\u00a7aUygula").id("apply").x(14).y(128).wh(82, 22).anchor(0, 0);
ui.button("\u00a7eReset").id("reset").x(104).y(128).wh(82, 22).anchor(0, 0);
ui.button("\u00a7cHepsini Temizle").id("clear").x(194).y(128).wh(112, 22).anchor(0, 0);
ui.button("\u00a77Loop Yenile").id("start").x(314).y(128).wh(52, 22).anchor(0, 0);
var names = onlineNames(c);
if (names.length > 0) {
ui.label("\u00a77Online oyuncular").x(14).y(162).wh(130, 12).anchor(0, 0);
ui.stringList(names, -1).id("players").x(14).y(178).wh(160, 62).anchor(0, 0);
}
```