[aseprite] 85/308: Add PopupWindow::setClick/EnterBehavior() member functions
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:44:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit e78e9eeb2cd3f3aab506872e19921b020056d7f1
Author: David Capello <davidcapello at gmail.com>
Date: Fri Dec 11 12:48:11 2015 -0300
Add PopupWindow::setClick/EnterBehavior() member functions
---
src/ui/popup_window.cpp | 10 ++++++++++
src/ui/popup_window.h | 2 ++
2 files changed, 12 insertions(+)
diff --git a/src/ui/popup_window.cpp b/src/ui/popup_window.cpp
index 8f5025d..22c71c3 100644
--- a/src/ui/popup_window.cpp
+++ b/src/ui/popup_window.cpp
@@ -54,6 +54,16 @@ void PopupWindow::setHotRegion(const gfx::Region& region)
m_hotRegion = region;
}
+void PopupWindow::setClickBehavior(ClickBehavior behavior)
+{
+ m_clickBehavior = behavior;
+}
+
+void PopupWindow::setEnterBehavior(EnterBehavior behavior)
+{
+ m_enterBehavior = behavior;
+}
+
void PopupWindow::makeFloating()
{
stopFilteringMessages();
diff --git a/src/ui/popup_window.h b/src/ui/popup_window.h
index b2104d5..b60a5fa 100644
--- a/src/ui/popup_window.h
+++ b/src/ui/popup_window.h
@@ -31,6 +31,8 @@ namespace ui {
~PopupWindow();
void setHotRegion(const gfx::Region& region);
+ void setClickBehavior(ClickBehavior behavior);
+ void setEnterBehavior(EnterBehavior behavior);
void makeFloating();
void makeFixed();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list