X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/cb8ff99465a0d5d790ce221363bfd47de23d16d7..f4138fee3ff009b89aba308c5736357d2245118b:/PreferencesController.h diff --git a/PreferencesController.h b/PreferencesController.h index 98519f3..015d083 100755 --- a/PreferencesController.h +++ b/PreferencesController.h @@ -14,7 +14,7 @@ #import -@class MainController, KeyCombo; +@class CustomMenuTableView, MainController, ITKeyCombo; @interface PreferencesController : NSObject { @@ -25,11 +25,12 @@ IBOutlet NSPanel *keyComboPanel; IBOutlet NSButton *launchAtLoginCheckbox; IBOutlet NSButton *launchPlayerAtLaunchCheckbox; - IBOutlet NSTableView *menuTableView; + 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; @@ -43,14 +44,20 @@ 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; } @@ -73,5 +80,8 @@ - (IBAction)okHotKey:(id)sender; - (void)setCurrentHotKey:(NSString *)key; -- (void)setKeyCombo:(KeyCombo *)newCombo; +- (void)setKeyCombo:(ITKeyCombo *)newCombo; + +- (void)deletePressedInTableView:(NSTableView *)tableView; + @end