Xonotic
tab.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "dialog.qh"
5  ATTRIB(Tab, isTabRoot, float, 0);
6  ATTRIB(Tab, closable, float, 0);
7  ATTRIB(Tab, rootDialog, float, 0);
8  ATTRIB(Tab, title, string);
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);
26 ENDCLASS(Tab)
Definition: dialog.qh:19
CLASS(Object) Object
Definition: oo.qh:318
Definition: tab.qh:4
#define ATTRIB(...)
Definition: oo.qh:136
#define ENDCLASS(cname)
Definition: oo.qh:269