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/NodeStyle.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/NodeStyle.h')
-rw-r--r-- | tikzit/src/common/NodeStyle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tikzit/src/common/NodeStyle.h b/tikzit/src/common/NodeStyle.h index 68aafad..034f95d 100644 --- a/tikzit/src/common/NodeStyle.h +++ b/tikzit/src/common/NodeStyle.h @@ -115,6 +115,11 @@ */ + (NodeStyle*)defaultNodeStyleWithName:(NSString *)nm; +/*! + * Make this style the same as the given one + */ +- (void) updateFromStyle:(NodeStyle*)style; + @end // vi:ft=objc:noet:ts=4:sts=4:sw=4 |