Skip to content

Commit 1157617

Browse files
committed
Created a preferences view for the sugar.
1 parent aca2462 commit 1157617

File tree

5 files changed

+671
-0
lines changed

5 files changed

+671
-0
lines changed

Code/LTXPreferencesView.h

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// Test.h
3+
// Latex
4+
//
5+
// Created by Stefan Ollinger on 14.03.11.
6+
// Copyright 2011 __MyCompanyName__. All rights reserved.
7+
//
8+
9+
@interface LTXPreferencesViewController : NSViewController
10+
{
11+
NSButton *showCompileErrors;
12+
}
13+
14+
@property (readonly,retain) IBOutlet NSButton *showCompileErrors;
15+
16+
@end

Code/LTXPreferencesView.m

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// LTXPreferences.m
3+
// Latex
4+
//
5+
// Created by Stefan Ollinger on 14.03.11.
6+
// Copyright 2011 __MyCompanyName__. All rights reserved.
7+
//
8+
9+
#import "LTXPreferencesView.h"
10+
11+
@implementation LTXPreferencesViewController
12+
13+
@synthesize showCompileErrors;
14+
15+
@end

Info.plist

+4
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@
2424
<string>1.0</string>
2525
<key>NSPrincipalClass</key>
2626
<string></string>
27+
<key>PluginPreferencesNibName</key>
28+
<string>LTXPreferencesView</string>
29+
<key>PluginPreferencesViewController</key>
30+
<string>LTXPreferencesViewController</string>
2731
</dict>
2832
</plist>

0 commit comments

Comments
 (0)