#ifndef BUTTON_H
#define BUTTON_H
+#include "../item/button.qc"
CLASS(XonoticButton, Button)
METHOD(XonoticButton, configureXonoticButton, void(entity, string, vector))
ATTRIB(XonoticButton, fontSize, float, SKINFONTSIZE_NORMAL)
#ifndef CHARMAP_H
#define CHARMAP_H
+#include "../item.qc"
CLASS(XonoticCharmap, Item)
METHOD(XonoticCharmap, configureXonoticCharmap, void(entity, entity))
METHOD(XonoticCharmap, mousePress, float(entity, vector))
#ifndef CHECKBOX_H
#define CHECKBOX_H
+#include "../item/checkbox.qc"
CLASS(XonoticCheckBox, CheckBox)
METHOD(XonoticCheckBox, configureXonoticCheckBox, void(entity, float, float, string, string))
METHOD(XonoticCheckBox, setChecked, void(entity, float))
#ifndef CHECKBOX_SLIDER_INVALID_H
#define CHECKBOX_SLIDER_INVALID_H
+#include "../item/checkbox.qc"
CLASS(XonoticSliderCheckBox, CheckBox)
METHOD(XonoticSliderCheckBox, configureXonoticSliderCheckBox, void(entity, float, float, entity, string))
METHOD(XonoticSliderCheckBox, setChecked, void(entity, float))
#ifndef CHECKBOX_STRING_H
#define CHECKBOX_STRING_H
+#include "../item/checkbox.qc"
CLASS(XonoticCheckBoxString, CheckBox)
METHOD(XonoticCheckBoxString, configureXonoticCheckBoxString, void(entity, string, string, string, string))
METHOD(XonoticCheckBoxString, setChecked, void(entity, float))
#ifndef COLORBUTTON_H
#define COLORBUTTON_H
+#include "../item/radiobutton.qc"
CLASS(XonoticColorButton, RadioButton)
METHOD(XonoticColorButton, configureXonoticColorButton, void(entity, float, float, float))
METHOD(XonoticColorButton, setChecked, void(entity, float))
#ifndef COLORPICKER_H
#define COLORPICKER_H
+#include "../item/image.qc"
CLASS(XonoticColorpicker, Image)
METHOD(XonoticColorpicker, configureXonoticColorpicker, void(entity, entity))
METHOD(XonoticColorpicker, mousePress, float(entity, vector))
#ifndef COLORPICKER_STRING_H
#define COLORPICKER_STRING_H
+#include "../item/image.qc"
CLASS(XonoticColorpickerString, Image)
METHOD(XonoticColorpickerString, configureXonoticColorpickerString, void(entity, string, string))
METHOD(XonoticColorpickerString, mousePress, float(entity, vector))
#ifndef COMMANDBUTTON_H
#define COMMANDBUTTON_H
+#include "button.qc"
CLASS(XonoticCommandButton, XonoticButton)
METHOD(XonoticCommandButton, configureXonoticCommandButton, void(entity, string, vector, string, float))
ATTRIB(XonoticCommandButton, onClickCommand, string, string_null)
#ifndef CREDITS_H
#define CREDITS_H
+#include "listbox.qc"
CLASS(XonoticCreditsList, XonoticListBox)
METHOD(XonoticCreditsList, configureXonoticCreditsList, void(entity))
ATTRIB(XonoticCreditsList, rowsPerItem, float, 1)
#ifndef CROSSHAIRBUTTON_H
#define CROSSHAIRBUTTON_H
+#include "../item/radiobutton.qc"
CLASS(XonoticCrosshairButton, RadioButton)
METHOD(XonoticCrosshairButton, configureXonoticCrosshairButton, void(entity, float, float))
METHOD(XonoticCrosshairButton, setChecked, void(entity, float))
#ifndef CVARLIST_H
#define CVARLIST_H
+#include "listbox.qc"
CLASS(XonoticCvarList, XonoticListBox)
METHOD(XonoticCvarList, configureXonoticCvarList, void(entity))
ATTRIB(XonoticCvarList, rowsPerItem, float, 1)
#ifndef DEMOLIST_H
#define DEMOLIST_H
+#include "listbox.qc"
CLASS(XonoticDemoList, XonoticListBox)
METHOD(XonoticDemoList, configureXonoticDemoList, void(entity))
ATTRIB(XonoticDemoList, rowsPerItem, float, 1)
#ifndef DIALOG_H
#define DIALOG_H
+#include "../item/dialog.qc"
CLASS(XonoticDialog, Dialog)
// still to be customized by user
/*
#ifndef DIALOG_CREDITS_H
#define DIALOG_CREDITS_H
+#include "dialog.qc"
CLASS(XonoticCreditsDialog, XonoticDialog)
METHOD(XonoticCreditsDialog, fill, void(entity))
METHOD(XonoticCreditsDialog, focusEnter, void(entity))
#ifndef DIALOG_HUDPANEL_AMMO_H
#define DIALOG_HUDPANEL_AMMO_H
+#include "rootdialog.qc"
CLASS(XonoticHUDAmmoDialog, XonoticRootDialog)
METHOD(XonoticHUDAmmoDialog, fill, void(entity))
ATTRIB(XonoticHUDAmmoDialog, title, string, _("Ammo Panel"))
#ifndef DIALOG_HUDPANEL_BUFFS_H
#define DIALOG_HUDPANEL_BUFFS_H
+#include "rootdialog.qc"
CLASS(XonoticHUDBuffsDialog, XonoticRootDialog)
METHOD(XonoticHUDBuffsDialog, fill, void(entity))
ATTRIB(XonoticHUDBuffsDialog, title, string, _("Buffs Panel"))
#ifndef DIALOG_HUDPANEL_CENTERPRINT_H
#define DIALOG_HUDPANEL_CENTERPRINT_H
+#include "rootdialog.qc"
CLASS(XonoticHUDCenterprintDialog, XonoticRootDialog)
METHOD(XonoticHUDCenterprintDialog, fill, void(entity))
ATTRIB(XonoticHUDCenterprintDialog, title, string, _("Centerprint Panel"))
#ifndef DIALOG_HUDPANEL_CHAT_H
#define DIALOG_HUDPANEL_CHAT_H
+#include "rootdialog.qc"
CLASS(XonoticHUDChatDialog, XonoticRootDialog)
METHOD(XonoticHUDChatDialog, fill, void(entity))
ATTRIB(XonoticHUDChatDialog, title, string, _("Chat Panel"))
#ifndef DIALOG_HUDPANEL_ENGINEINFO_H
#define DIALOG_HUDPANEL_ENGINEINFO_H
+#include "rootdialog.qc"
CLASS(XonoticHUDEngineInfoDialog, XonoticRootDialog)
METHOD(XonoticHUDEngineInfoDialog, fill, void(entity))
ATTRIB(XonoticHUDEngineInfoDialog, title, string, _("Engine Info Panel"))
#ifndef DIALOG_HUDPANEL_HEALTHARMOR_H
#define DIALOG_HUDPANEL_HEALTHARMOR_H
+#include "rootdialog.qc"
CLASS(XonoticHUDHealthArmorDialog, XonoticRootDialog)
METHOD(XonoticHUDHealthArmorDialog, fill, void(entity))
ATTRIB(XonoticHUDHealthArmorDialog, title, string, _("Health/Armor Panel"))
#ifndef DIALOG_HUDPANEL_INFOMESSAGES_H
#define DIALOG_HUDPANEL_INFOMESSAGES_H
+#include "rootdialog.qc"
CLASS(XonoticHUDInfoMessagesDialog, XonoticRootDialog)
METHOD(XonoticHUDInfoMessagesDialog, fill, void(entity))
ATTRIB(XonoticHUDInfoMessagesDialog, title, string, _("Info Messages Panel"))
#ifndef DIALOG_HUDPANEL_MODICONS_H
#define DIALOG_HUDPANEL_MODICONS_H
+#include "rootdialog.qc"
CLASS(XonoticHUDModIconsDialog, XonoticRootDialog)
METHOD(XonoticHUDModIconsDialog, fill, void(entity))
ATTRIB(XonoticHUDModIconsDialog, title, string, _("Mod Icons Panel"))
#ifndef DIALOG_HUDPANEL_NOTIFICATION_H
#define DIALOG_HUDPANEL_NOTIFICATION_H
+#include "rootdialog.qc"
CLASS(XonoticHUDNotificationDialog, XonoticRootDialog)
METHOD(XonoticHUDNotificationDialog, fill, void(entity))
ATTRIB(XonoticHUDNotificationDialog, title, string, _("Notification Panel"))
#ifndef DIALOG_HUDPANEL_PHYSICS_H
#define DIALOG_HUDPANEL_PHYSICS_H
+#include "rootdialog.qc"
CLASS(XonoticHUDPhysicsDialog, XonoticRootDialog)
METHOD(XonoticHUDPhysicsDialog, fill, void(entity))
ATTRIB(XonoticHUDPhysicsDialog, title, string, _("Physics Panel"))
#ifndef DIALOG_HUDPANEL_POWERUPS_H
#define DIALOG_HUDPANEL_POWERUPS_H
+#include "rootdialog.qc"
CLASS(XonoticHUDPowerupsDialog, XonoticRootDialog)
METHOD(XonoticHUDPowerupsDialog, fill, void(entity))
ATTRIB(XonoticHUDPowerupsDialog, title, string, _("Powerups Panel"))
#ifndef DIALOG_HUDPANEL_PRESSEDKEYS_H
#define DIALOG_HUDPANEL_PRESSEDKEYS_H
+#include "rootdialog.qc"
CLASS(XonoticHUDPressedKeysDialog, XonoticRootDialog)
METHOD(XonoticHUDPressedKeysDialog, fill, void(entity))
ATTRIB(XonoticHUDPressedKeysDialog, title, string, _("Pressed Keys Panel"))
#ifndef DIALOG_HUDPANEL_RACETIMER_H
#define DIALOG_HUDPANEL_RACETIMER_H
+#include "rootdialog.qc"
CLASS(XonoticHUDRaceTimerDialog, XonoticRootDialog)
METHOD(XonoticHUDRaceTimerDialog, fill, void(entity))
ATTRIB(XonoticHUDRaceTimerDialog, title, string, _("Race Timer Panel"))
#ifndef DIALOG_HUDPANEL_RADAR_H
#define DIALOG_HUDPANEL_RADAR_H
+#include "rootdialog.qc"
CLASS(XonoticHUDRadarDialog, XonoticRootDialog)
METHOD(XonoticHUDRadarDialog, fill, void(entity))
ATTRIB(XonoticHUDRadarDialog, title, string, _("Radar Panel"))
#ifndef DIALOG_HUDPANEL_SCORE_H
#define DIALOG_HUDPANEL_SCORE_H
+#include "rootdialog.qc"
CLASS(XonoticHUDScoreDialog, XonoticRootDialog)
METHOD(XonoticHUDScoreDialog, fill, void(entity))
ATTRIB(XonoticHUDScoreDialog, title, string, _("Score Panel"))
#ifndef DIALOG_HUDPANEL_TIMER_H
#define DIALOG_HUDPANEL_TIMER_H
+#include "rootdialog.qc"
CLASS(XonoticHUDTimerDialog, XonoticRootDialog)
METHOD(XonoticHUDTimerDialog, fill, void(entity))
ATTRIB(XonoticHUDTimerDialog, title, string, _("Timer Panel"))
#ifndef DIALOG_HUDPANEL_VOTE_H
#define DIALOG_HUDPANEL_VOTE_H
+#include "rootdialog.qc"
CLASS(XonoticHUDVoteDialog, XonoticRootDialog)
METHOD(XonoticHUDVoteDialog, fill, void(entity))
ATTRIB(XonoticHUDVoteDialog, title, string, _("Vote Panel"))
#ifndef DIALOG_HUDPANEL_WEAPONS_H
#define DIALOG_HUDPANEL_WEAPONS_H
+#include "rootdialog.qc"
CLASS(XonoticHUDWeaponsDialog, XonoticRootDialog)
METHOD(XonoticHUDWeaponsDialog, fill, void(entity))
ATTRIB(XonoticHUDWeaponsDialog, title, string, _("Weapons Panel"))
#ifndef DIALOG_HUDSETUP_EXIT_H
#define DIALOG_HUDSETUP_EXIT_H
+#include "rootdialog.qc"
CLASS(XonoticHUDExitDialog, XonoticRootDialog)
METHOD(XonoticHUDExitDialog, fill, void(entity))
ATTRIB(XonoticHUDExitDialog, title, string, _("Panel HUD Setup"))
#ifndef DIALOG_MONSTERTOOLS_H
#define DIALOG_MONSTERTOOLS_H
+#include "rootdialog.qc"
CLASS(XonoticMonsterToolsDialog, XonoticRootDialog)
METHOD(XonoticMonsterToolsDialog, fill, void(entity)) // to be overridden by user to fill the dialog with controls
ATTRIB(XonoticMonsterToolsDialog, title, string, _("Monster Tools"))
#ifndef DIALOG_MULTIPLAYER_H
#define DIALOG_MULTIPLAYER_H
+#include "dialog.qc"
CLASS(XonoticMultiplayerDialog, XonoticDialog)
METHOD(XonoticMultiplayerDialog, fill, void(entity))
ATTRIB(XonoticMultiplayerDialog, title, string, _("Multiplayer"))
#ifndef DIALOG_MULTIPLAYER_CREATE_MAPINFO_H
#define DIALOG_MULTIPLAYER_CREATE_MAPINFO_H
+#include "dialog.qc"
CLASS(XonoticMapInfoDialog, XonoticDialog)
METHOD(XonoticMapInfoDialog, fill, void(entity))
METHOD(XonoticMapInfoDialog, loadMapInfo, void(entity, float, entity))
#ifndef DIALOG_MULTIPLAYER_CREATE_MUTATORS_H
#define DIALOG_MULTIPLAYER_CREATE_MUTATORS_H
+#include "dialog.qc"
CLASS(XonoticMutatorsDialog, XonoticDialog)
METHOD(XonoticMutatorsDialog, toString, string(entity))
METHOD(XonoticMutatorsDialog, fill, void(entity))
#ifndef DIALOG_MULTIPLAYER_JOIN_H
#define DIALOG_MULTIPLAYER_JOIN_H
+#include "tab.qc"
CLASS(XonoticServerListTab, XonoticTab)
METHOD(XonoticServerListTab, fill, void(entity))
ATTRIB(XonoticServerListTab, title, string, _("Join"))
#ifndef DIALOG_MULTIPLAYER_JOIN_SERVERINFO_H
#define DIALOG_MULTIPLAYER_JOIN_SERVERINFO_H
+#include "dialog.qc"
CLASS(XonoticServerInfoDialog, XonoticDialog)
METHOD(XonoticServerInfoDialog, fill, void(entity))
METHOD(XonoticServerInfoDialog, loadServerInfo, void(entity, float))
#ifndef DIALOG_MULTIPLAYER_MEDIA_H
#define DIALOG_MULTIPLAYER_MEDIA_H
+#include "tab.qc"
CLASS(XonoticMediaTab, XonoticTab)
METHOD(XonoticMediaTab, fill, void(entity))
ATTRIB(XonoticMediaTab, title, string, _("Media"))
#ifndef DIALOG_MULTIPLAYER_MEDIA_DEMO_H
#define DIALOG_MULTIPLAYER_MEDIA_DEMO_H
+#include "tab.qc"
CLASS(XonoticDemoBrowserTab, XonoticTab)
METHOD(XonoticDemoBrowserTab, fill, void(entity))
ATTRIB(XonoticDemoBrowserTab, title, string, _("Demo"))
#ifndef DIALOG_MULTIPLAYER_MEDIA_DEMO_STARTCONFIRM_H
#define DIALOG_MULTIPLAYER_MEDIA_DEMO_STARTCONFIRM_H
+#include "dialog.qc"
CLASS(XonoticDemoStartConfirmDialog, XonoticDialog)
METHOD(XonoticDemoStartConfirmDialog, fill, void(entity))
ATTRIB(XonoticDemoStartConfirmDialog, title, string, _("Disconnect"))
#ifndef DIALOG_MULTIPLAYER_MEDIA_DEMO_TIMECONFIRM_H
#define DIALOG_MULTIPLAYER_MEDIA_DEMO_TIMECONFIRM_H
+#include "dialog.qc"
CLASS(XonoticDemoTimeConfirmDialog, XonoticDialog)
METHOD(XonoticDemoTimeConfirmDialog, fill, void(entity))
ATTRIB(XonoticDemoTimeConfirmDialog, title, string, _("Disconnect"))
#ifndef DIALOG_MULTIPLAYER_MEDIA_MUSICPLAYER_H
#define DIALOG_MULTIPLAYER_MEDIA_MUSICPLAYER_H
+#include "tab.qc"
CLASS(XonoticMusicPlayerTab, XonoticTab)
METHOD(XonoticMusicPlayerTab, fill, void(entity))
ATTRIB(XonoticMusicPlayerTab, title, string, _("Music"))
#ifndef DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_H
#define DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_H
+#include "tab.qc"
CLASS(XonoticScreenshotBrowserTab, XonoticTab)
METHOD(XonoticScreenshotBrowserTab, fill, void(entity))
ATTRIB(XonoticScreenshotBrowserTab, title, string, "Screenshot")
#ifndef DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_VIEWER_H
#define DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_VIEWER_H
+#include "dialog.qc"
CLASS(XonoticScreenshotViewerDialog, XonoticDialog)
METHOD(XonoticScreenshotViewerDialog, fill, void(entity))
METHOD(XonoticScreenshotViewerDialog, keyDown, float(entity, float, float, float))
#ifndef DIALOG_MULTIPLAYER_PROFILE_H
#define DIALOG_MULTIPLAYER_PROFILE_H
+#include "tab.qc"
CLASS(XonoticProfileTab, XonoticTab)
METHOD(XonoticProfileTab, fill, void(entity))
METHOD(XonoticProfileTab, draw, void(entity))
#ifndef DIALOG_QUIT_H
#define DIALOG_QUIT_H
+#include "dialog.qc"
CLASS(XonoticQuitDialog, XonoticDialog)
METHOD(XonoticQuitDialog, fill, void(entity))
ATTRIB(XonoticQuitDialog, title, string, _("Quit"))
#ifndef DIALOG_SANDBOXTOOLS_H
#define DIALOG_SANDBOXTOOLS_H
+#include "rootdialog.qc"
CLASS(XonoticSandboxToolsDialog, XonoticRootDialog)
METHOD(XonoticSandboxToolsDialog, fill, void(entity)) // to be overridden by user to fill the dialog with controls
ATTRIB(XonoticSandboxToolsDialog, title, string, _("Sandbox Tools")) // ;)
#ifndef DIALOG_SETTINGS_H
#define DIALOG_SETTINGS_H
+#include "dialog.qc"
CLASS(XonoticSettingsDialog, XonoticDialog)
METHOD(XonoticSettingsDialog, fill, void(entity))
ATTRIB(XonoticSettingsDialog, title, string, _("Settings"))
#ifndef DIALOG_SETTINGS_AUDIO_H
#define DIALOG_SETTINGS_AUDIO_H
+#include "tab.qc"
CLASS(XonoticAudioSettingsTab, XonoticTab)
METHOD(XonoticAudioSettingsTab, fill, void(entity))
ATTRIB(XonoticAudioSettingsTab, title, string, _("Audio"))
#ifndef DIALOG_SETTINGS_EFFECTS_H
#define DIALOG_SETTINGS_EFFECTS_H
+#include "tab.qc"
CLASS(XonoticEffectsSettingsTab, XonoticTab)
METHOD(XonoticEffectsSettingsTab, fill, void(entity))
ATTRIB(XonoticEffectsSettingsTab, title, string, _("Effects"))
#ifndef DIALOG_SETTINGS_GAME_H
#define DIALOG_SETTINGS_GAME_H
+#include "tab.qc"
CLASS(XonoticGameSettingsTab, XonoticTab)
METHOD(XonoticGameSettingsTab, fill, void(entity))
ATTRIB(XonoticGameSettingsTab, title, string, _("Game"))
#ifndef DIALOG_SETTINGS_GAME_CROSSHAIR_H
#define DIALOG_SETTINGS_GAME_CROSSHAIR_H
+#include "tab.qc"
CLASS(XonoticGameCrosshairSettingsTab, XonoticTab)
//METHOD(XonoticGameCrosshairSettingsTab, toString, string(entity))
METHOD(XonoticGameCrosshairSettingsTab, fill, void(entity))
#ifndef DIALOG_SETTINGS_GAME_HUD_H
#define DIALOG_SETTINGS_GAME_HUD_H
+#include "tab.qc"
CLASS(XonoticGameHUDSettingsTab, XonoticTab)
//METHOD(XonoticGameHUDSettingsTab, toString, string(entity))
METHOD(XonoticGameHUDSettingsTab, fill, void(entity))
#ifndef DIALOG_SETTINGS_GAME_HUDCONFIRM_H
#define DIALOG_SETTINGS_GAME_HUDCONFIRM_H
+#include "dialog.qc"
CLASS(XonoticHUDConfirmDialog, XonoticDialog)
METHOD(XonoticHUDConfirmDialog, fill, void(entity))
ATTRIB(XonoticHUDConfirmDialog, title, string, _("Enter HUD editor"))
#ifndef DIALOG_SETTINGS_GAME_MESSAGES_H
#define DIALOG_SETTINGS_GAME_MESSAGES_H
+#include "tab.qc"
CLASS(XonoticGameMessageSettingsTab, XonoticTab)
//METHOD(XonoticGameWeaponsSettingsTab, toString, string(entity))
METHOD(XonoticGameMessageSettingsTab, fill, void(entity))
#ifndef DIALOG_SETTINGS_GAME_MODEL_H
#define DIALOG_SETTINGS_GAME_MODEL_H
+#include "tab.qc"
CLASS(XonoticGameModelSettingsTab, XonoticTab)
//METHOD(XonoticGameModelSettingsTab, toString, string(entity))
METHOD(XonoticGameModelSettingsTab, fill, void(entity))
#ifndef DIALOG_SETTINGS_GAME_VIEW_H
#define DIALOG_SETTINGS_GAME_VIEW_H
+#include "tab.qc"
CLASS(XonoticGameViewSettingsTab, XonoticTab)
//METHOD(XonoticGameCrosshairSettingsTab, toString, string(entity))
METHOD(XonoticGameViewSettingsTab, fill, void(entity))
#ifndef DIALOG_SETTINGS_GAME_WEAPONS_H
#define DIALOG_SETTINGS_GAME_WEAPONS_H
+#include "tab.qc"
CLASS(XonoticGameWeaponsSettingsTab, XonoticTab)
//METHOD(XonoticGameWeaponsSettingsTab, toString, string(entity))
METHOD(XonoticGameWeaponsSettingsTab, fill, void(entity))
#ifndef DIALOG_SETTINGS_INPUT_H
#define DIALOG_SETTINGS_INPUT_H
+#include "tab.qc"
CLASS(XonoticInputSettingsTab, XonoticTab)
METHOD(XonoticInputSettingsTab, fill, void(entity))
ATTRIB(XonoticInputSettingsTab, title, string, _("Input"))
#ifndef DIALOG_SETTINGS_INPUT_USERBIND_H
#define DIALOG_SETTINGS_INPUT_USERBIND_H
+#include "dialog.qc"
CLASS(XonoticUserbindEditDialog, XonoticDialog)
METHOD(XonoticUserbindEditDialog, loadUserBind, void(entity, string, string, string))
METHOD(XonoticUserbindEditDialog, fill, void(entity))
#ifndef DIALOG_SETTINGS_MISC_H
#define DIALOG_SETTINGS_MISC_H
+#include "tab.qc"
CLASS(XonoticMiscSettingsTab, XonoticTab)
METHOD(XonoticMiscSettingsTab, fill, void(entity))
ATTRIB(XonoticMiscSettingsTab, title, string, _("Misc"))
#ifndef DIALOG_SETTINGS_MISC_CVARS_H
#define DIALOG_SETTINGS_MISC_CVARS_H
+#include "dialog.qc"
CLASS(XonoticCvarsDialog, XonoticDialog)
METHOD(XonoticCvarsDialog, fill, void(entity))
METHOD(XonoticCvarsDialog, showNotify, void(entity))
#ifndef DIALOG_SETTINGS_MISC_RESET_H
#define DIALOG_SETTINGS_MISC_RESET_H
+#include "dialog.qc"
CLASS(XonoticResetDialog, XonoticDialog)
METHOD(XonoticResetDialog, fill, void(entity))
ATTRIB(XonoticResetDialog, title, string, _("Factory reset"))
#ifndef DIALOG_SETTINGS_USER_H
#define DIALOG_SETTINGS_USER_H
+#include "tab.qc"
CLASS(XonoticUserSettingsTab, XonoticTab)
METHOD(XonoticUserSettingsTab, fill, void(entity))
ATTRIB(XonoticUserSettingsTab, title, string, _("User"))
#ifndef DIALOG_SETTINGS_USER_LANGUAGEWARNING_H
#define DIALOG_SETTINGS_USER_LANGUAGEWARNING_H
+#include "dialog.qc"
CLASS(XonoticLanguageWarningDialog, XonoticDialog)
METHOD(XonoticLanguageWarningDialog, fill, void(entity)) // to be overridden by user to fill the dialog with controls
ATTRIB(XonoticLanguageWarningDialog, title, string, _("Warning"))
#ifndef DIALOG_SETTINGS_VIDEO_H
#define DIALOG_SETTINGS_VIDEO_H
+#include "tab.qc"
CLASS(XonoticVideoSettingsTab, XonoticTab)
METHOD(XonoticVideoSettingsTab, fill, void(entity))
ATTRIB(XonoticVideoSettingsTab, title, string, _("Video"))
#ifndef DIALOG_SINGLEPLAYER_H
#define DIALOG_SINGLEPLAYER_H
+#include "dialog.qc"
CLASS(XonoticSingleplayerDialog, XonoticDialog)
METHOD(XonoticSingleplayerDialog, fill, void(entity))
ATTRIB(XonoticSingleplayerDialog, title, string, _("Singleplayer"))
#ifndef DIALOG_SINGLEPLAYER_WINNER_H
#define DIALOG_SINGLEPLAYER_WINNER_H
+#include "dialog.qc"
CLASS(XonoticWinnerDialog, XonoticDialog)
METHOD(XonoticWinnerDialog, fill, void(entity))
METHOD(XonoticWinnerDialog, focusEnter, void(entity))
#ifndef DIALOG_TEAMSELECT_H
#define DIALOG_TEAMSELECT_H
+#include "rootdialog.qc"
CLASS(XonoticTeamSelectDialog, XonoticRootDialog)
METHOD(XonoticTeamSelectDialog, fill, void(entity)) // to be overridden by user to fill the dialog with controls
METHOD(XonoticTeamSelectDialog, showNotify, void(entity))
#ifndef GAMETYPEBUTTON_H
#define GAMETYPEBUTTON_H
+#include "../item/radiobutton.qc"
CLASS(XonoticGametypeButton, RadioButton)
METHOD(XonoticGametypeButton, configureXonoticGametypeButton, void(entity, float, string, string))
METHOD(XonoticGametypeButton, setChecked, void(entity, float))
#ifndef GAMETYPELIST_H
#define GAMETYPELIST_H
+#include "listbox.qc"
CLASS(XonoticGametypeList, XonoticListBox)
METHOD(XonoticGametypeList, configureXonoticGametypeList, void(entity))
ATTRIB(XonoticGametypeList, rowsPerItem, float, 2)
#ifndef IMAGE_H
#define IMAGE_H
+#include "../item/image.qc"
CLASS(XonoticImage, Image)
METHOD(XonoticImage, configureXonoticImage, void(entity, string, float))
ENDCLASS(XonoticImage)
#ifndef INPUTBOX_H
#define INPUTBOX_H
+#include "../item/inputbox.qc"
CLASS(XonoticInputBox, InputBox)
METHOD(XonoticInputBox, configureXonoticInputBox, void(entity, float, string))
METHOD(XonoticInputBox, focusLeave, void(entity))
#ifndef KEYBINDER_H
#define KEYBINDER_H
+#include "listbox.qc"
CLASS(XonoticKeyBinder, XonoticListBox)
METHOD(XonoticKeyBinder, configureXonoticKeyBinder, void(entity))
ATTRIB(XonoticKeyBinder, rowsPerItem, int, 1)
#ifndef LANGUAGELIST_H
#define LANGUAGELIST_H
+#include "listbox.qc"
CLASS(XonoticLanguageList, XonoticListBox)
METHOD(XonoticLanguageList, configureXonoticLanguageList, void(entity))
ATTRIB(XonoticLanguageList, rowsPerItem, float, 1)
#ifndef LISTBOX_H
#define LISTBOX_H
+#include "../item/listbox.qc"
CLASS(XonoticListBox, ListBox)
METHOD(XonoticListBox, configureXonoticListBox, void(entity))
ATTRIB(XonoticListBox, fontSize, float, SKINFONTSIZE_NORMAL)
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
+#include "../item/modalcontroller.qc"
CLASS(MainWindow, ModalController)
METHOD(MainWindow, configureMainWindow, void(entity))
METHOD(MainWindow, draw, void(entity))
#ifndef MAPLIST_H
#define MAPLIST_H
+#include "listbox.qc"
CLASS(XonoticMapList, XonoticListBox)
METHOD(XonoticMapList, configureXonoticMapList, void(entity))
ATTRIB(XonoticMapList, rowsPerItem, float, 4)
#ifndef NEXPOSEE_H
#define NEXPOSEE_H
+#include "../item/nexposee.qc"
CLASS(XonoticNexposee, Nexposee)
METHOD(XonoticNexposee, configureXonoticNexposee, void(entity))
METHOD(XonoticNexposee, close, void(entity))
#ifndef PLAYERMODEL_H
#define PLAYERMODEL_H
+#include "image.qc"
CLASS(XonoticPlayerModelSelector, XonoticImage)
METHOD(XonoticPlayerModelSelector, configureXonoticPlayerModelSelector, void(entity))
METHOD(XonoticPlayerModelSelector, loadCvars, void(entity))
#ifndef PLAYLIST_H
#define PLAYLIST_H
+#include "listbox.qc"
CLASS(XonoticPlayList, XonoticListBox)
METHOD(XonoticPlayList, configureXonoticPlayList, void(entity))
ATTRIB(XonoticPlayList, rowsPerItem, float, 1)
#ifndef RADIOBUTTON_H
#define RADIOBUTTON_H
+#include "../item/radiobutton.qc"
CLASS(XonoticRadioButton, RadioButton)
METHOD(XonoticRadioButton, configureXonoticRadioButton, void(entity, float, string, string, string))
METHOD(XonoticRadioButton, draw, void(entity))
#ifndef ROOTDIALOG_H
#define ROOTDIALOG_H
+#include "dialog.qc"
CLASS(XonoticRootDialog, XonoticDialog)
// still to be customized by user
/*
#ifndef SCREENSHOTIMAGE_H
#define SCREENSHOTIMAGE_H
+#include "image.qc"
CLASS(XonoticScreenshotImage, XonoticImage)
METHOD(XonoticScreenshotImage, configureXonoticScreenshotImage, void(entity))
METHOD(XonoticScreenshotImage, load, void(entity, string))
#ifndef SCREENSHOTLIST_H
#define SCREENSHOTLIST_H
+#include "listbox.qc"
CLASS(XonoticScreenshotList, XonoticListBox)
METHOD(XonoticScreenshotList, configureXonoticScreenshotList, void(entity))
ATTRIB(XonoticScreenshotList, rowsPerItem, float, 1)
#ifndef SERVERLIST_H
#define SERVERLIST_H
+#include "listbox.qc"
CLASS(XonoticServerList, XonoticListBox)
METHOD(XonoticServerList, configureXonoticServerList, void(entity))
ATTRIB(XonoticServerList, rowsPerItem, float, 1)
#ifndef SKINLIST_H
#define SKINLIST_H
+#include "listbox.qc"
CLASS(XonoticSkinList, XonoticListBox)
METHOD(XonoticSkinList, configureXonoticSkinList, void(entity))
ATTRIB(XonoticSkinList, rowsPerItem, float, 4)
#ifndef SLIDER_H
#define SLIDER_H
+#include "../item/slider.qc"
CLASS(XonoticSlider, Slider)
METHOD(XonoticSlider, configureXonoticSlider, void(entity, float, float, float, string))
METHOD(XonoticSlider, setValue, void(entity, float))
#ifndef SLIDER_DECIBELS_H
#define SLIDER_DECIBELS_H
+#include "slider.qc"
CLASS(XonoticDecibelsSlider, XonoticSlider)
METHOD(XonoticDecibelsSlider, loadCvars, void(entity))
METHOD(XonoticDecibelsSlider, saveCvars, void(entity))
#ifndef SLIDER_PICMIP_H
#define SLIDER_PICMIP_H
+#include "textslider.qc"
CLASS(XonoticPicmipSlider, XonoticTextSlider)
METHOD(XonoticPicmipSlider, configureXonoticPicmipSlider, void(entity))
METHOD(XonoticPicmipSlider, draw, void(entity))
#ifndef SLIDER_SBFADETIME_H
#define SLIDER_SBFADETIME_H
+#include "textslider.qc"
CLASS(XonoticScoreboardFadeTimeSlider, XonoticTextSlider)
METHOD(XonoticScoreboardFadeTimeSlider, configureXonoticScoreboardFadeTimeSlider, void(entity))
METHOD(XonoticScoreboardFadeTimeSlider, loadCvars, void(entity))
#ifndef SOUNDLIST_H
#define SOUNDLIST_H
+#include "listbox.qc"
CLASS(XonoticSoundList, XonoticListBox)
METHOD(XonoticSoundList, configureXonoticSoundList, void(entity))
ATTRIB(XonoticSoundList, rowsPerItem, float, 1)
#ifndef STATSLIST_H
#define STATSLIST_H
+#include "listbox.qc"
CLASS(XonoticStatsList, XonoticListBox)
METHOD(XonoticStatsList, configureXonoticStatsList, void(entity))
ATTRIB(XonoticStatsList, rowsPerItem, float, 1.4)
#ifndef TAB_H
#define TAB_H
+#include "../item/tab.qc"
CLASS(XonoticTab, Tab)
// still to be customized by user
/*
#ifndef TABCONTROLLER_H
#define TABCONTROLLER_H
+#include "../item/modalcontroller.qc"
CLASS(XonoticTabController, ModalController)
METHOD(XonoticTabController, configureXonoticTabController, void(entity, float))
METHOD(XonoticTabController, makeTabButton, entity(entity, string, entity))
#ifndef TEXTLABEL_H
#define TEXTLABEL_H
+#include "../item/label.qc"
CLASS(XonoticTextLabel, Label)
METHOD(XonoticTextLabel, configureXonoticTextLabel, void(entity, float, string))
METHOD(XonoticTextLabel, draw, void(entity))
#ifndef TEXTSLIDER_H
#define TEXTSLIDER_H
+#include "../item/textslider.qc"
CLASS(XonoticTextSlider, TextSlider)
METHOD(XonoticTextSlider, configureXonoticTextSlider, void(entity, string))
METHOD(XonoticTextSlider, setValue, void(entity, float))
#ifndef WEAPONARENACHECKBOX_H
#define WEAPONARENACHECKBOX_H
+#include "../item/checkbox.qc"
CLASS(XonoticWeaponarenaCheckBox, CheckBox)
METHOD(XonoticWeaponarenaCheckBox, configureXonoticWeaponarenaCheckBox, void(entity, string, string))
METHOD(XonoticWeaponarenaCheckBox, setChecked, void(entity, float))
#ifndef WEAPONSLIST_H
#define WEAPONSLIST_H
+#include "listbox.qc"
CLASS(XonoticWeaponsList, XonoticListBox)
METHOD(XonoticWeaponsList, configureXonoticWeaponsList, void(entity))
METHOD(XonoticWeaponsList, toString, string(entity))