Xonotic
dialog_settings.qc
Go to the documentation of this file.
1 #include "dialog_settings.qh"
2 
10 
11 #include "tabcontroller.qh"
12 
14 {
15  entity mc;
16  mc = makeXonoticTabController(me.rows - 2.5);
17  me.TR(me);
18  me.TD(me, 1, 2, mc.makeTabButton(mc, _("Video"), makeXonoticVideoSettingsTab()));
19  me.TD(me, 1, 2, mc.makeTabButton(mc, _("Effects"), makeXonoticEffectsSettingsTab()));
20  me.TD(me, 1, 2, mc.makeTabButton(mc, _("Audio"), makeXonoticAudioSettingsTab()));
21  me.TR(me);
22  me.TD(me, 1, 1.5, mc.makeTabButton(mc, _("Game"), NEW(XonoticGameSettingsTab)));
23  me.TD(me, 1, 1.5, mc.makeTabButton(mc, _("Input"), makeXonoticInputSettingsTab()));
24  me.TD(me, 1, 1.5, mc.makeTabButton(mc, _("User"), makeXonoticUserSettingsTab()));
25  me.TD(me, 1, 1.5, mc.makeTabButton(mc, _("Misc"), makeXonoticMiscSettingsTab()));
26  me.gotoRC(me, 2.5, 0);
27  me.TD(me, me.rows - 2.5, me.columns, mc);
28 }
entity makeXonoticInputSettingsTab()
#define NEW(cname,...)
Definition: oo.qh:105
entity makeXonoticVideoSettingsTab()
entity() spawn
entity makeXonoticAudioSettingsTab()
void XonoticSettingsDialog_fill(entity me)
entity makeXonoticMiscSettingsTab()
entity makeXonoticEffectsSettingsTab()
entity makeXonoticTabController(float theRows)
Definition: tabcontroller.qc:5
entity makeXonoticUserSettingsTab()