VirtualBox

Changeset 21226 in vbox for trunk/src/VBox/Frontends/VBoxBFE


Ignore:
Timestamp:
Jul 5, 2009 5:37:04 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49546
Message:

VMMDev.h: cleanup.

Location:
trunk/src/VBox/Frontends/VBoxBFE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.h

    r19817 r21226  
    4242    void handleDisplayUpdate (int x, int y, int cx, int cy);
    4343
    44     int VideoAccelEnable (bool fEnable, struct _VBVAMEMORY *pVbvaMemory);
     44    int VideoAccelEnable (bool fEnable, struct VBVAMEMORY *pVbvaMemory);
    4545    void VideoAccelFlush (void);
    4646    bool VideoAccelAllowed (void);
     
    8888    ULONG mSupportedAccelOps;
    8989
    90     struct _VBVAMEMORY *mpVbvaMemory;
     90    struct VBVAMEMORY *mpVbvaMemory;
    9191    bool        mfVideoAccelEnabled;
    9292
    93     struct _VBVAMEMORY *mpPendingVbvaMemory;
     93    struct VBVAMEMORY *mpPendingVbvaMemory;
    9494    bool        mfPendingVideoAccelEnable;
    9595    bool        mfMachineRunning;
     
    103103    void handleResizeCompletedEMT (void);
    104104    volatile uint32_t mu32ResizeStatus;
    105    
     105
    106106    enum {
    107107        ResizeStatus_Void,
  • trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp

    r21219 r21226  
    7272int Mouse::setHostCursor(bool enable)
    7373{
    74     uHostCaps = enable ? 0 : VMMDEV_MOUSEHOSTCANNOTHWPOINTER;
     74    uHostCaps = enable ? 0 : VMMDEV_MOUSE_HOST_CANNOT_HWPOINTER;
    7575    gVMMDev->SetMouseCapabilities(uHostCaps);
    7676    return S_OK;
     
    9696     * device isn't aware of that yet, tell it.
    9797     */
    98     if (mouseCaps & VMMDEV_MOUSEHOSTWANTSABS)
     98    if (mouseCaps & VMMDEV_MOUSE_HOST_CAN_ABSOLUTE)
    9999    {
    100100        gVMMDev->SetMouseCapabilities(uHostCaps);
     
    136136     * device isn't aware of that yet, tell it.
    137137     */
    138     if (!(mouseCaps & VMMDEV_MOUSEHOSTWANTSABS))
    139     {
    140         gVMMDev->SetMouseCapabilities(uHostCaps | VMMDEV_MOUSEHOSTWANTSABS);
     138    if (!(mouseCaps & VMMDEV_MOUSE_HOST_CAN_ABSOLUTE))
     139    {
     140        gVMMDev->SetMouseCapabilities(uHostCaps | VMMDEV_MOUSE_HOST_CAN_ABSOLUTE);
    141141    }
    142142
     
    156156
    157157    // check if the guest actually wants absolute mouse positions
    158     if (mouseCaps & VMMDEV_MOUSEGUESTWANTSABS)
     158    if (mouseCaps & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE)
    159159    {
    160160        uint32_t fButtons = 0;
  • trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp

    r21219 r21226  
    173173    if (gMouse)
    174174    {
    175         gMouse->setAbsoluteCoordinates(!!(newCapabilities & VMMDEV_MOUSEGUESTWANTSABS));
    176         gMouse->setNeedsHostCursor(!!(newCapabilities & VMMDEV_MOUSEGUESTNEEDSHOSTCUR));
     175        gMouse->setAbsoluteCoordinates(!!(newCapabilities & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE));
     176        gMouse->setNeedsHostCursor(!!(newCapabilities & VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR));
    177177    }
    178178    if (gConsole)
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