apps-projectcenter/Modules/Preferences/EditorFSC/PCEditorFSCPrefs.h
Riccardo Mottola 35b76bb231 Provide Editor and Fixed font preferences, instead of plain and rich
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38395 72102866-910b-0410-8b05-ffd578937521
2015-03-11 07:21:35 +00:00

75 lines
2.4 KiB
Objective-C

//
// GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
//
// Copyright (C) 2001-2015 Free Software Foundation
//
// Authors: Sergii Stoian
// Riccardo Mottola
//
// Description:
//
// This file is part of GNUstep.
//
// This application is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public
// License as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//
// This application is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Library General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this library; if not, write to the Free
// Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
#import <AppKit/AppKit.h>
#import <Protocols/Preferences.h>
#define EditorTextFont @"EditorTextFont"
#define EditorTextFontSize @"EditorTextFontSize"
#define ConsoleFixedFont @"ConsoleFixedFont"
#define ConsoleFixedFontSize @"ConsoleFixedFontSize"
#define EditorLines @"EditorLines"
#define EditorColumns @"EditorColumns"
#define EditorForegroundColor @"EditorForegroundColor"
#define EditorBackgroundColor @"EditorBackgroundColor"
#define EditorSelectionColor @"EditorSelectionColor"
@interface PCEditorFSCPrefs : NSObject <PCPrefsSection>
{
id <PCPreferences> prefs;
IBOutlet NSBox *editorFSCView;
IBOutlet NSButton *editorFontButton;
IBOutlet NSTextField *editorFontField;
IBOutlet NSButton *consoleFixedFontButton;
IBOutlet NSTextField *consoleFixedFontField;
IBOutlet NSTextField *editorLinesField;
IBOutlet NSTextField *editorColumnsField;
IBOutlet NSColorWell *foregroundColorWell;
IBOutlet NSColorWell *backgroundColorWell;
IBOutlet NSColorWell *selectionColorWell;
NSFont *currentEditorFont;
NSFont *currentConsoleFixedFont;
NSColor *currentBackgroundColor;
NSColor *currentForegroundColor;
NSColor *currentSelectionColor;
}
- (void)setEditorTextFont:(id)sender;
- (void)setConsoleFixedFont:(id)sender;
- (void)setEditorSize:(id)sender;
- (void)setEditorColor:(id)sender;
@end