]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/item/tab.qc
Merge branch 'TimePath/qc_updates' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / item / tab.qc
1 #ifndef ITEM_TAB_H
2 #define ITEM_TAB_H
3 #include "dialog.qc"
4 CLASS(Tab, Dialog)
5         ATTRIB(Tab, isTabRoot, float, 0)
6         ATTRIB(Tab, closable, float, 0)
7         ATTRIB(Tab, rootDialog, float, 0)
8         ATTRIB(Tab, title, string, string_null)
9         ATTRIB(Tab, titleFontSize, float, 0) // pixels
10
11         // still to be customized
12         ATTRIB(Tab, intendedWidth, float, 0)
13         ATTRIB(Tab, rows, float, 3)
14         ATTRIB(Tab, columns, float, 2)
15
16         ATTRIB(Tab, marginTop, float, 0) // pixels
17         ATTRIB(Tab, marginBottom, float, 0) // pixels
18         ATTRIB(Tab, marginLeft, float, 0) // pixels
19         ATTRIB(Tab, marginRight, float, 0) // pixels
20         ATTRIB(Tab, columnSpacing, float, 0) // pixels
21         ATTRIB(Tab, rowSpacing, float, 0) // pixels
22         ATTRIB(Tab, rowHeight, float, 0) // pixels
23         ATTRIB(Tab, titleHeight, float, 0) // pixels
24
25         ATTRIB(Tab, backgroundImage, string, string_null)
26 ENDCLASS(Tab)
27 #endif
28
29 #ifdef IMPLEMENTATION
30 #endif