MainMenuView.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. =======================================================================================
  3. Copyright (C) 2009-2011 id Software LLC, a ZeniMax Media company. All Right Reserved.
  4. This file is part of the DOOM Classic iOS v2.1 GPL Source Code.
  5. =======================================================================================
  6. */
  7. #import <UIKit/UIKit.h>
  8. #import <Foundation/Foundation.h>
  9. #import "UIFontLabel.h"
  10. #import "UIFontButton.h"
  11. @interface Banner_SubItem : UIFontButton {
  12. @public
  13. }
  14. @end
  15. @interface Banner_SubMenu: UIView {
  16. @public
  17. BOOL isHidden;
  18. }
  19. - (void) Hide;
  20. - (void) Show;
  21. @end
  22. @interface MainMenuView : UIView {
  23. @public
  24. IBOutlet UIFontButton * mPlayButton;
  25. IBOutlet UIFontButton * mSettingsButton;
  26. IBOutlet UIFontButton * mAboutButton;
  27. IBOutlet UIFontButton * mExtrasButton;
  28. IBOutlet Banner_SubMenu * mPlaySubMenu;
  29. IBOutlet Banner_SubMenu * mSettingsSubMenu;
  30. IBOutlet Banner_SubMenu * mAboutSubMenu;
  31. IBOutlet Banner_SubMenu * mExtrasSubMenu;
  32. }
  33. // Sub Menu Banner Actions
  34. - (IBAction) ShowPlayBanner;
  35. - (IBAction) ShowSettingsBanner;
  36. - (IBAction) ShowAboutBanner;
  37. - (IBAction) ShowExtrasBanner;
  38. - (void) ResetMenu;
  39. // Interface Builder Actions ( Connected through IB )
  40. - (IBAction) ResumeGamePressed;
  41. - (IBAction) NewGamePressed;
  42. - (IBAction) MultiplayerPressed;
  43. - (IBAction) CreditsPressed;
  44. - (IBAction) SupportPressed;
  45. - (IBAction) LegalPressed;
  46. - (IBAction) DemoPressed;
  47. - (IBAction) OtherIdGamesPressed;
  48. - (IBAction) ControlsOptionsPressed;
  49. - (IBAction) SettingsOptionsPressed;
  50. @end