Xonotic
dialog_multiplayer_media.qc File Reference
+ Include dependency graph for dialog_multiplayer_media.qc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

entity makeXonoticMediaTab ()
 
void XonoticMediaTab_fill (entity me)
 

Function Documentation

◆ makeXonoticMediaTab()

entity makeXonoticMediaTab ( )

Definition at line 12 of file dialog_multiplayer_media.qc.

References entity(), and NEW.

13 {
14  entity me;
15  me = NEW(XonoticMediaTab);
16  me.configureDialog(me);
17  return me;
18 }
#define NEW(cname,...)
Definition: oo.qh:105
entity() spawn
+ Here is the call graph for this function:

◆ XonoticMediaTab_fill()

void XonoticMediaTab_fill ( entity  me)

Definition at line 19 of file dialog_multiplayer_media.qc.

References entity(), and makeXonoticTabController().

20 {
21  entity mc, e;
22  mc = makeXonoticTabController(me.rows - 2);
23 
24  me.gotoRC(me, 0.5, 0);
25  me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Demos"), makeXonoticDemoBrowserTab()));
26  me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Screenshots"), makeXonoticScreenshotBrowserTab()));
27  me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Music Player"), makeXonoticMusicPlayerTab()));
28 
29  me.gotoRC(me, 3, 0);
30  me.TD(me, me.rows - 2, me.columns, mc);
31 }
entity makeXonoticScreenshotBrowserTab()
entity() spawn
entity makeXonoticMusicPlayerTab()
entity makeXonoticDemoBrowserTab()
entity makeXonoticTabController(float theRows)
Definition: tabcontroller.qc:5
+ Here is the call graph for this function: