diff options
| author | oy <Tom_Adams@web.de> | 2010-09-07 19:31:20 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-09-07 19:31:20 +0200 |
| commit | eecdff0cf5c5153cc55c74e6227a2fd9b7068923 (patch) | |
| tree | c5af08ccbe515ff5adc71cc0068f78446c081104 /src/game/client | |
| parent | 56c4081da403728486bf747666c0f745567a0be6 (diff) | |
| download | zcatch-eecdff0cf5c5153cc55c74e6227a2fd9b7068923.tar.gz zcatch-eecdff0cf5c5153cc55c74e6227a2fd9b7068923.zip | |
fixed overlapping in last commit
Diffstat (limited to 'src/game/client')
| -rw-r--r-- | src/game/client/components/menus_demo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/client/components/menus_demo.cpp b/src/game/client/components/menus_demo.cpp index 526ff0a9..6c5dcbe4 100644 --- a/src/game/client/components/menus_demo.cpp +++ b/src/game/client/components/menus_demo.cpp @@ -70,7 +70,7 @@ void CMenus::RenderDemoPlayer(CUIRect MainView) MainView.HSplitTop(SeekBarHeight, &SeekBar, &ButtonBar); ButtonBar.HSplitTop(Margins, 0, &ButtonBar); ButtonBar.HSplitBottom(NameBarHeight, &ButtonBar, &NameBar); - NameBar.HSplitTop(3.5f, 0, &NameBar); + NameBar.HSplitTop(4.0f, 0, &NameBar); } else SeekBar = MainView; @@ -207,8 +207,8 @@ void CMenus::RenderDemoPlayer(CUIRect MainView) char aBuf[128]; str_format(aBuf, sizeof(aBuf), "Demofile: %s", DemoPlayer()->GetDemoName()); CTextCursor Cursor; - TextRender()->SetCursor(&Cursor, NameBar.x, NameBar.y, Button.h*0.7f, TEXTFLAG_RENDER|TEXTFLAG_STOP_AT_END); - Cursor.m_LineWidth = 450.0f; + TextRender()->SetCursor(&Cursor, NameBar.x, NameBar.y, Button.h*0.5f, TEXTFLAG_RENDER|TEXTFLAG_STOP_AT_END); + Cursor.m_LineWidth = MainView.w; TextRender()->TextEx(&Cursor, aBuf, -1); } } |