[aseprite] 186/308: Minor comment changes in widget.h

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:45:09 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 1260cf12c5627fe0cd02e53a843fdc342e25ebf8
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Jan 5 16:28:54 2016 -0300

    Minor comment changes in widget.h
---
 src/ui/widget.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/ui/widget.h b/src/ui/widget.h
index 28c0742..092290b 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -297,12 +297,13 @@ namespace ui {
     void invalidateRect(const gfx::Rect& rect);
     void invalidateRegion(const gfx::Region& region);
 
-    // Returns the invalid region to being updated with PaintMessages
-    // and onPaint() events.
+    // Returns the region to generate PaintMessages. It's cleared
+    // after flushRedraw() is called.
     const gfx::Region& getUpdateRegion() const {
       return m_updateRegion;
     }
 
+    // Generates paint messages for the current update region.
     void flushRedraw();
 
     void scrollRegion(const gfx::Region& region, const gfx::Point& delta);

-- 
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