X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_notification.qc;h=93d58d0bbc9179147e70728c52609c0f1ff110c1;hb=867ce0406b74601b6d74a4ac412ac30063490d88;hp=722b5d539d169de9e9ca106279e7f341f129c0b4;hpb=37903827937b44f174275a75d2dab5301b8ab53e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc b/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc index 722b5d539..93d58d0bb 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc @@ -1,6 +1,8 @@ -#ifdef INTERFACE -CLASS(XonoticHUDNotificationDialog) EXTENDS(XonoticRootDialog) - METHOD(XonoticHUDNotificationDialog, fill, void(entity)) +#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")) ATTRIB(XonoticHUDNotificationDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT) ATTRIB(XonoticHUDNotificationDialog, intendedWidth, float, 0.4)