2 CLASS(XonoticHUDNotificationDialog) EXTENDS(XonoticRootDialog)
3 METHOD(XonoticHUDNotificationDialog, fill, void(entity))
4 ATTRIB(XonoticHUDNotificationDialog, title, string, "Notification Panel Setup")
5 ATTRIB(XonoticHUDNotificationDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT)
6 ATTRIB(XonoticHUDNotificationDialog, intendedWidth, float, 0.4)
7 ATTRIB(XonoticHUDNotificationDialog, rows, float, 15)
8 ATTRIB(XonoticHUDNotificationDialog, columns, float, 4)
9 ATTRIB(XonoticHUDNotificationDialog, name, string, "HUDnotify")
10 ENDCLASS(XonoticHUDNotificationDialog)
14 void fillXonoticHUDNotificationDialog(entity me)
19 me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "hud_notify", "On/Off"));
21 me.TD(me, 1, 2, e = makeXonoticTextLabel(0, "Team Color:"));
22 me.TD(me, 1, 2, e = makeXonoticSlider(0, 1, 0.01, "hud_notify_bg_color_team"));
24 me.TD(me, 1, 2, e = makeXonoticTextLabel(0, "Background Alpha:"));
25 me.TD(me, 1, 2, e = makeXonoticSlider(0, 1, 0.01, "hud_notify_bg_alpha"));
27 me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "hud_notify_flip", "Flip"));
29 me.TD(me, 1, 2, e = makeXonoticTextLabel(0, "Msg lifetime:"));
30 me.TD(me, 1, 2, e = makeXonoticSlider(3, 15, 1, "hud_notify_time"));
32 me.TD(me, 1, 2, e = makeXonoticTextLabel(0, "Msg fadetime:"));
33 me.TD(me, 1, 2, e = makeXonoticSlider(1, 5, 1, "hud_notify_fadetime"));
35 me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "hud_notify_print", "Also print messages to console"));
37 //me.gotoRC(me, me.rows - 1, 0);
38 //me.TD(me, 1, me.columns, e = makeXonoticCommandButton("Exit Setup", '0 0 0', "_hud_configure 0", 1));