Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
tab.qh
Go to the documentation of this file.
1#pragma once
2
3#include "dialog.qh"
7 ATTRIB(Tab, title, string);
8 ATTRIB(Tab, titleFontSize, float, 0); // pixels
9
10 // still to be customized
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 title
Definition dialog.qh:44
Definition tab.qh:4
bool isTabRoot
Definition tab.qh:5
float marginTop
Definition tab.qh:15
float rows
Definition tab.qh:12
float rowHeight
Definition tab.qh:21
float marginLeft
Definition tab.qh:17
float marginBottom
Definition tab.qh:16
float titleFontSize
Definition tab.qh:8
bool closable
Definition tab.qh:6
float titleHeight
Definition tab.qh:22
float columns
Definition tab.qh:13
float intendedWidth
Definition tab.qh:11
float columnSpacing
Definition tab.qh:19
float rowSpacing
Definition tab.qh:20
ATTRIB(Tab, title, string)
float marginRight
Definition tab.qh:18
#define false
Definition csprogsdefs.qh:6
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281