Minor comment changes in widget.h

This commit is contained in:
David Capello 2016-01-05 16:28:54 -03:00
parent e64cc958ce
commit 1260cf12c5

View File

@ -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);