]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/textlabel.qh
Merge branch 'master' into terencehill/dynamic_hud
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / textlabel.qh
1 #pragma once
2
3 #include "../item/label.qh"
4 CLASS(XonoticTextLabel, Label)
5         METHOD(XonoticTextLabel, configureXonoticTextLabel, void(entity, float, string));
6         METHOD(XonoticTextLabel, draw, void(entity));
7         ATTRIB(XonoticTextLabel, fontSize, float, SKINFONTSIZE_NORMAL)
8         ATTRIB(XonoticTextLabel, alpha, float, SKINALPHA_TEXT)
9         ATTRIB(XonoticTextLabel, disabledAlpha, float, SKINALPHA_DISABLED)
10 ENDCLASS(XonoticTextLabel)
11 entity makeXonoticTextLabel(float theAlign, string theText);
12 entity makeXonoticHeaderLabel(string theText);