--- a/javauis/mmapi_qt/baseline/inc.nga/cmmasurfacewindow.h Fri May 14 15:47:24 2010 +0300
+++ b/javauis/mmapi_qt/baseline/inc.nga/cmmasurfacewindow.h Thu May 27 12:49:31 2010 +0300
@@ -58,7 +58,8 @@
*/
enum TUiCallbackType
{
- ERemoveSurface = 1,
+ ESetClipRect = 1,
+ ERemoveSurface,
ESetDrawRect,
EInitVideoDisplay,
EResetSurfaceParameters,
@@ -170,7 +171,6 @@
CWsScreenDevice* aScreenDevice,
RWindowBase* aWindow);
- virtual CMMAPlayer* UiPlayer();
public: // New methods
TBool IsVisible() const;
@@ -204,14 +204,6 @@
private: // New methods
/**
- * scales video to the required size.
- * This method must always be executed in UI-Thread context.
- *
- * @param aRect rectangular size to which the video has to be scaled.
- */
- void ScaleVideoL(const TRect& aRect);
-
- /**
* starts video rendering to a graphics surface.
* restarts video rendering to a graphics surafce with changed parameters.
* This method must always be executed in UI-Thread context.
@@ -235,6 +227,12 @@
void InitVideoDisplayL();
/**
+ * updates CMediaClientVideoDisplay with new RWindow rect value.
+ * This method must always be executed in UI-Thread context.
+ */
+ TInt SetClipRect();
+
+ /**
* updates CMediaClientVideoDisplay instance with new surface parameters.
* This method must always be executed in UI-Thread context.
*/