1 #include "dialog_settings.qh"
3 #include "dialog_settings_video.qh"
4 #include "dialog_settings_effects.qh"
5 #include "dialog_settings_audio.qh"
6 #include "dialog_settings_game.qh"
7 #include "dialog_settings_input.qh"
8 #include "dialog_settings_user.qh"
9 #include "dialog_settings_misc.qh"
11 #include "tabcontroller.qh"
13 void XonoticSettingsDialog_fill(entity me)
16 mc = makeXonoticTabController(me.rows - 2.5);
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()));
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);