From 87294b7ebc03156f223052ca2a6c70463df568f0 Mon Sep 17 00:00:00 2001 From: randomguy3 Date: Tue, 10 Jan 2012 15:40:11 +0000 Subject: GTK: Edge style support git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@375 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64 --- tikzit/src/linux/StylesPane.h | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 tikzit/src/linux/StylesPane.h (limited to 'tikzit/src/linux/StylesPane.h') diff --git a/tikzit/src/linux/StylesPane.h b/tikzit/src/linux/StylesPane.h new file mode 100644 index 0000000..c1a603d --- /dev/null +++ b/tikzit/src/linux/StylesPane.h @@ -0,0 +1,49 @@ +/* + * Copyright 2012 Alex Merry + * + * This program 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 program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#import "TZFoundation.h" +#import + +@class Configuration; +@class EdgeStylesPalette; +@class NodeStylesPalette; +@class StyleManager; +@class TikzDocument; + +@interface StylesPane: NSObject { + NodeStylesPalette *nodeStyles; + EdgeStylesPalette *edgeStyles; + + GtkWidget *stylesPane; + + GtkExpander *nodeStylesExpander; + GtkExpander *edgeStylesExpander; +} + +@property (readonly) GtkWidget *widget; +@property (retain) TikzDocument *document; +@property (retain) StyleManager *styleManager; + +- (id) initWithManager:(StyleManager*)m; + +- (void) restoreUiStateFromConfig:(Configuration*)file group:(NSString*)group; +- (void) saveUiStateToConfig:(Configuration*)file group:(NSString*)group; + +@end + +// vim:ft=objc:ts=8:et:sts=4:sw=4:foldmethod=marker + -- cgit v1.2.3