Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (45 sloc) 1.786 kb
a327ea2 @andreyvit Imported official Platypus 4.0 sources.
authored
1 /*
2 Platypus - program for creating Mac OS X application wrappers around scripts
3 Copyright (C) 2008 Sveinbjorn Thordarson <sveinbjornt@simnet.is>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
19 */
20
21 #import <Cocoa/Cocoa.h>
22
23 @interface TextSettingsController : NSObject
24 {
25 IBOutlet id window;
26 IBOutlet id textSettingsWindow;
27
28 IBOutlet id backgroundColorWell;
29 IBOutlet id foregroundColorWell;
30
31 IBOutlet id fontFaceTextField;
32 IBOutlet id textEncodingPopupButton;
33
34 IBOutlet id textPreviewTextView;
35 IBOutlet id textSettingsButton;
36
37 NSFont *currentFont;
38 }
39 - (IBAction)apply:(id)sender;
40 - (IBAction)resetDefaults:(id)sender;
41 - (IBAction)show:(id)sender;
42 - (void)changeColor:(id)sender;
43 - (IBAction)chooseFont:(id)sender;
44 - (void)changeFont:(id)sender;
45 - (void)setCurrentFont:(NSFont *)font;
46 - (void)updateFontField;
47
48 - (int)getTextEncoding;
49 - (NSFont *)getTextFont;
50 - (NSColor *)getTextForeground;
51 - (NSColor *)getTextBackground;
52
53 - (void)setTextEncoding: (int)encoding;
54 - (void)setTextFont: (NSFont *)font;
55 - (void )setTextForeground: (NSColor *)color;
56 - (void )setTextBackground: (NSColor *)color;
57
58
59 @end
Something went wrong with that request. Please try again.