3 #include "../item/tab.qh"
5 // still to be customized by user
7 ATTRIB(XonoticTab, intendedWidth, float, 0)
8 ATTRIB(XonoticTab, rows, float, 3)
9 ATTRIB(XonoticTab, columns, float, 2)
11 METHOD(XonoticTab, showNotify, void(entity));
13 ATTRIB(XonoticTab, marginTop, float, 0) // pixels
14 ATTRIB(XonoticTab, marginBottom, float, 0) // pixels
15 ATTRIB(XonoticTab, marginLeft, float, 0) // pixels
16 ATTRIB(XonoticTab, marginRight, float, 0) // pixels
17 ATTRIB(XonoticTab, columnSpacing, float, SKINMARGIN_COLUMNS) // pixels
18 ATTRIB(XonoticTab, rowSpacing, float, SKINMARGIN_ROWS) // pixels
19 ATTRIB(XonoticTab, rowHeight, float, SKINFONTSIZE_NORMAL * SKINHEIGHT_NORMAL) // pixels
21 ATTRIB(XonoticTab, backgroundImage, string, string_null)
23 // using "titleTooltip" instead of "tooltip" so that
24 // the tooltip search function doesn't find it
25 // .tooltip should be set only in the item displaying the tab title
26 ATTRIB(XonoticTab, titleTooltip, string, string_null)