Changeset 42248 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 20, 2012 8:39:45 AM (13 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r42194 r42248 14214 14214 <interface 14215 14215 name="IDisplay" extends="$unknown" 14216 uuid=" 4b75c45c-e22e-4b75-b7cd-7ce9a83bb36e"14216 uuid="b83ee395-8679-40ca-8d60-1a0cbe724930" 14217 14217 wsmap="managed" 14218 14218 > … … 14278 14278 14279 14279 </desc> 14280 <param name="display" type="unsigned long" dir="in"> 14281 <desc> 14282 The number of the guest display to send the hint to. 14283 </desc> 14284 </param> 14285 <param name="enabled" type="boolean" dir="in"> 14286 <desc> 14287 @c True, if this guest screen is enabled, 14288 @c False otherwise. 14289 </desc> 14290 </param> 14291 <param name="changeOrigin" type="boolean" dir="in"> 14292 <desc> 14293 @c True, if the origin of the guest screen should be changed, 14294 @c False otherwise. 14295 </desc> 14296 </param> 14297 <param name="originX" type="long" dir="in"> 14298 <desc> 14299 The X origin of the guest screen. 14300 </desc> 14301 </param> 14302 <param name="originY" type="long" dir="in"> 14303 <desc> 14304 The Y origin of the guest screen. 14305 </desc> 14306 </param> 14280 14307 <param name="width" type="unsigned long" dir="in"/> 14281 14308 <param name="height" type="unsigned long" dir="in"/> 14282 14309 <param name="bitsPerPixel" type="unsigned long" dir="in"/> 14283 <param name="display" type="unsigned long" dir="in"/>14284 14310 </method> 14285 14311 -
trunk/src/VBox/Main/include/DisplayImpl.h
r41404 r42248 161 161 STDMETHOD(SetFramebuffer)(ULONG aScreenId, IFramebuffer *aFramebuffer); 162 162 STDMETHOD(GetFramebuffer)(ULONG aScreenId, IFramebuffer **aFramebuffer, LONG *aXOrigin, LONG *aYOrigin); 163 STDMETHOD(SetVideoModeHint)(ULONG width, ULONG height, ULONG bitsPerPixel, ULONG display);163 STDMETHOD(SetVideoModeHint)(ULONG aDisplay, BOOL aEnabled, BOOL aChangeOrigin, LONG aOriginX, LONG aOriginY, ULONG aWidth, ULONG aHeight, ULONG aBitsPerPixel); 164 164 STDMETHOD(TakeScreenShot)(ULONG aScreenId, BYTE *address, ULONG width, ULONG height); 165 165 STDMETHOD(TakeScreenShotToArray)(ULONG aScreenId, ULONG width, ULONG height, ComSafeArrayOut(BYTE, aScreenData)); -
trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp
r41352 r42248 1265 1265 ConsoleVRDPServer *server = static_cast<ConsoleVRDPServer*>(pvCallback); 1266 1266 1267 server->mConsole->getDisplay()->SetVideoModeHint(cWidth, cHeight, cBitsPerPixel, uScreenId); 1267 server->mConsole->getDisplay()->SetVideoModeHint(uScreenId, TRUE /*=enabled*/, 1268 FALSE /*=changeOrigin*/, 0/*=OriginX*/, 0/*=OriginY*/, 1269 cWidth, cHeight, cBitsPerPixel); 1268 1270 } 1269 1271 -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r41597 r42248 2127 2127 } 2128 2128 2129 STDMETHODIMP Display::SetVideoModeHint(ULONG aWidth, ULONG aHeight, 2130 ULONG aBitsPerPixel, ULONG aDisplay) 2129 STDMETHODIMP Display::SetVideoModeHint(ULONG aDisplay, BOOL aEnabled, 2130 BOOL aChangeOrigin, LONG aOriginX, LONG aOriginY, 2131 ULONG aWidth, ULONG aHeight, ULONG aBitsPerPixel) 2131 2132 { 2132 2133 AutoCaller autoCaller(this); … … 2136 2137 2137 2138 CHECK_CONSOLE_DRV (mpDrv); 2139 2140 /* XXX Ignore these parameters for now: */ 2141 NOREF(aChangeOrigin); 2142 NOREF(aOriginX); 2143 NOREF(aOriginY); 2144 NOREF(aEnabled); 2138 2145 2139 2146 /*
Note:
See TracChangeset
for help on using the changeset viewer.