mainmenu.h 678 B

1234567891011121314151617181920212223242526272829303132
  1. //===========================================================================//
  2. // Copyright (C) Microsoft Corporation. All rights reserved. //
  3. //===========================================================================//
  4. #ifndef MAINMENU_H
  5. #define MAINMENU_H
  6. #include "wlib.h"
  7. #include "resource.h"
  8. #include "d3dfont.h"
  9. class EditorInterface;
  10. class MainMenu:public Window
  11. {
  12. protected:
  13. bool bEndModal;
  14. EditorInterface *m_pEditorInterface;
  15. public:
  16. Menu *pMenu;
  17. MainMenu(EditorInterface *pEditorInterface);
  18. void DoModal();
  19. void OnCommand(Window *wnd, int nCommand);
  20. };
  21. extern MainMenu *pMainMenu;
  22. #endif