]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/dialog_hudpanel_quickmenu.qc
Add TheAudioMonkey to credits
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_hudpanel_quickmenu.qc
1 #include "dialog_hudpanel_quickmenu.qh"
2
3 #include "checkbox.qh"
4 #include "textlabel.qh"
5 #include "radiobutton.qh"
6
7 void XonoticHUDQuickMenuDialog_fill(entity me)
8 {
9         entity e;
10         string panelname = "quickmenu";
11
12         DIALOG_HUDPANEL_COMMON_NOTOGGLE();
13
14         me.TR(me);
15                 me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Text alignment:")));
16         me.TR(me);
17                 me.TDempty(me, 0.2);
18                         me.TD(me, 1, 3.8/3, e = makeXonoticRadioButton(3, "hud_panel_quickmenu_align", "0", _("Left")));
19                         me.TD(me, 1, 3.8/3, e = makeXonoticRadioButton(3, "hud_panel_quickmenu_align", "0.5", _("Center")));
20                         me.TD(me, 1, 3.8/3, e = makeXonoticRadioButton(3, "hud_panel_quickmenu_align", "1", _("Right")));
21 }