From b4bec5335960f78a0ad6ac6f0c491cb76375bd56 Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 16 Mar 2011 21:31:55 +0100 Subject: added clan name and country flag selector to the player settings --- src/game/client/components/menus_demo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/menus_demo.cpp') diff --git a/src/game/client/components/menus_demo.cpp b/src/game/client/components/menus_demo.cpp index 011b1e5e..c4bfb0e0 100644 --- a/src/game/client/components/menus_demo.cpp +++ b/src/game/client/components/menus_demo.cpp @@ -235,7 +235,7 @@ static int gs_ListBoxItemsPerRow; static float gs_ListBoxScrollValue; static bool gs_ListBoxItemActivated; -void CMenus::UiDoListboxStart(void *pID, const CUIRect *pRect, float RowHeight, const char *pTitle, const char *pBottomText, int NumItems, +void CMenus::UiDoListboxStart(const void *pID, const CUIRect *pRect, float RowHeight, const char *pTitle, const char *pBottomText, int NumItems, int ItemsPerRow, int SelectedIndex, float ScrollValue) { CUIRect Scroll, Row; @@ -340,7 +340,7 @@ CMenus::CListboxItem CMenus::UiDoListboxNextRow() return Item; } -CMenus::CListboxItem CMenus::UiDoListboxNextItem(void *pId, bool Selected) +CMenus::CListboxItem CMenus::UiDoListboxNextItem(const void *pId, bool Selected) { int ThisItemIndex = gs_ListBoxItemIndex; if(Selected) -- cgit 1.4.1