source: orbit/iOS/Orbit/Orbit/controllers/AdvancedViewController.h @ 0a45bc8

Servo
Last change on this file since 0a45bc8 was 0a45bc8, checked in by Steve Castellotti <sc@…>, 7 years ago
  • Presets buttons added (Hover, Forward, Left and Right)
  • Property mode set to 100644
File size: 1.8 KB
Line 
1//
2//  AdvancedViewController.h
3//  orbit
4//
5//  Copyright (c) 2013 Puzzlebox Productions, LLC. All rights reserved.
6//  Originally created by Jonathon Horsman.
7//
8//  This code is released under the GNU Public License (GPL) version 2
9//  For more information please refer to http://www.gnu.org/copyleft/gpl.html
10//
11
12#import <UIKit/UIKit.h>
13
14@interface AdvancedViewController : UIViewController
15
16@property (nonatomic, retain) IBOutlet UIBarButtonItem *resetButton;
17
18@property (nonatomic, retain) IBOutlet UILabel *throttlePercent;
19@property (nonatomic, retain) IBOutlet UISlider *throttle;
20@property (nonatomic, retain) IBOutlet UILabel *yawPercent;
21@property (nonatomic, retain) IBOutlet UISlider *yaw;
22@property (nonatomic, retain) IBOutlet UILabel *pitchPercent;
23@property (nonatomic, retain) IBOutlet UISlider *pitch;
24
25@property (nonatomic, retain) IBOutlet UILabel *presets;
26@property (nonatomic, retain) IBOutlet UIButton *buttonHover;
27@property (nonatomic, retain) IBOutlet UIButton *buttonForward;
28@property (nonatomic, retain) IBOutlet UIButton *buttonLeft;
29@property (nonatomic, retain) IBOutlet UIButton *buttonRight;
30
31@property (nonatomic, retain) IBOutlet UILabel *tiltSensorControl;
32@property (nonatomic, retain) IBOutlet UISwitch *switchTiltSensorControl;
33@property (nonatomic, retain) IBOutlet UILabel *tiltSensorControlThrottle;
34@property (nonatomic, retain) IBOutlet UISwitch *switchTiltSensorControlThrottle;
35
36- (IBAction) resetButtonPressed:(id)button;
37
38- (IBAction) pitchChanged:(id)sender;
39- (IBAction) yawChanged:(id)sender;
40- (IBAction) throttleChanged:(id)sender;
41
42- (IBAction) hoverButtonPressed:(id)sender;
43- (IBAction) forwardButtonPressed:(id)sender;
44- (IBAction) leftButtonPressed:(id)sender;
45- (IBAction) rightButtonPressed:(id)sender;
46
47- (IBAction)changeSwitchTiltSensorControl:(id)sender;
48- (IBAction)changeSwitchTiltSensorControlThrottle:(id)sender;
49
50@end
Note: See TracBrowser for help on using the repository browser.