1 #include "dialog_multiplayer_media.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"
10 #include "tabcontroller.qh"
12 entity makeXonoticMediaTab()
15 me = NEW(XonoticMediaTab);
16 me.configureDialog(me);
19 void XonoticMediaTab_fill(entity me)
22 mc = makeXonoticTabController(me.rows - 2);
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()));
30 me.TD(me, me.rows - 2, me.columns, mc);