28 me.gotoRC(me, me.rows - 4, 0);
36 me.gotoRC(me, me.rows - 2.5, 0);
38 "Note: HUD skins are saved in data/data/ directory and can be manually renamed/deleted from there"));
45 me.gotoRC(me, 0, 4.2); me.setFirstColumn(me, me.currentColumn);
50 e.addValue(e, _(
"Disable"),
"0");
51 e.addValue(e,
"border_default",
"border_default");
52 e.configureXonoticTextSliderValues(e);
62 e.addValue(e, _(
"Disable"),
"0");
63 for(i = 1; i <= 10; ++i)
65 e.configureXonoticTextSliderValues(e);
70 for(i = 1; i <= 10; ++i)
72 e.configureXonoticTextSliderValues(e);
77 e.addValue(e, _(
"Disable"),
"0");
78 for(i = 1; i <= 10; ++i)
80 e.configureXonoticTextSliderValues(e);
83 me.TD(me, 1, 3.6, e =
makeXonoticCheckBox(0,
"hud_configure_teamcolorforced", _(
"Test team color in configure mode")));
88 for(i = 0; i <= 10; ++i)
90 e.configureXonoticTextSliderValues(e);
95 e.addValue(e,
ZCTX(_(
"DOCK^Disabled")),
"0");
96 e.addValue(e,
ZCTX(_(
"DOCK^Small")),
"dock_small");
97 e.addValue(e,
ZCTX(_(
"DOCK^Medium")),
"dock_medium");
98 e.addValue(e,
ZCTX(_(
"DOCK^Large")),
"dock_large");
99 e.configureXonoticTextSliderValues(e);
109 for(i = 1; i <= 10; ++i)
111 e.configureXonoticTextSliderValues(e);
116 e.addValue(e, _(
"Disable"),
"0");
117 for(i = 1; i <= 10; ++i)
119 e.configureXonoticTextSliderValues(e);
124 me.TD(me, 1, 3.8, e =
makeXonoticCheckBox(0,
"hud_configure_grid", _(
"Snap panels to grid")));
132 for(i = 1; i <= 14; ++i)
134 e.configureXonoticTextSliderValues(e);
139 for(i = 1; i <= 14; ++i)
141 e.configureXonoticTextSliderValues(e);
144 me.gotoRC(me, me.rows - 1, 0);
void HUDSkinList_Filter_Change(entity box, entity me)
ERASEABLE string ftos_decimals(float number, int decimals)
converts a number to a string with the indicated number of decimals
void HUDSkinList_SavedName_Change(entity box, entity me)
void SaveHUDSkin_Click(entity btn, entity me)
entity makeXonoticHeaderLabel(string theText)
entity makeXonoticTextLabel(float theAlign, string theText)
void HUDSkinList_Refresh_Click(entity btn, entity me)
entity makeXonoticColorpickerString(string theCvar, string theDefaultCvar)
entity makeXonoticTextSlider(string theCvar)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
entity makeXonoticHUDSkinList()
void SetHUDSkin_Click(entity btn, entity me)