javauis/mmapi_qt/baseline/inc/cmmacanvasdisplay.h
changeset 26 dc7c549001d5
parent 23 98ccebc37403
equal deleted inserted replaced
23:98ccebc37403 26:dc7c549001d5
    48     //void SourceSizeChanged(const TSize& aSourceSize);
    48     //void SourceSizeChanged(const TSize& aSourceSize);
    49     void SetFullScreenL(TBool aFullScreen);
    49     void SetFullScreenL(TBool aFullScreen);
    50     void SetDisplayLocationL(const TPoint& aPosition);
    50     void SetDisplayLocationL(const TPoint& aPosition);
    51     TPoint DisplayLocation();
    51     TPoint DisplayLocation();
    52     void SetWindowL(MMMADisplayWindow* aWindow);
    52     void SetWindowL(MMMADisplayWindow* aWindow);
    53 
    53     void SourceSizeChanged(TInt aJavaControlWidth, TInt aJavaControlHeight,TInt x, TInt y,TRect aBoundsRect);
       
    54 		/*void GetWindowResources(MMMADisplayWindow* aConsumer, MMMADisplay::TThreadType  aThreadType );*/
       
    55 	
    54 private:
    56 private:
    55     /** ask java side peer about the bound
    57     /** ask java side peer about the bound
    56 	Returns a rectangle describing the receiver's size
    58 	Returns a rectangle describing the receiver's size
    57 	and location relative to its parent (or its display if its parent is null),
    59 	and location relative to its parent (or its display if its parent is null),
    58 	unless the receiver is a shell. In this case, the location is relative to the display
    60 	unless the receiver is a shell. In this case, the location is relative to the display
    59 	*/
    61 	*/
    60    TRect& CMMACanvasDisplay::BoundRect();
    62    TRect CMMACanvasDisplay::BoundRect();
    61    TRect& CMMACanvasDisplay::ContainerWindowRect();
    63    TRect CMMACanvasDisplay::ContainerWindowRect();
    62 
    64 
    63 //public:
       
    64 //    void MdcContentBoundsChanged(const TRect& aRect);
       
    65 protected:  // Constructors and destructors
       
    66 
       
    67     // Default constructor, protected to allow derivation
       
    68     CMMACanvasDisplay(MMAFunctionServer* aEventSource , jobject aJavaDisplayRef/*MMIDCanvas* aCanvas*/);
       
    69 
    65 
    70 private:    // Data
    66 private:    // Data
    71 //    MMIDCanvas* iCanvas;
    67 //    MMIDCanvas* iCanvas;
    72 
    68 
    73 //MMAFunctionServer* iEventSource; // not owned
    69 //MMAFunctionServer* iEventSource; // not owned