VirtualBox

Changeset 774 in vbox


Ignore:
Timestamp:
Feb 8, 2007 10:49:58 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18435
Message:

A new console callback must be informed about the current state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r628 r774  
    23512351
    23522352    mCallbacks.push_back (CallbackList::value_type (aCallback));
     2353
     2354#if 0
     2355    /* @todo dmik please implement this.
     2356     * Inform the callback about the current status, because the new callback
     2357     * must know at least the current mouse capabilities and the pointer shape.
     2358     */
     2359    aCallback->OnMousePointerShapeChange (mCallbacksStatus.pointerShape.fVisible,
     2360                                          mCallbackStatus.pointerShape.fAlpha,
     2361                                          mCallbackStatus.pointerShape.xHot,
     2362                                          mCallbackStatus.pointerShape.yHot,
     2363                                          mCallbackStatus.pointerShape.width,
     2364                                          mCallbackStatus.pointerShape.height,
     2365                                          mCallbackStatus.pointerShape.pShape);
     2366    aCallback->OnMouseCapabilityChange (mCallbackStatus.mouseCapability.supportsAbsolute,
     2367                                        mCallbackStatus.mouseCapability.needsHostCursor);
     2368    aCallback->OnStateChange (mCallbackStatus.machineState);
     2369    aCallback->OnAdditionsStateChange();
     2370    aCallback->OnKeyboardLedsChange(mCallbackStatus.keyboardLeds.fNumLock,
     2371                                    mCallbackStatus.keyboardLeds.fCapsLock,
     2372                                    mCallbackStatus.keyboardLeds.fScrollLock);
     2373#endif
     2374
    23532375    return S_OK;
    23542376}
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