]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/dialog_multiplayer_profile.qh
Revert "Menu: don't set intendedWidth for tabs, they get overridden by parent dialogs...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_multiplayer_profile.qh
1 #pragma once
2
3 #include "tab.qh"
4 CLASS(XonoticProfileTab, XonoticTab)
5         METHOD(XonoticProfileTab, fill, void(entity));
6         METHOD(XonoticProfileTab, draw, void(entity));
7         ATTRIB(XonoticProfileTab, intendedWidth, float, 0.9);
8         ATTRIB(XonoticProfileTab, rows, float, 23);
9         ATTRIB(XonoticProfileTab, columns, float, 6.1);  // added extra .2 for center space
10         ATTRIB(XonoticProfileTab, playerNameLabel, entity);
11         ATTRIB(XonoticProfileTab, playerNameLabelAlpha, float, SKINALPHA_HEADER);
12         ATTRIB(XonoticProfileTab, name, string, "profile");
13 ENDCLASS(XonoticProfileTab)
14 entity makeXonoticProfileTab();