VirtualBox

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


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/VBoxBFE
Files:
3 edited

Legend:

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

    r3569 r3576  
    5252                                   ULONG width, ULONG height, BOOL *handled) = 0;
    5353
    54     virtual HRESULT GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect) = 0;
    55     virtual HRESULT SetVisibleRegion(ULONG aCRect, BYTE * aPRect) = 0;
     54    virtual HRESULT GetVisibleRegion(BYTE *aRectangles, ULONG aCount, ULONG *aCountCopied) = 0;
     55    virtual HRESULT SetVisibleRegion(BYTE *aRectangles, ULONG aCount) = 0;
    5656
    5757    virtual void    repaint() = 0;
  • trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.cpp

    r3569 r3576  
    324324}
    325325
    326 HRESULT SDLFramebuffer::GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect)
    327 {
    328     PRTRECT paRect = (PRTRECT)aPRect;
    329 
    330     if (!paRect || !aPcRect)
     326HRESULT SDLFramebuffer::GetVisibleRegion(BYTE *aRectangles, ULONG aCount,
     327                                         ULONG *aCountCopied)
     328{
     329    PRTRECT rects = (PRTRECT)aRectangles;
     330
     331    if (!rects)
    331332        return E_POINTER;
    332333
    333     /* @todo */
    334     return S_OK;
    335 }
    336 
    337 HRESULT SDLFramebuffer::SetVisibleRegion(ULONG aCRect, BYTE * aPRect)
    338 {
    339     PRTRECT paRect = (PRTRECT)aPRect;
    340 
    341     if (!paRect)
     334        /// @todo
     335
     336        NOREF(aCount);
     337        NOREF(aCountCopied);
     338
     339    return S_OK;
     340}
     341
     342HRESULT SDLFramebuffer::SetVisibleRegion(BYTE *aRectangles, ULONG aCount)
     343{
     344    PRTRECT rects = (PRTRECT)aRectangles;
     345
     346    if (!rects)
    342347        return E_POINTER;
    343348
    344     /* @todo */
     349        /// @todo
     350
     351        NOREF(aCount);
     352
    345353    return S_OK;
    346354}
  • trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.h

    r3569 r3576  
    5757    virtual HRESULT CopyScreenBits(ULONG xDst, ULONG yDst, ULONG xSrc, ULONG ySrc,
    5858                                   ULONG width, ULONG height, BOOL *handled);
    59     virtual HRESULT GetVisibleRegion(ULONG * aPcRect, BYTE * aPRect);
    60     virtual HRESULT SetVisibleRegion(ULONG aCRect, BYTE * aPRect);
     59    virtual HRESULT GetVisibleRegion(BYTE *aRectangles, ULONG aCount, ULONG *aCountCopied);
     60    virtual HRESULT SetVisibleRegion(BYTE *aRectangles, ULONG aCount);
    6161
    6262    virtual void    repaint();
Note: See TracChangeset for help on using the changeset viewer.

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