Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 87 lines (74 sloc) 3.466 kb
/* PrefsWindowController */
/*Copyright (c) 2010, Zachary Schneirov. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions
and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of
conditions and the following disclaimer in the documentation and/or other materials provided with
the distribution.
- Neither the name of Notational Velocity nor the names of its contributors may be used to endorse
or promote products derived from this software without specific prior written permission. */
#import <Cocoa/Cocoa.h>
@class NotationPrefsViewController;
@class GlobalPrefs;
@interface PrefsWindowController : NSObject {
IBOutlet NSPopUpButton *folderLocationsMenuButton;
IBOutlet NSTextField *bodyTextFontField;
IBOutlet NSMatrix *tabKeyRadioMatrix;
IBOutlet NSPopUpButton *tableTextMenuButton;
IBOutlet NSTextField *tableTextSizeField;
IBOutlet NSTextField *appShortcutField;
IBOutlet NSButton *completeNoteTitlesButton;
IBOutlet NSButton *checkSpellingButton;
IBOutlet NSButton *confirmDeletionButton;
IBOutlet NSButton *quitWhenClosingButton;
IBOutlet NSButton *styledTextButton;
IBOutlet NSButton *autoSuggestLinksButton;
IBOutlet NSButton *softTabsButton;
IBOutlet NSButton *makeURLsClickable;
IBOutlet NSButton *rtlButton;
IBOutlet NSButton *useMarkdownImportButton;
IBOutlet NSButton *useReadabilityButton;
IBOutlet NSColorWell *searchHighlightColorWell;
IBOutlet NSColorWell *notesListBackgroundColorWell;
IBOutlet NSButton *alternatingRowsButton;
IBOutlet NotationPrefsViewController *notationPrefsViewController;
NSMutableParagraphStyle *centerStyle;
NSMutableDictionary *items;
NSToolbar *toolbar;
BOOL fontPanelWasOpen;
IBOutlet NSWindow *window;
IBOutlet NSView *editingView, *generalView, *databaseView, *notationPrefsView;
GlobalPrefs *prefsController;
}
- (void)showWindow:(id)sender;
- (IBAction)changedSearchHighlightColorWell:(id)sender;
- (IBAction)changedNotesListBackgroundColorWell:(id)sender;
- (IBAction)changedMakeURLsClickable:(id)sender;
- (IBAction)changedRTL:(id)sender;
- (IBAction)changedUseMarkdownImport:(id)sender;
- (IBAction)changedUseReadability:(id)sender;
- (IBAction)changedStyledTextBehavior:(id)sender;
- (IBAction)changedAutoSuggestLinks:(id)sender;
- (IBAction)setAppShortcut:(id)sender;
- (IBAction)changeBodyFont:(id)sender;
- (void)previewNoteBodyFont;
- (IBAction)changedNoteDeletion:(id)sender;
- (IBAction)changedNotesFolderLocation:(id)sender;
- (IBAction)changedQuitBehavior:(id)sender;
- (IBAction)changedSpellChecking:(id)sender;
- (IBAction)changedTabBehavior:(id)sender;
- (IBAction)changedTableText:(id)sender;
- (IBAction)changedTitleCompletion:(id)sender;
- (IBAction)changedSoftTabs:(id)sender;
- (IBAction)changedAlternatingRows:(id)sender;
- (NSMenu*)directorySelectionMenu;
- (void)changeDefaultDirectory;
- (BOOL)getNewNotesRefFromOpenPanel:(FSRef*)notesDirectoryRef returnedPath:(NSString**)path;
- (NotationPrefsViewController*)notationPrefsViewController;
- (NSView*)databaseView;
- (void)addToolbarItemWithName:(NSString*)name;
- (void)switchViews:(NSToolbarItem *)item;
NSRect ScaleRectWithFactor(NSRect rect, float factor);
@end
Jump to Line
Something went wrong with that request. Please try again.