summaryrefslogtreecommitdiff
path: root/src/game/client/components/menus_listbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/menus_listbox.cpp')
-rw-r--r--src/game/client/components/menus_listbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/client/components/menus_listbox.cpp b/src/game/client/components/menus_listbox.cpp
index be0f2fc06..a9ed04d70 100644
--- a/src/game/client/components/menus_listbox.cpp
+++ b/src/game/client/components/menus_listbox.cpp
@@ -37,7 +37,7 @@ void CMenus::CListBox::DoHeader(const CUIRect *pRect, const char *pTitle,
// draw header
View.HSplitTop(HeaderHeight, &Header, &View);
Header.y += 2.0f;
- m_pUI->DoLabel(&Header, pTitle, Header.h*ms_FontmodHeight*0.8f, TEXTALIGN_CENTER);
+ m_pUI->DoLabel(&Header, pTitle, Header.h*CUI::ms_FontmodHeight*0.8f, TEXTALIGN_CENTER);
View.HSplitTop(Spacing, &Header, &View);
@@ -65,7 +65,7 @@ bool CMenus::CListBox::DoFilter(float FilterHeight, float Spacing)
View.HSplitTop(FilterHeight, &Filter, &View);
Filter.Margin(Spacing, &Filter);
- float FontSize = Filter.h*ms_FontmodHeight*0.8f;
+ float FontSize = Filter.h*CUI::ms_FontmodHeight*0.8f;
CUIRect Label, EditBox;
Filter.VSplitLeft(Filter.w/5.0f, &Label, &EditBox);
@@ -107,7 +107,7 @@ void CMenus::CListBox::DoStart(float RowHeight, int NumItems, int ItemsPerRow, i
View.HSplitBottom(m_FooterHeight, &View, &Footer);
Footer.VSplitLeft(10.0f, 0, &Footer);
Footer.y += 2.0f;
- m_pUI->DoLabel(&Footer, m_pBottomText, Footer.h*ms_FontmodHeight*0.8f, TEXTALIGN_CENTER);
+ m_pUI->DoLabel(&Footer, m_pBottomText, Footer.h*CUI::ms_FontmodHeight*0.8f, TEXTALIGN_CENTER);
}
// setup the variables