VirtualBox

Changeset 108542 in vbox for trunk/src


Ignore:
Timestamp:
Mar 13, 2025 6:38:55 AM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167934
Message:

Windows host installer stub (VBoxStub): Enabled building with splash screen support [build fix]. bugref:10870

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp

    r108416 r108542  
    11721172
    11731173    /* Calculate the position of the spinning circle. */
    1174     unsigned const x = uCenterX + static_cast<int>(uRadius * cos(pCtx->uDotAngle * M_PI / 180));
    1175     unsigned const y = uCenterY + static_cast<int>(uRadius * sin(pCtx->uDotAngle * M_PI / 180));
     1174    unsigned const x = uCenterX + static_cast<int>(uRadius * cos(pCtx->uDotAngle * 3.14159 /* PI */ / 180));
     1175    unsigned const y = uCenterY + static_cast<int>(uRadius * sin(pCtx->uDotAngle * 3.14159 /* PI */ / 180));
    11761176
    11771177    Gdiplus::SolidBrush brush(Gdiplus::Color(255, 0, 0, 100)); /* Dark blue dot. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette