Xonotic
dialog_multiplayer_media.qc
Go to the documentation of this file.
1
#include "
dialog_multiplayer_media.qh
"
2
3
#include "
demolist.qh
"
4
#include "
dialog_multiplayer_media_demo.qh
"
5
#include "
dialog_multiplayer_media_screenshot.qh
"
6
#include "
dialog_multiplayer_media_musicplayer.qh
"
7
#include "
dialog_multiplayer_media_demo_timeconfirm.qh
"
8
#include "
dialog_multiplayer_media_demo_startconfirm.qh
"
9
10
#include "
tabcontroller.qh
"
11
12
entity
makeXonoticMediaTab
()
13
{
14
entity
me;
15
me =
NEW
(
XonoticMediaTab
);
16
me.configureDialog(me);
17
return
me;
18
}
19
void
XonoticMediaTab_fill
(
entity
me)
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
}
dialog_multiplayer_media_demo.qh
NEW
#define NEW(cname,...)
Definition:
oo.qh:105
dialog_multiplayer_media_demo_timeconfirm.qh
makeXonoticScreenshotBrowserTab
entity makeXonoticScreenshotBrowserTab()
Definition:
dialog_multiplayer_media_screenshot.qc:11
entity
entity() spawn
dialog_multiplayer_media_screenshot.qh
makeXonoticMusicPlayerTab
entity makeXonoticMusicPlayerTab()
Definition:
dialog_multiplayer_media_musicplayer.qc:11
demolist.qh
XonoticMediaTab
Definition:
dialog_multiplayer_media.qh:4
tabcontroller.qh
dialog_multiplayer_media_musicplayer.qh
dialog_multiplayer_media_demo_startconfirm.qh
dialog_multiplayer_media.qh
makeXonoticMediaTab
entity makeXonoticMediaTab()
Definition:
dialog_multiplayer_media.qc:12
makeXonoticDemoBrowserTab
entity makeXonoticDemoBrowserTab()
Definition:
dialog_multiplayer_media_demo.qc:29
XonoticMediaTab_fill
void XonoticMediaTab_fill(entity me)
Definition:
dialog_multiplayer_media.qc:19
makeXonoticTabController
entity makeXonoticTabController(float theRows)
Definition:
tabcontroller.qc:5
menu
xonotic
dialog_multiplayer_media.qc
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13