[aseprite] 129/308: Fix comment for ui::PopupWindow::setHotRegion() member function
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:01 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 6ec07d5e10f7aeedaa85e60bc5d59217889bbe9a
Author: David Capello <davidcapello at gmail.com>
Date: Thu Dec 17 15:46:13 2015 -0300
Fix comment for ui::PopupWindow::setHotRegion() member function
---
src/ui/popup_window.cpp | 4 ----
src/ui/popup_window.h | 2 ++
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/ui/popup_window.cpp b/src/ui/popup_window.cpp
index f993e64..c8938bb 100644
--- a/src/ui/popup_window.cpp
+++ b/src/ui/popup_window.cpp
@@ -43,10 +43,6 @@ PopupWindow::~PopupWindow()
stopFilteringMessages();
}
-/**
- * @param region The new hot-region. This pointer is holded by the @a widget.
- * So you cannot destroy it after calling this routine.
- */
void PopupWindow::setHotRegion(const gfx::Region& region)
{
startFilteringMessages();
diff --git a/src/ui/popup_window.h b/src/ui/popup_window.h
index b60a5fa..1b37507 100644
--- a/src/ui/popup_window.h
+++ b/src/ui/popup_window.h
@@ -30,6 +30,8 @@ namespace ui {
EnterBehavior enterBehavior = EnterBehavior::CloseOnEnter);
~PopupWindow();
+ // Sets the hot region. This region indicates the area where the
+ // mouse can be located and the window will be kept open.
void setHotRegion(const gfx::Region& region);
void setClickBehavior(ClickBehavior behavior);
void setEnterBehavior(EnterBehavior behavior);
--
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