Skip to content

Commit 85e99b8

Browse files
ChillerDragonSollyBunny
authored andcommitted
Plug ChillerDragon's ass
1 parent 80acfc3 commit 85e99b8

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/game/client/components/tclient/menus_tclient.cpp

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,7 @@ void CMenus::RenderSettingsTClientInfo(CUIRect MainView)
20542054
const float TeeSize = 50.0f;
20552055
const float CardSize = TeeSize + MarginSmall;
20562056
CUIRect TeeRect, DevCardRect;
2057-
static CButtonContainer s_LinkButton1, s_LinkButton2, s_LinkButton3, s_LinkButton4;
2057+
static CButtonContainer s_LinkButton1, s_LinkButton2, s_LinkButton3, s_LinkButton4, s_LinkButton5;
20582058
{
20592059
RightView.HSplitTop(CardSize, &DevCardRect, &RightView);
20602060
DevCardRect.VSplitLeft(CardSize, &TeeRect, &Label);
@@ -2099,6 +2099,17 @@ void CMenus::RenderSettingsTClientInfo(CUIRect MainView)
20992099
Client()->ViewLink("https://github.com/Teero888");
21002100
RenderDevSkin(TeeRect.Center(), 50.0f, "glow_mermyfox", "mermyfox", true, 0, 0, 0, false, ColorRGBA(1.00f, 1.00f, 1.00f, 1.00f), ColorRGBA(1.00f, 0.02f, 0.13f, 1.00f));
21012101
}
2102+
{
2103+
RightView.HSplitTop(CardSize, &DevCardRect, &RightView);
2104+
DevCardRect.VSplitLeft(CardSize, &TeeRect, &Label);
2105+
Label.VSplitLeft(TextRender()->TextWidth(LineSize, "ChillerDragon"), &Label, &Button);
2106+
Button.VSplitLeft(MarginSmall, nullptr, &Button);
2107+
Button.w = LineSize, Button.h = LineSize, Button.y = Label.y + (Label.h / 2.0f - Button.h / 2.0f);
2108+
Ui()->DoLabel(&Label, "ChillerDragon", LineSize, TEXTALIGN_ML);
2109+
if(Ui()->DoButton_FontIcon(&s_LinkButton5, FONT_ICON_ARROW_UP_RIGHT_FROM_SQUARE, 0, &Button, IGraphics::CORNER_ALL))
2110+
Client()->ViewLink("https://github.com/ChillerDragon");
2111+
RenderDevSkin(TeeRect.Center(), 50.0f, "glow_greensward", "greensward", false, 0, 0, 0, false, ColorRGBA(1.00f, 1.00f, 1.00f, 1.00f), ColorRGBA(1.00f, 0.02f, 0.13f, 1.00f));
2112+
}
21022113

21032114
RightView.HSplitTop(MarginSmall, nullptr, &RightView);
21042115
RightView.HSplitTop(HeadlineHeight, &Label, &RightView);

0 commit comments

Comments
 (0)