2 CLASS(XonoticHUDInfoMessagesDialog) EXTENDS(XonoticRootDialog)
3 METHOD(XonoticHUDInfoMessagesDialog, fill, void(entity))
4 ATTRIB(XonoticHUDInfoMessagesDialog, title, string, _("Info Messages Panel"))
5 ATTRIB(XonoticHUDInfoMessagesDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT)
6 ATTRIB(XonoticHUDInfoMessagesDialog, intendedWidth, float, 0.4)
7 ATTRIB(XonoticHUDInfoMessagesDialog, rows, float, 15)
8 ATTRIB(XonoticHUDInfoMessagesDialog, columns, float, 4)
9 ATTRIB(XonoticHUDInfoMessagesDialog, name, string, "HUDinfomessages")
10 ATTRIB(XonoticHUDInfoMessagesDialog, requiresConnection, float, true)
11 ENDCLASS(XonoticHUDInfoMessagesDialog)
15 void XonoticHUDInfoMessagesDialog_fill(entity me)
18 string panelname = "infomessages";
20 DIALOG_HUDPANEL_COMMON();
23 me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Info messages:")));
26 me.TD(me, 1, 3.8, e = makeXonoticCheckBox(0, "hud_panel_infomessages_flip", _("Flip align")));