javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h
changeset 35 85266cc22c7f
parent 26 dc7c549001d5
child 48 e0d6e9bd3ca7
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h	Thu May 27 12:49:31 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h	Fri Jun 11 13:33:44 2010 +0300
@@ -153,8 +153,9 @@
 {
     WsTypeUnknown       = 0x0000,  // unknonwn or uninitialized type
     WsTypeQtImage       = 0x0001,  // QImage
-    WsTypeSymbianBitmap = 0x0002,  // CFbsBitmap
-    WsTypeEglSurface    = 0x0004   // EGL surface
+    WsTypeQtPixmap      = 0x0002,  // QPixmap
+    WsTypeSymbianBitmap = 0x0004,  // CFbsBitmap
+    WsTypeEglSurface    = 0x0016   // EGL surface
 };
 
 
@@ -629,6 +630,17 @@
         int aLength, int aAlignments, int aFlags, bool aIsTransparent) = 0;
 
     /**
+     * Draws given window surface to current target.
+     * 
+     * @param aSurface The WindowSurface to draw
+     * @param aX The x-coordinate of the area to draw
+     * @param aY The y-coordinate of the area to draw
+     * @param aWidth The width of the area to draw
+     * @param aHeigth The height of the area to draw
+     */
+    virtual void drawWindowSurface(WindowSurface* aSurface, int aX, int aY, int aWidth, int aHeight) = 0;
+	
+    /**
      * Fill interior of circular or elliptical arc within specified rectangular area.
      *
      * @param aX The x coordinate of top left corner of arc rectangle