projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added my "Copyright (c) 2007" notices, for files I edited in 2007.
[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
179fba7
..
167e0c8
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 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
@@
-134,6
+135,7
@@
private:
bool editable;
bool radius_;
bool tangent_;
bool editable;
bool radius_;
bool tangent_;
+ bool hover_;
synfig::TransformStack transform_stack_;
synfig::TransformStack transform_stack_;
@@
-167,6
+169,12
@@
public:
//! \writeme
bool get_tangent()const { return tangent_; }
//! \writeme
bool get_tangent()const { return tangent_; }
+ //! Sets whether to show the duck as if it is being hovered over
+ void set_hover(bool h) { hover_=h; }
+
+ //! Retrieves whether to show the duck as if it is being hovered over
+ bool get_hover()const { return hover_; }
+
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; }