-#ifdef INTERFACE
-CLASS(XonoticGameViewSettingsTab) EXTENDS(XonoticTab)
+#ifndef DIALOG_SETTINGS_GAME_VIEW_H
+#define DIALOG_SETTINGS_GAME_VIEW_H
+#include "tab.qc"
+CLASS(XonoticGameViewSettingsTab, XonoticTab)
METHOD(XonoticGameViewSettingsTab, fill, void(entity))
METHOD(XonoticGameViewSettingsTab, showNotify, void(entity))
ATTRIB(XonoticGameViewSettingsTab, intendedWidth, float, 0.9)
entity makeXonoticGameViewSettingsTab()
{
entity me;
- me = spawnXonoticGameViewSettingsTab();
+ me = NEW(XonoticGameViewSettingsTab);
me.configureDialog(me);
return me;
}