]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/bigbutton.qc
Fix auxiliary crosshairs
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / bigbutton.qc
1 #ifndef BIGBUTTON_H
2 #define BIGBUTTON_H
3 #include "button.qc"
4 CLASS(XonoticBigButton, XonoticButton)
5         METHOD(XonoticBigButton, configureXonoticBigButton, void(entity, string, vector))
6         ATTRIB(XonoticBigButton, image, string, SKINGFX_BUTTON_BIG)
7         ATTRIB(XonoticBigButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY)
8 ENDCLASS(XonoticBigButton)
9 entity makeXonoticButton(string theText, vector theColor);
10 #endif
11
12 #ifdef IMPLEMENTATION
13 entity makeXonoticBigButton(string theText, vector theColor)
14 {
15         entity me;
16         me = NEW(XonoticBigButton);
17         me.configureXonoticBigButton(me, theText, theColor);
18         return me;
19 }
20
21 void XonoticBigButton_configureXonoticBigButton(entity me, string theText, vector theColor)
22 {
23         me.configureXonoticButton(me, theText, theColor);
24 }
25 #endif