]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/bigcommandbutton.qc
Fix #2182 "Untranslatable strings in hudpanel_pressedkeys"
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / bigcommandbutton.qc
1 #include "bigcommandbutton.qh"
2
3 entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, float theFlags, string theTooltip)
4 {
5         entity me;
6         me = NEW(XonoticBigCommandButton);
7         me.configureXonoticBigCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);
8         return me;
9 }
10 entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, float theFlags)
11 {
12         return makeXonoticBigCommandButton_T(theText, theColor, theCommand, theFlags, string_null);
13 }
14
15 void XonoticBigCommandButton_configureXonoticBigCommandButton(entity me, string theText, vector theColor, string theCommand, float theFlags, string theTooltip)
16 {
17         me.configureXonoticCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);
18 }