- 時間撮記:
- 2007-1-31 下午04:14:04 (18 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxFrameBuffer.h
r382 r470 73 73 { 74 74 public: 75 VBoxResizeEvent (FramebufferPixelFormat_T f, void*v, unsigned l, int w, int h) :75 VBoxResizeEvent (FramebufferPixelFormat_T f, uchar *v, unsigned l, int w, int h) : 76 76 QEvent ((QEvent::Type) VBoxDefs::ResizeEventType), fmt (f), vr (v), lsz (l), wdt (w), hgt (h) {} 77 77 FramebufferPixelFormat_T pixelFormat() { return fmt; } 78 void*vram() { return vr; }78 uchar *vram() { return vr; } 79 79 unsigned lineSize() { return lsz; } 80 80 int width() { return wdt; } … … 82 82 private: 83 83 FramebufferPixelFormat_T fmt; 84 void*vr;84 uchar *vr; 85 85 unsigned lsz; 86 86 int wdt; … … 204 204 205 205 // IFramebuffer COM methods 206 STDMETHOD(COMGETTER(Address)) ( ULONG*aAddress);206 STDMETHOD(COMGETTER(Address)) (BYTE **aAddress); 207 207 STDMETHOD(COMGETTER(Width)) (ULONG *aWidth); 208 208 STDMETHOD(COMGETTER(Height)) (ULONG *aHeight); … … 217 217 218 218 STDMETHOD(RequestResize) (FramebufferPixelFormat_T aPixelFormat, 219 ULONGaVRAM, ULONG aLineSize,219 BYTE *aVRAM, ULONG aLineSize, 220 220 ULONG aWidth, ULONG aHeight, 221 221 BOOL *aFinished); … … 362 362 SDL_Surface *mSurfVRAM; 363 363 364 void*mPtrVRAM;364 uchar *mPtrVRAM; 365 365 ULONG mLineSize; 366 366 FramebufferPixelFormat_T mPixelFormat; … … 397 397 void releaseObjects(); 398 398 399 void setupSurface (FramebufferPixelFormat_T pixelFormat, void*pvVRAM, ULONG lineSize, ULONG w, ULONG h);400 void recreateSurface (FramebufferPixelFormat_T pixelFormat, void*pvVRAM, ULONG lineSize, ULONG w, ULONG h);399 void setupSurface (FramebufferPixelFormat_T pixelFormat, uchar *pvVRAM, ULONG lineSize, ULONG w, ULONG h); 400 void recreateSurface (FramebufferPixelFormat_T pixelFormat, uchar *pvVRAM, ULONG lineSize, ULONG w, ULONG h); 401 401 void deleteSurface (); 402 402 void drawRect (ULONG x, ULONG y, ULONG w, ULONG h);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器