From 5588e1ec8caff39e2a21ce6d9d7c13c5f4d603f1 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 5 Sep 2010 17:53:31 +0200 Subject: fixed selected index when deleting a demo and added a popup to confirm the deletion --- src/game/client/components/menus.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/client/components/menus.h') 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 m_lDemos; char m_aCurrentDemoFolder[256]; + bool m_DemolistDelEntry; void DemolistPopulate(); static void DemolistCountCallback(const char *pName, int IsDir, void *pUser); -- cgit 1.4.1