12 m_Root =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/dlc_panels/BannerTemplate.layout",
m_Parent);
15 m_BannerBody =
m_Root.FindAnyWidget(
"BadgeBody");
16 m_BannerWedge =
m_Root.FindAnyWidget(
"BadgeWedge");
19 m_BannerBody.SetAlpha(1.0);
20 m_BannerWedge.SetAlpha(1.0);
25 m_BannerBody.SetColor(
argb);
26 m_BannerWedge.SetColor(
argb);
31 m_BannerText.SetText(
text);
36 if (
w == m_BannerText)
39 m_BannerText.GetScreenSize(
w0,
h0);
43 m_BannerBody.GetScreenPos(
x0,
y0);
45 m_BannerWedge.GetScreenSize(
w0,
h0);
proto native CGame GetGame()
static proto float Ceil(float f)
Returns ceil of value.