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