VirtualBox

Changeset 3526 in vbox


Ignore:
Timestamp:
Jul 10, 2007 1:18:54 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22750
Message:

Introduced RTRECT data type

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdm.h

    r3525 r3526  
    654654
    655655
    656 /**
    657  * Display rectangle
    658  */
    659 typedef struct PDMIDISPLAYRECT
    660 {
    661     int32_t     x;
    662     int32_t     y;
    663     uint32_t    cx;
    664     uint32_t    cy;
    665 } PDMIDISPLAYRECT, *PPDMIDISPLAYRECT;
    666 
    667656
    668657/** Pointer to a display port interface. */
     
    795784     * @thread  The emulation thread.
    796785     */
    797     DECLR3CALLBACKMEMBER(int, pfnSetVisibleRegion,(PPDMIDISPLAYPORT pInterface, uint32_t cRect, PPDMIDISPLAYRECT pRect));
     786    DECLR3CALLBACKMEMBER(int, pfnSetVisibleRegion,(PPDMIDISPLAYPORT pInterface, uint32_t cRect, PRTRECT pRect));
    798787
    799788    /**
     
    806795     * @thread  The emulation thread.
    807796     */
    808     DECLR3CALLBACKMEMBER(int, pfnQueryVisibleRegion,(PPDMIDISPLAYPORT pInterface, uint32_t *pcRect, PPDMIDISPLAYRECT pRect));
     797    DECLR3CALLBACKMEMBER(int, pfnQueryVisibleRegion,(PPDMIDISPLAYPORT pInterface, uint32_t *pcRect, PRTRECT pRect));
    809798
    810799} PDMIDISPLAYPORT;
  • trunk/include/iprt/types.h

    r2981 r3526  
    10141014
    10151015
     1016/**
     1017 * Rectangle data type
     1018 */
     1019typedef struct RTRECT
     1020{
     1021    int32_t     x;
     1022    int32_t     y;
     1023    uint32_t    cx;
     1024    uint32_t    cy;
     1025} RTRECT, *PRTRECT;
     1026
    10161027/** @} */
    10171028
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r3525 r3526  
    37433743
    37443744/** @copydoc PDMIDISPLAYPORT::pfnSetVisibleRegion */
    3745 static DECLCALLBACK(int) vgaPortSetVisibleRegion(PPDMIDISPLAYPORT pInterface, uint32_t cRect, PPDMIDISPLAYRECT pRect)
     3745static DECLCALLBACK(int) vgaPortSetVisibleRegion(PPDMIDISPLAYPORT pInterface, uint32_t cRect, PRTRECT pRect)
    37463746{
    37473747    PVGASTATE pData = IDISPLAYPORT_2_VGASTATE(pInterface);
     
    37563756
    37573757/** @copydoc PDMIDISPLAYPORT::pfnQueryVisibleRegion */
    3758 static DECLCALLBACK(int) vgaPortQueryVisibleRegion(PPDMIDISPLAYPORT pInterface, uint32_t *pcRect, PPDMIDISPLAYRECT pRect)
     3758static DECLCALLBACK(int) vgaPortQueryVisibleRegion(PPDMIDISPLAYPORT pInterface, uint32_t *pcRect, PRTRECT pRect)
    37593759{
    37603760    PVGASTATE pData = IDISPLAYPORT_2_VGASTATE(pInterface);
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