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