Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_media.qc
Go to the documentation of this file.
1#include "dialog_media.qh"
6#include "tabcontroller.qh"
7
9{
10 entity mc;
11 mc = makeXonoticTabController(me.rows - 1);
12 me.TR(me);
13 me.TD(me, 1, 6/4, mc.makeTabButton(mc, _("Guide"), makeXonoticGuideTab()));
14 me.TD(me, 1, 6/4, mc.makeTabButton(mc, _("Demos"), makeXonoticDemoBrowserTab()));
15 me.TD(me, 1, 6/4, mc.makeTabButton(mc, _("Screenshots"), makeXonoticScreenshotBrowserTab()));
16 me.TD(me, 1, 6/4, mc.makeTabButton(mc, _("Music Player"), makeXonoticMusicPlayerTab()));
17 me.TR(me);
18 me.TD(me, me.rows - 1, me.columns, mc);
19}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
void XonoticMediaDialog_fill(entity me)
entity makeXonoticDemoBrowserTab()
entity makeXonoticGuideTab()
entity makeXonoticMusicPlayerTab()
entity makeXonoticScreenshotBrowserTab()
entity makeXonoticTabController(float theRows)