-Repositioned the load more results button into the outline view -Improved the replacing of html escape characters -Lyrics Hosters can now be dragged into a preferred order in the preference window -Changed results outline's column ordering method -Some code changes -Replaced the Buttons in the lyrics pane with an action button -Preferred order of lyrics hosters will now be saved -Translation Improvements
31 lines
1016 B
Objective-C
31 lines
1016 B
Objective-C
//
|
|
// PreferencesController.h
|
|
// iLyrics
|
|
//
|
|
// Created by Kim Wittenburg on 14.06.12.
|
|
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "LyricsHoster.h"
|
|
#import "PreferencesWindow.h"
|
|
#import "AutoLyrics.h"
|
|
|
|
@interface PreferencesController : NSObject <NSWindowDelegate, NSTableViewDataSource, NSTableViewDelegate>
|
|
|
|
@property (unsafe_unretained) IBOutlet PreferencesWindow *preferencesWindow;
|
|
@property (weak) IBOutlet NSToolbarItem *generalButton;
|
|
@property (weak) IBOutlet NSTableView *hosterTable;
|
|
@property (weak) IBOutlet NSView *generalView;
|
|
@property (weak) IBOutlet NSView *autoLyricsView;
|
|
@property (weak) IBOutlet NSButton *toggleAutoLyricsButton;
|
|
@property (weak) IBOutlet NSButton *replaceOldCheckBox;
|
|
|
|
- (IBAction)showGeneralPreferences:(id)sender;
|
|
- (IBAction)showAutoLyricsPreferences:(id)sender;
|
|
|
|
- (IBAction)toggleAutoLyrics:(id)sender;
|
|
- (IBAction)changeAutoLyricsInterval:(id)sender;
|
|
- (IBAction)toggleReplaceOldLyrics:(id)sender;
|
|
@end
|