Xonotic
dialog_settings.qc File Reference
+ Include dependency graph for dialog_settings.qc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void XonoticSettingsDialog_fill (entity me)
 

Function Documentation

◆ XonoticSettingsDialog_fill()

void XonoticSettingsDialog_fill ( entity  me)

Definition at line 13 of file dialog_settings.qc.

References entity(), and makeXonoticTabController().

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()
entity makeXonoticMiscSettingsTab()
entity makeXonoticEffectsSettingsTab()
entity makeXonoticTabController(float theRows)
Definition: tabcontroller.qc:5
entity makeXonoticUserSettingsTab()
+ Here is the call graph for this function: