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 "../item/tab.qh"
5 // still to be customized by user
6 /*
7 ATTRIB(XonoticTab, intendedWidth, float, 0);
8 ATTRIB(XonoticTab, rows, float, 3);
9 ATTRIB(XonoticTab, columns, float, 2);
10 */
12
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
20
21 ATTRIB(XonoticTab, backgroundImage, string);
22
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);
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Definition tab.qh:4
float marginTop
Definition tab.qh:13
float rowSpacing
Definition tab.qh:18
float marginLeft
Definition tab.qh:15
virtual void showNotify()
float rowHeight
Definition tab.qh:19
float marginBottom
Definition tab.qh:14
float columnSpacing
Definition tab.qh:17
float marginRight
Definition tab.qh:16
ATTRIB(XonoticTab, backgroundImage, string)
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define METHOD(cname, name, prototype)
Definition oo.qh:269