Changeset 3571 in vbox for trunk/src/VBox/Frontends/VBoxSDL
- Timestamp:
- Jul 12, 2007 8:03:18 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22814
- Location:
- trunk/src/VBox/Frontends/VBoxSDL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r3569 r3571 200 200 } 201 201 202 /* Default framebuffer render mode is normal (draw the entire framebuffer) */ 203 mRenderMode = RenderModeNormal; 204 202 205 resizeGuest(); 203 206 Assert(mScreen); … … 366 369 /* Not yet implemented */ 367 370 *aOverlay = 0; 371 return S_OK; 372 } 373 374 /** 375 * Return the current framebuffer render mode 376 * 377 * @returns COM status code 378 * @param renderMode framebuffer render mode 379 */ 380 STDMETHODIMP VBoxSDLFB::COMGETTER(RenderMode) (FramebufferRenderMode_T *renderMode) 381 { 382 if (!renderMode) 383 return E_POINTER; 384 *renderMode = mRenderMode; 385 return S_OK; 386 } 387 388 /** 389 * Change the current framebuffer render mode 390 * 391 * @returns COM status code 392 * @param renderMode framebuffer render mode 393 */ 394 STDMETHODIMP VBoxSDLFB::COMSETTER(RenderMode) (FramebufferRenderMode_T renderMode) 395 { 396 if (!renderMode) 397 return E_POINTER; 398 mRenderMode = renderMode; 368 399 return S_OK; 369 400 } -
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h
r3569 r3571 95 95 STDMETHOD(COMGETTER(HeightReduction)) (ULONG *heightReduction); 96 96 STDMETHOD(COMGETTER(Overlay)) (IFramebufferOverlay **aOverlay); 97 STDMETHOD(COMGETTER(RenderMode)) (FramebufferRenderMode_T *renderMode); 98 STDMETHOD(COMSETTER(RenderMode)) (FramebufferRenderMode_T renderMode); 97 99 98 100 STDMETHOD(NotifyUpdate)(ULONG x, ULONG y, … … 188 190 FramebufferPixelFormat_T mPixelFormat; 189 191 192 /* Framebuffer render mode */ 193 FramebufferRenderMode_T mRenderMode; 194 190 195 /** the application Icon */ 191 196 SDL_Surface *mWMIcon;
Note:
See TracChangeset
for help on using the changeset viewer.