mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-10 15:40:31 +00:00
Minor comment changes in widget.h
This commit is contained in:
parent
e64cc958ce
commit
1260cf12c5
@ -297,12 +297,13 @@ namespace ui {
|
|||||||
void invalidateRect(const gfx::Rect& rect);
|
void invalidateRect(const gfx::Rect& rect);
|
||||||
void invalidateRegion(const gfx::Region& region);
|
void invalidateRegion(const gfx::Region& region);
|
||||||
|
|
||||||
// Returns the invalid region to being updated with PaintMessages
|
// Returns the region to generate PaintMessages. It's cleared
|
||||||
// and onPaint() events.
|
// after flushRedraw() is called.
|
||||||
const gfx::Region& getUpdateRegion() const {
|
const gfx::Region& getUpdateRegion() const {
|
||||||
return m_updateRegion;
|
return m_updateRegion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Generates paint messages for the current update region.
|
||||||
void flushRedraw();
|
void flushRedraw();
|
||||||
|
|
||||||
void scrollRegion(const gfx::Region& region, const gfx::Point& delta);
|
void scrollRegion(const gfx::Region& region, const gfx::Point& delta);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user