@@ -343,7 +343,7 @@ int cef_dark_aero_window::HandleNcHitTest(LPPOINT ptHit)
343
343
// Setup the device context for drawing
344
344
void cef_dark_aero_window::InitDeviceContext (HDC hdc)
345
345
{
346
- if (CanUseAeroGlass ()) {
346
+ if (CanUseAeroGlass ()) {
347
347
RECT rectClipClient;
348
348
SetRectEmpty (&rectClipClient);
349
349
GetRealClientRect (&rectClipClient);
@@ -386,8 +386,8 @@ void cef_dark_aero_window::DrawMenuBar(HDC hdc)
386
386
HRGN hrgnUpdate = ::CreateRectRgnIndirect (&rectMenu);
387
387
388
388
if (::SelectClipRgn (hdc, hrgnUpdate) != NULLREGION) {
389
- DoDrawFrame (hdc); // Draw menu bar background
390
- DoDrawMenuBar (hdc); // DraW menu items
389
+ DoDrawFrame (hdc); // Draw menu bar background
390
+ DoDrawMenuBar (hdc); // DraW menu items
391
391
}
392
392
393
393
::DeleteObject (hrgnUpdate);
@@ -523,7 +523,7 @@ BOOL cef_dark_aero_window::HandleGetMinMaxInfo(LPMINMAXINFO mmi)
523
523
mi.cbSize = sizeof (mi);
524
524
525
525
::GetMonitorInfo (hm, &mi);
526
- mmi->ptMaxSize .x = ::RectWidth (mi.rcWork ) + ::kWindowFrameSize ;
526
+ mmi->ptMaxSize .x = ::RectWidth (mi.rcWork ) + ::kWindowFrameSize ;
527
527
mmi->ptMaxSize .y = ::RectHeight (mi.rcWork ) + ::kWindowFrameSize ;
528
528
529
529
mmi->ptMaxPosition .x = -::kWindowFrameSize ;
@@ -653,16 +653,16 @@ void cef_dark_aero_window::ComputeWindowIconRect(RECT& rect) const
653
653
654
654
if (IsZoomed ()) {
655
655
top = ::kSystemIconZoomFactorCY ;
656
- left = ::kSystemIconZoomFactorCX ;
656
+ left = ::kSystemIconZoomFactorCX ;
657
657
}
658
658
659
659
::SetRectEmpty (&rect);
660
660
rect.top = top;
661
661
rect.left = left;
662
662
rect.bottom = rect.top + ::GetSystemMetrics (SM_CYSMICON);
663
663
rect.right = rect.left + ::GetSystemMetrics (SM_CXSMICON);
664
-
665
- AdjustRectForAutoHideBars (&rect);
664
+
665
+ AdjustRectForAutoHideBars (&rect);
666
666
} else {
667
667
cef_dark_window::ComputeWindowIconRect (rect);
668
668
}
@@ -687,7 +687,7 @@ void cef_dark_aero_window::ComputeWindowCaptionRect(RECT& rect) const
687
687
rect.left = ir.right + ::kWindowFrameSize ;
688
688
rect.right = mr.left - ::kWindowFrameSize ;
689
689
690
- AdjustRectForAutoHideBars (&rect);
690
+ AdjustRectForAutoHideBars (&rect);
691
691
} else {
692
692
cef_dark_window::ComputeWindowCaptionRect (rect);
693
693
}
0 commit comments