diff options
author | Alex Merry <alex.merry@cs.ox.ac.uk> | 2013-02-04 14:45:56 +0000 |
---|---|---|
committer | Alex Merry <alex.merry@cs.ox.ac.uk> | 2013-02-04 14:45:56 +0000 |
commit | 19e555267a2170d38e77e563192bfafe20d2f5c5 (patch) | |
tree | 526dff96fc68289ba6ff932f16dfe748b8991f11 /tikzit/src/common/StyleManager.h | |
parent | fe1b43c7b7c83e392b60ffc71ac29f7e63810f58 (diff) |
Only change style settings when OK is clicked
If the user clicks Cancel, nothing changes.
Diffstat (limited to 'tikzit/src/common/StyleManager.h')
-rw-r--r-- | tikzit/src/common/StyleManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tikzit/src/common/StyleManager.h b/tikzit/src/common/StyleManager.h index 0fb2436..bc920e7 100644 --- a/tikzit/src/common/StyleManager.h +++ b/tikzit/src/common/StyleManager.h @@ -19,7 +19,7 @@ #import "NodeStyle.h" #import "EdgeStyle.h" -@interface StyleManager: NSObject { +@interface StyleManager: NSObject <NSCopying> { NSMutableArray *nodeStyles; NSMutableArray *edgeStyles; } @@ -42,6 +42,8 @@ - (void) addEdgeStyle:(EdgeStyle*)style; - (void) removeEdgeStyle:(EdgeStyle*)style; +- (void) updateFromManager:(StyleManager*)manager; + @end // vi:ft=objc:noet:ts=4:sts=4:sw=4 |