Fix Mac decorator build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37570 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
43d808c01d
commit
92d7886758
@ -59,14 +59,12 @@ MacDecorator::~MacDecorator()
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
MacDecorator::SetTitle(const char* string, BRegion* updateRegion)
|
MacDecorator::_SetTitle(const char* string, BRegion* updateRegion)
|
||||||
{
|
{
|
||||||
// TODO: we could be much smarter about the update region
|
// TODO: we could be much smarter about the update region
|
||||||
|
|
||||||
BRect rect = TabRect();
|
BRect rect = TabRect();
|
||||||
|
|
||||||
Decorator::SetTitle(string);
|
|
||||||
|
|
||||||
if (updateRegion == NULL)
|
if (updateRegion == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -165,7 +163,7 @@ MacDecorator::MoveBy(BPoint offset)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
MacDecorator::ResizeBy(BPoint offset, BRegion* dirty)
|
MacDecorator::_ResizeBy(BPoint offset, BRegion* dirty)
|
||||||
{
|
{
|
||||||
// Move all internal rectangles the appropriate amount
|
// Move all internal rectangles the appropriate amount
|
||||||
fFrame.right += offset.x;
|
fFrame.right += offset.x;
|
||||||
|
@ -19,7 +19,7 @@ public:
|
|||||||
uint32 flags);
|
uint32 flags);
|
||||||
~MacDecorator();
|
~MacDecorator();
|
||||||
|
|
||||||
void SetTitle(const char* string,
|
void _SetTitle(const char* string,
|
||||||
BRegion* updateRegion = NULL);
|
BRegion* updateRegion = NULL);
|
||||||
void FontsChanged(DesktopSettings& settings,
|
void FontsChanged(DesktopSettings& settings,
|
||||||
BRegion* updateRegion);
|
BRegion* updateRegion);
|
||||||
@ -29,7 +29,7 @@ public:
|
|||||||
BRegion* updateRegion = NULL);
|
BRegion* updateRegion = NULL);
|
||||||
|
|
||||||
void MoveBy(BPoint offset);
|
void MoveBy(BPoint offset);
|
||||||
void ResizeBy(BPoint offset, BRegion* dirty);
|
void _ResizeBy(BPoint offset, BRegion* dirty);
|
||||||
|
|
||||||
// SetTabLocation
|
// SetTabLocation
|
||||||
// TabLocation
|
// TabLocation
|
||||||
|
Loading…
Reference in New Issue
Block a user