X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/2443be4cac9083f0b3d498dca588794ad65ae38c..f350bbd7ac106a9e5c4d09cf0a104f8581851dd2:/PreferencesController.h diff --git a/PreferencesController.h b/PreferencesController.h index 7be6a5e..015d083 100755 --- a/PreferencesController.h +++ b/PreferencesController.h @@ -14,7 +14,7 @@ #import -@class MainController, KeyCombo; +@class CustomMenuTableView, MainController, ITKeyCombo; @interface PreferencesController : NSObject { @@ -24,31 +24,40 @@ IBOutlet NSTextField *keyComboField; IBOutlet NSPanel *keyComboPanel; IBOutlet NSButton *launchAtLoginCheckbox; - IBOutlet NSTableView *menuTableView; + IBOutlet NSButton *launchPlayerAtLaunchCheckbox; + IBOutlet CustomMenuTableView *menuTableView; IBOutlet NSButton *nameCheckbox; IBOutlet NSButton *nextTrackButton; IBOutlet NSButton *playPauseButton; IBOutlet NSButton *previousTrackButton; + IBOutlet NSButton *ratingCheckbox; IBOutlet NSButton *ratingDecrementButton; IBOutlet NSButton *ratingIncrementButton; IBOutlet NSTextField *songsInAdvance; IBOutlet NSButton *toggleLoopButton; IBOutlet NSButton *toggleShuffleButton; IBOutlet NSButton *trackInfoButton; + IBOutlet NSButton *trackNumberCheckbox; IBOutlet NSButton *trackTimeCheckbox; IBOutlet NSButton *upcomingSongsButton; - IBOutlet NSButton *visualizerButton; + IBOutlet NSButton *showPlayerButton; IBOutlet NSButton *volumeDecrementButton; IBOutlet NSButton *volumeIncrementButton; IBOutlet NSWindow *window; - + IBOutlet NSPopUpButton *appearanceEffectPopup; + IBOutlet NSPopUpButton *vanishEffectPopup; + IBOutlet NSSlider *appearanceSpeedSlider; + IBOutlet NSSlider *vanishSpeedSlider; + IBOutlet NSSlider *vanishDelaySlider; + IBOutlet NSButton *showOnChangeCheckbox; + MainController *controller; NSUserDefaults *df; NSMutableArray *availableItems; NSMutableArray *myItems; NSArray *submenuItems; - KeyCombo *combo; + ITKeyCombo *combo; NSString *currentHotKey; NSMutableDictionary *hotKeysDictionary; } @@ -71,5 +80,8 @@ - (IBAction)okHotKey:(id)sender; - (void)setCurrentHotKey:(NSString *)key; -- (void)setKeyCombo:(KeyCombo *)newCombo; +- (void)setKeyCombo:(ITKeyCombo *)newCombo; + +- (void)deletePressedInTableView:(NSTableView *)tableView; + @end