]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/menu/nexuiz/bigcommandbutton.c
try fixing the addition of CA
[divverent/nexuiz.git] / data / qcsrc / menu / nexuiz / bigcommandbutton.c
1 #ifdef INTERFACE
2 CLASS(NexuizBigCommandButton) EXTENDS(NexuizCommandButton)
3         METHOD(NexuizBigCommandButton, configureNexuizBigCommandButton, void(entity, string, vector, string, float))
4         ATTRIB(NexuizBigCommandButton, image, string, SKINGFX_BUTTON_BIG)
5         ATTRIB(NexuizBigCommandButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY)
6 ENDCLASS(NexuizCommandButton)
7 entity makeNexuizBigCommandButton(string theText, vector theColor, string theCommand, float closesMenu);
8 #endif
9
10 #ifdef IMPLEMENTATION
11 entity makeNexuizBigCommandButton(string theText, vector theColor, string theCommand, float theFlags)
12 {
13         entity me;
14         me = spawnNexuizBigCommandButton();
15         me.configureNexuizBigCommandButton(me, theText, theColor, theCommand, theFlags);
16         return me;
17 }
18
19 void configureNexuizBigCommandButtonNexuizBigCommandButton(entity me, string theText, vector theColor, string theCommand, float theFlags)
20 {
21         me.configureNexuizCommandButton(me, theText, theColor, theCommand, theFlags);
22 }
23 #endif