]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/dialog_hudpanel_vote.qc
Merge branch 'master' into terencehill/dynamic_hud
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_hudpanel_vote.qc
1 #include "dialog_hudpanel_vote.qh"
2
3 #include "checkbox.qh"
4 #include "textlabel.qh"
5 #include "slider.qh"
6
7 void XonoticHUDVoteDialog_fill(entity me)
8 {
9         entity e;
10         string panelname = "vote";
11
12         DIALOG_HUDPANEL_COMMON();
13
14         me.TR(me);
15                 me.TD(me, 1, 1.4, e = makeXonoticTextLabel(0, _("Alpha after voting:")));
16                 me.TD(me, 1, 2.6, e = makeXonoticSlider(0.1, 1, 0.1, "hud_panel_vote_alreadyvoted_alpha"));
17 }