]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/menu/nexuiz/dialog_news.c
try fixing the addition of CA
[divverent/nexuiz.git] / data / qcsrc / menu / nexuiz / dialog_news.c
1 #ifdef INTERFACE
2 CLASS(NexuizNewsDialog) EXTENDS(NexuizDialog)
3         METHOD(NexuizNewsDialog, fill, void(entity))
4         ATTRIB(NexuizNewsDialog, title, string, "News")
5         ATTRIB(NexuizNewsDialog, color, vector, SKINCOLOR_DIALOG_SETTINGS)
6         ATTRIB(NexuizNewsDialog, intendedWidth, float, 0.96)
7         ATTRIB(NexuizNewsDialog, rows, float, 24)
8         ATTRIB(NexuizNewsDialog, columns, float, 1)
9 ENDCLASS(NexuizNewsDialog)
10 #endif
11
12 #ifdef IMPLEMENTATION
13 void fillNexuizNewsDialog(entity me)
14 {
15         entity e;
16         me.TR(me);
17                 me.TD(me, 24, 1, e = spawnGecko());
18                 e.configureBrowser( e, "http://alientrap.org/nexuiz/index.php?module=news" );
19 }
20 #endif