ControlsMenuView.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. @interface ControlsMenuView : UIView {
  10. IBOutlet UISlider * movestickSize;
  11. IBOutlet UISlider * turnstickSize;
  12. IBOutlet UISlider * tiltMoveSpeed;
  13. IBOutlet UISlider * tiltTurnSpeed;
  14. IBOutlet UIButton * singleThumbButton;
  15. IBOutlet UIButton * dualThumbButton;
  16. IBOutlet UIButton * dirWheelButton;
  17. }
  18. - (void) SetupSlider:(UISlider*)slider minimumTrack:(UIImage*)minImage
  19. maximumTrack:(UIImage*)maxImage
  20. thumb:(UIImage*)thumbImage;
  21. - (void) SetOptions;
  22. - (IBAction) BackToMain;
  23. - (IBAction) HudLayoutPressed;
  24. - (IBAction) SingleThumbpadPressed;
  25. - (IBAction) DualThumbpadPressed;
  26. - (IBAction) DirWheelPressed;
  27. - (IBAction) MoveStickValChanged;
  28. - (IBAction) TurnStickValChanged;
  29. - (IBAction) TiltMoveValChanged;
  30. - (IBAction) TiltTurnValChanged;
  31. @end