VirtualBox

Changeset 3576 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Jul 12, 2007 10:24:41 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22822
Message:

Main: Beautified method/property names in COM interfaces.

Location:
trunk/src/VBox/Frontends/VBoxSDL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp

    r3575 r3576  
    601601}
    602602
    603 STDMETHODIMP VBoxSDLFB::GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect)
    604 {
    605     PRTRECT paRect = (PRTRECT)aPRect;
    606 
    607     if (!aPcRect)
     603STDMETHODIMP VBoxSDLFB::GetVisibleRegion(BYTE *aRectangles, ULONG aCount,
     604                                         ULONG *aCountCopied)
     605{
     606    PRTRECT rects = (PRTRECT)aRectangles;
     607
     608    if (!rects)
    608609        return E_POINTER;
    609610
    610     /* @todo */
    611     return S_OK;
    612 }
    613 
    614 STDMETHODIMP VBoxSDLFB::SetVisibleRegion(ULONG aCRect, BYTE * aPRect)
    615 {
    616     PRTRECT paRect = (PRTRECT)aPRect;
    617 
    618     if (!paRect)
     611    /// @todo
     612
     613        NOREF(aCount);
     614        NOREF(aCountCopied);
     615
     616    return S_OK;
     617}
     618
     619STDMETHODIMP VBoxSDLFB::SetVisibleRegion(BYTE *aRectangles, ULONG aCount)
     620{
     621    PRTRECT rects = (PRTRECT)aRectangles;
     622
     623    if (!rects)
    619624        return E_POINTER;
    620625
    621     /* @todo */
     626    /// @todo
     627
     628        NOREF(aCount);
     629
    622630    return S_OK;
    623631}
  • trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h

    r3571 r3576  
    109109                              ULONG width, ULONG height, BOOL *handled);
    110110
    111     STDMETHOD(GetVisibleRegion)(ULONG * aPcRect, BYTE * aPRect);
    112     STDMETHOD(SetVisibleRegion)(ULONG aCRect, BYTE * aPRect);
     111    STDMETHOD(GetVisibleRegion)(BYTE *aRectangles, ULONG aCount, ULONG *aCountCopied);
     112    STDMETHOD(SetVisibleRegion)(BYTE *aRectangles, ULONG aCount);
    113113
    114114    // internal public methods
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