3 #include "../item/dialog.qh"
4 CLASS(XonoticDialog, Dialog)
5 // still to be customized by user
7 ATTRIB(XonoticDialog, closable, float, 1)
8 ATTRIB(XonoticDialog, title, string, _("Form1")) // ;)
9 ATTRIB(XonoticDialog, color, vector, '1 0.5 1')
10 ATTRIB(XonoticDialog, intendedWidth, float, 0)
11 ATTRIB(XonoticDialog, rows, float, 3)
12 ATTRIB(XonoticDialog, columns, float, 2)
14 ATTRIB(XonoticDialog, marginTop, float, SKINMARGIN_TOP) // pixels
15 ATTRIB(XonoticDialog, marginBottom, float, SKINMARGIN_BOTTOM) // pixels
16 ATTRIB(XonoticDialog, marginLeft, float, SKINMARGIN_LEFT) // pixels
17 ATTRIB(XonoticDialog, marginRight, float, SKINMARGIN_RIGHT) // pixels
18 ATTRIB(XonoticDialog, columnSpacing, float, SKINMARGIN_COLUMNS) // pixels
19 ATTRIB(XonoticDialog, rowSpacing, float, SKINMARGIN_ROWS) // pixels
20 ATTRIB(XonoticDialog, rowHeight, float, SKINFONTSIZE_NORMAL * SKINHEIGHT_NORMAL) // pixels
21 ATTRIB(XonoticDialog, titleHeight, float, SKINFONTSIZE_TITLE * SKINHEIGHT_TITLE) // pixels
22 ATTRIB(XonoticDialog, titleFontSize, float, SKINFONTSIZE_TITLE) // pixels
24 ATTRIB(XonoticDialog, backgroundImage, string, SKINGFX_DIALOGBORDER)
25 ATTRIB(XonoticDialog, borderLines, float, SKINHEIGHT_DIALOGBORDER)
26 ATTRIB(XonoticDialog, closeButtonImage, string, SKINGFX_CLOSEBUTTON)
27 ATTRIB(XonoticDialog, zoomedOutTitleBarPosition, float, SKINHEIGHT_ZOOMEDTITLE * 0.5 - 0.5)
28 ATTRIB(XonoticDialog, zoomedOutTitleBar, float, SKINHEIGHT_ZOOMEDTITLE != 0)
30 ATTRIB(XonoticDialog, alpha, float, SKINALPHA_TEXT)
32 METHOD(XonoticDialog, configureDialog, void(entity));
33 ENDCLASS(XonoticDialog)