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>2010-09-05 17:53:31 +0200
committeroy <Tom_Adams@web.de>2010-09-05 17:53:31 +0200
commit5588e1ec8caff39e2a21ce6d9d7c13c5f4d603f1 (patch)
treeb9b761bc64d1c1b3bed8c424f29c0a51e2a8d430 /src/game/client/components/menus.h
parentfcfaa8389f968bc89fbd4afbfc70ea7c3815c7bb (diff)
downloadzcatch-5588e1ec8caff39e2a21ce6d9d7c13c5f4d603f1.tar.gz
zcatch-5588e1ec8caff39e2a21ce6d9d7c13c5f4d603f1.zip
fixed selected index when deleting a demo and added a popup to confirm the deletion
Diffstat (limited to 'src/game/client/components/menus.h')
-rw-r--r--src/game/client/components/menus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/client/components/menus.h b/src/game/client/components/menus.h
index ec2ff264..6998acfe 100644
--- a/src/game/client/components/menus.h
+++ b/src/game/client/components/menus.h
@@ -95,6 +95,7 @@ class CMenus : public CComponent
 		POPUP_MESSAGE,
 		POPUP_DISCONNECTED,
 		POPUP_PURE,
+		POPUP_DELETE_DEMO,
 		POPUP_PASSWORD,
 		POPUP_QUIT, 
 	};
@@ -163,6 +164,7 @@ class CMenus : public CComponent
 	
 	sorted_array<CDemoItem> m_lDemos;
 	char m_aCurrentDemoFolder[256];
+	bool m_DemolistDelEntry;
 	
 	void DemolistPopulate();
 	static void DemolistCountCallback(const char *pName, int IsDir, void *pUser);