* the decorator knows best which region to update when changing the title, so

it must now fill the updateRegion parameter of SetTitle().
* WinBorder::SetName() is now greatly simplified and achieves better results
  due to that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14923 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-11-14 18:16:01 +00:00
parent 9a3090b0ed
commit 614de12d9c
5 changed files with 43 additions and 19 deletions
+6 -6
View File
@@ -57,13 +57,13 @@ class Decorator {
void SetFeel(int32 wfeel);
void SetFont(ServerFont *font);
void SetLook(int32 wlook);
void SetClose(bool is_down);
void SetMinimize(bool is_down);
void SetZoom(bool is_down);
virtual void SetTitle(const char *string);
void SetClose(bool pressed);
void SetMinimize(bool pressed);
void SetZoom(bool pressed);
virtual void SetTitle(const char* string, BRegion* updateRegion = NULL);
int32 GetLook() const;
int32 GetFeel() const;
int32 GetFlags() const;