Changeset 146 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 18, 2007 3:58:29 PM (18 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp
r1 r146 387 387 if (mpDrv) 388 388 { 389 mFramebuffer->getAddress (( ULONG*)&mpDrv->Connector.pu8Data);389 mFramebuffer->getAddress ((uintptr_t *)&mpDrv->Connector.pu8Data); 390 390 mFramebuffer->getLineSize ((ULONG*)&mpDrv->Connector.cbScanline); 391 391 mFramebuffer->getColorDepth ((ULONG*)&mpDrv->Connector.cBits); … … 403 403 if (mpDrv) 404 404 { 405 mFramebuffer->getAddress (( ULONG*)&mpDrv->Connector.pu8Data);405 mFramebuffer->getAddress ((uintptr_t *)&mpDrv->Connector.pu8Data); 406 406 mFramebuffer->getColorDepth ((ULONG*)&mpDrv->Connector.cBits); 407 407 } -
trunk/src/VBox/Frontends/VBoxBFE/Framebuffer.h
r1 r146 40 40 virtual HRESULT Lock() = 0; 41 41 virtual HRESULT Unlock() = 0; 42 virtual HRESULT getAddress( ULONG*address) = 0;42 virtual HRESULT getAddress(uintptr_t *address) = 0; 43 43 virtual HRESULT getColorDepth(ULONG *colorDepth) = 0; 44 44 virtual HRESULT getLineSize(ULONG *lineSize) = 0; -
trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp
r1 r146 317 317 * Decode event parameters. 318 318 */ 319 #define DECODEX(ev) ((int )(ev)->user.data1 >> 16)320 #define DECODEY(ev) ((int )(ev)->user.data1 & 0xFFFF)321 #define DECODEW(ev) ((int )(ev)->user.data2 >> 16)322 #define DECODEH(ev) ((int )(ev)->user.data2 & 0xFFFF)319 #define DECODEX(ev) ((intptr_t)(ev)->user.data1 >> 16) 320 #define DECODEY(ev) ((intptr_t)(ev)->user.data1 & 0xFFFF) 321 #define DECODEW(ev) ((intptr_t)(ev)->user.data2 >> 16) 322 #define DECODEH(ev) ((intptr_t)(ev)->user.data2 & 0xFFFF) 323 323 int x = DECODEX(ev); 324 324 int y = DECODEY(ev); -
trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.cpp
r128 r146 162 162 * @param address Pointer to result variable. 163 163 */ 164 HRESULT SDLFramebuffer::getAddress( ULONG*address)164 HRESULT SDLFramebuffer::getAddress(uintptr_t *address) 165 165 { 166 166 LogFlow(("SDLFramebuffer::GetAddress\n")); -
trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.h
r1 r146 47 47 virtual HRESULT Lock(); 48 48 virtual HRESULT Unlock(); 49 virtual HRESULT getAddress( ULONG*address);49 virtual HRESULT getAddress(uintptr_t *address); 50 50 virtual HRESULT getColorDepth(ULONG *colorDepth); 51 51 virtual HRESULT getLineSize(ULONG *lineSize);
Note:
See TracChangeset
for help on using the changeset viewer.