projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an "encapsulate" button to the layer dialog. Can someone design a better icon...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
duck.h
diff --git
a/synfig-studio/trunk/src/gtkmm/duck.h
b/synfig-studio/trunk/src/gtkmm/duck.h
index
7b96d9b
..
1366472
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/duck.h
+++ b/
synfig-studio/trunk/src/gtkmm/duck.h
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007, 2008 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-135,6
+136,7
@@
private:
bool radius_;
bool tangent_;
bool hover_;
bool radius_;
bool tangent_;
bool hover_;
+ bool ignore_;
synfig::TransformStack transform_stack_;
synfig::TransformStack transform_stack_;
@@
-174,6
+176,12
@@
public:
//! Retrieves whether to show the duck as if it is being hovered over
bool get_hover()const { return hover_; }
//! Retrieves whether to show the duck as if it is being hovered over
bool get_hover()const { return hover_; }
+ //! Sets whether to ignore the duck when checking for user interaction
+ void set_ignore(bool i) { ignore_=i; }
+
+ //! Retrieves whether to ignore the duck when checking for user interaction
+ bool get_ignore()const { return ignore_; }
+
void set_connect_duck(const etl::handle<Duck>& x) { connect_duck=x; }
void set_box_duck(const etl::handle<Duck>& x) { box_duck=x; }
void set_connect_duck(const etl::handle<Duck>& x) { connect_duck=x; }
void set_box_duck(const etl::handle<Duck>& x) { box_duck=x; }