MacDecorator: Whitespace style changes only
Change-Id: Iae2533e553df66945de8394b4678d487ff9de60e Reviewed-on: https://review.haiku-os.org/c/haiku/+/3141 Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: CodeforEvolution <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
6d9c0146a5
commit
702f22b7d2
@@ -148,16 +148,19 @@ MacDecorator::SetRegionHighlight(Region region, uint8 highlight,
|
|||||||
if (highlight != RegionHighlight(region))
|
if (highlight != RegionHighlight(region))
|
||||||
memset(&tab->closeBitmaps, 0, sizeof(tab->closeBitmaps));
|
memset(&tab->closeBitmaps, 0, sizeof(tab->closeBitmaps));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case REGION_MINIMIZE_BUTTON:
|
case REGION_MINIMIZE_BUTTON:
|
||||||
if (highlight != RegionHighlight(region)) {
|
if (highlight != RegionHighlight(region)) {
|
||||||
memset(&tab->minimizeBitmaps, 0,
|
memset(&tab->minimizeBitmaps, 0,
|
||||||
sizeof(tab->minimizeBitmaps));
|
sizeof(tab->minimizeBitmaps));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case REGION_ZOOM_BUTTON:
|
case REGION_ZOOM_BUTTON:
|
||||||
if (highlight != RegionHighlight(region))
|
if (highlight != RegionHighlight(region))
|
||||||
memset(&tab->zoomBitmaps, 0, sizeof(tab->zoomBitmaps));
|
memset(&tab->zoomBitmaps, 0, sizeof(tab->zoomBitmaps));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -190,6 +193,7 @@ MacDecorator::_DoLayout()
|
|||||||
hasTab = true;
|
hasTab = true;
|
||||||
fBorderWidth = kDefaultBorderWidth;
|
fBorderWidth = kDefaultBorderWidth;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case B_FLOATING_WINDOW_LOOK:
|
case B_FLOATING_WINDOW_LOOK:
|
||||||
hasTab = true;
|
hasTab = true;
|
||||||
fBorderWidth = 3;
|
fBorderWidth = 3;
|
||||||
|
|||||||
@@ -22,14 +22,14 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual Decorator* _AllocateDecorator(DesktopSettings& settings,
|
virtual Decorator* _AllocateDecorator(DesktopSettings& settings,
|
||||||
BRect rect, Desktop* desktop);
|
BRect rect, Desktop* desktop);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class MacDecorator: public SATDecorator {
|
class MacDecorator: public SATDecorator {
|
||||||
public:
|
public:
|
||||||
MacDecorator(DesktopSettings& settings,
|
MacDecorator(DesktopSettings& settings,
|
||||||
BRect frame, Desktop* desktop);
|
BRect frame, Desktop* desktop);
|
||||||
virtual ~MacDecorator();
|
virtual ~MacDecorator();
|
||||||
|
|
||||||
void Draw(BRect updateRect);
|
void Draw(BRect updateRect);
|
||||||
|
|||||||
Reference in New Issue
Block a user