about summary refs log tree commit diff
path: root/src/game/client/components/menus.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-16 21:31:55 +0100
committeroy <Tom_Adams@web.de>2011-03-16 21:31:55 +0100
commitb4bec5335960f78a0ad6ac6f0c491cb76375bd56 (patch)
tree50a90b68565f103198c670efe9c918ace4428e55 /src/game/client/components/menus.h
parent7412fabb9c74264010cd4ee43b2efddd326cafea (diff)
downloadzcatch-b4bec5335960f78a0ad6ac6f0c491cb76375bd56.tar.gz
zcatch-b4bec5335960f78a0ad6ac6f0c491cb76375bd56.zip
added clan name and country flag selector to the player settings
Diffstat (limited to 'src/game/client/components/menus.h')
-rw-r--r--src/game/client/components/menus.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/game/client/components/menus.h b/src/game/client/components/menus.h
index 0ad63669..e8236f59 100644
--- a/src/game/client/components/menus.h
+++ b/src/game/client/components/menus.h
@@ -40,6 +40,7 @@ class CMenus : public CComponent
 	int DoButton_DemoPlayer_Sprite(const void *pID, int SpriteId, int Checked, const CUIRect *pRect);
 	int DoButton_Menu(const void *pID, const char *pText, int Checked, const CUIRect *pRect);
 	int DoButton_MenuTab(const void *pID, const char *pText, int Checked, const CUIRect *pRect, int Corners);
+	int DoButton_PageMenu(const void *pID, const char *pText, int Checked, bool Active, const CUIRect *pRect, int Corners);
 
 	int DoButton_CheckBox_Common(const void *pID, const char *pText, const char *pBoxText, const CUIRect *pRect);
 	int DoButton_CheckBox(const void *pID, const char *pText, int Checked, const CUIRect *pRect);
@@ -80,9 +81,9 @@ class CMenus : public CComponent
 		CUIRect m_HitRect;
 	};
 	
-	void UiDoListboxStart(void *pID, const CUIRect *pRect, float RowHeight, const char *pTitle, const char *pBottomText, int NumItems,
+	void UiDoListboxStart(const void *pID, const CUIRect *pRect, float RowHeight, const char *pTitle, const char *pBottomText, int NumItems,
 						  int ItemsPerRow, int SelectedIndex, float ScrollValue);
-	CListboxItem UiDoListboxNextItem(void *pID, bool Selected = false);
+	CListboxItem UiDoListboxNextItem(const void *pID, bool Selected = false);
 	CListboxItem UiDoListboxNextRow();
 	int UiDoListboxEnd(float *pScrollValue, bool *pItemActivated);
 	
@@ -153,6 +154,7 @@ class CMenus : public CComponent
 	bool m_NeedRestartGraphics;
 	bool m_NeedRestartSound;
 	bool m_NeedSendinfo;
+	int m_SettingPlayerPage;
 	
 	//
 	bool m_EscapePressed;
@@ -225,6 +227,8 @@ class CMenus : public CComponent
 	
 	// found in menus_settings.cpp
 	void RenderLanguageSelection(CUIRect MainView);
+	void RenderSPPage0(CUIRect MainView);
+	void RenderSPPage1(CUIRect MainView);
 	void RenderSettingsGeneral(CUIRect MainView);
 	void RenderSettingsPlayer(CUIRect MainView);
 	void RenderSettingsControls(CUIRect MainView);