Decorator::ResizeBy tells you the dirty region, DefaultDecorator::Draw() pays attention to the update rect, small clean ups along the way

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15778 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2006-01-02 01:03:31 +00:00
parent 3155f89a0c
commit e067fed541
5 changed files with 171 additions and 118 deletions
+3 -3
View File
@@ -94,10 +94,10 @@ class Decorator {
virtual click_type Clicked(BPoint pt, int32 buttons,
int32 modifiers);
virtual void MoveBy(float x, float y);
void MoveBy(float x, float y);
virtual void MoveBy(BPoint pt);
virtual void ResizeBy(float x, float y);
virtual void ResizeBy(BPoint pt);
void ResizeBy(float x, float y, BRegion* dirty);
virtual void ResizeBy(BPoint pt, BRegion* dirty) = 0;
virtual void SetTabLocation(float location) {}
virtual float TabLocation() const