-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSleepTimerSettingsViewController.h
64 lines (53 loc) · 1.83 KB
/
SleepTimerSettingsViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//
// SleepTimerSettingsViewController.h
// Sleep Blaster touch
//
// Created by Eamon Ford on 1/29/10.
// Copyright 2010 The Byte Factory. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
#import "ShadowedLabel.h"
@interface SleepTimerSettingsViewController : UIViewController <MPMediaPickerControllerDelegate, UITableViewDelegate, UITableViewDataSource> {
IBOutlet UISegmentedControl *segmentedControl;
IBOutlet UIDatePicker *datePicker;
IBOutlet UITableView *musicTableView;
IBOutlet UITableView *timerTableView;
IBOutlet UIButton *button;
IBOutlet UIView *datePickerContainerView;
IBOutlet UIView *artworkContainerView;
IBOutlet UIImageView *artworkImageView;
IBOutlet UILabel *timerLabel;
IBOutlet UILabel *songLabel;
IBOutlet UILabel *artistLabel;
IBOutlet UINavigationBar *navigationBar;
IBOutlet UIButton *previousButton;
IBOutlet UIButton *nextButton;
IBOutlet UISlider *volumeSlider;
BOOL datePickerIsShowing;
UITableViewCell *musicCell;
ShadowedLabel *hourLabel2;
ShadowedLabel *hourLabel1;
ShadowedLabel *minuteLabel1;
ShadowedLabel *minuteLabel2;
int secondsLeftOnTimer;
}
//- (void)segmentedControlTapped:(id)sender;
- (void)setTimerString;
- (void)setSongArtworkAndLabels;
- (void)setButtonSegmentImages;
- (IBAction)nextSong:(id)sender;
- (IBAction)previousSong:(id)sender;
- (IBAction)setSleepTimerTime:(id)sender;
- (IBAction)toggleSleepTimer:(id)sender;
- (IBAction)chooseMusic: (id) sender;
- (IBAction)doneButtonTapped:(id)sender;
- (IBAction)buttonSegmentTapped:(UIButton *)sender;
- (IBAction)volumeSliderMoved:(UISlider *)sender;
- (void)showArtworkContainerView;
- (void)hideArtworkContainerView;
- (void)updateTimerLabel:(NSTimer *)theTimer;
- (void)setLabelInMusicCell;
- (IBAction)toggleDatePicker:(id)sender;
@property (nonatomic, retain) UITableViewCell *musicCell;
@end