gamemenu.h
上传用户:sycq158
上传日期:2008-10-22
资源大小:15361k
文件大小:1k
- //-----------------------------------------------------------------------------
- // File: GameMenu.h
- //
- // Desc: Code for in-game menus
- //
- // Copyright (C) Microsoft Corporation. All Rights Reserved.
- //-----------------------------------------------------------------------------
- #pragma once
- //-----------------------------------------------------------------------------
- // Name: class CMenuItem
- // Desc:
- //-----------------------------------------------------------------------------
- class CMenuItem
- {
- public:
- TCHAR strLabel[80];
- DWORD dwID;
- CMenuItem* pParent;
- CMenuItem* pChild[10];
- DWORD dwNumChildren;
- DWORD dwSelectedMenu;
- public:
- HRESULT Render( CD3DFont* pFont );
-
- CMenuItem* Add( CMenuItem* );
- CMenuItem( TCHAR* strLabel, DWORD dwID );
- ~CMenuItem();
- };