javauis/mmapi_qt/baseline/inc/cmmaitemdisplay.h
changeset 26 dc7c549001d5
parent 23 98ccebc37403
equal deleted inserted replaced
23:98ccebc37403 26:dc7c549001d5
    31 *
    31 *
    32 */
    32 */
    33 NONSHARABLE_CLASS(CMMAItemDisplay): public CMMADisplay
    33 NONSHARABLE_CLASS(CMMAItemDisplay): public CMMADisplay
    34 {
    34 {
    35 public:     // Constructors and destructors
    35 public:     // Constructors and destructors
    36     static CMMAItemDisplay* NewLC(/*MMIDCustomItem* aCustomItem*/);
    36     static CMMAItemDisplay* NewLC(MMAFunctionServer* aEventSource , jobject aItemDispObj);
    37 
    37 
    38     ~CMMAItemDisplay();    // Destructor ()
    38     ~CMMAItemDisplay();    // Destructor ()
    39 
    39 
    40 protected:  // Constructors and destructors
    40 protected:  // Constructors and destructors
    41     // Default constructor, protected to allow derivation
    41     // Default constructor, protected to allow derivation
    56      */
    56      */
    57     static void StaticSourceSize(CMMAItemDisplay* aDisplay,
    57     static void StaticSourceSize(CMMAItemDisplay* aDisplay,
    58                                  TSize* aSize);
    58                                  TSize* aSize);
    59 
    59 
    60 public: // Methods derived from MMMADisplay
    60 public: // Methods derived from MMMADisplay
    61     void SourceSizeChanged(const TSize& aSourceSize);
       
    62     void SetFullScreenL(TBool aFullScreen);
    61     void SetFullScreenL(TBool aFullScreen);
    63     void SetDisplayLocationL(const TPoint& aPosition);
    62     void SetDisplayLocationL(const TPoint& aPosition);
    64     TPoint DisplayLocation();
    63     TPoint DisplayLocation();
    65     void SetWindowL(MMMADisplayWindow* aWindow);
    64     void SetWindowL(MMMADisplayWindow* aWindow);
       
    65     void SourceSizeChanged(TInt aJavaControlWidth, TInt aJavaControlHeight,TInt x, TInt y,TRect aBoundsRect);
    66 /*
    66 /*
    67 public: // From MDirectContent
    67 public: // From MDirectContent
    68     void MdcContentBoundsChanged(const TRect& aRect);
    68     void MdcContentBoundsChanged(const TRect& aRect);
    69     void MdcItemContentRectChanged(const TRect& aContentRect,
    69     void MdcItemContentRectChanged(const TRect& aContentRect,
    70                                    const TRect& aScreenRect);
    70                                    const TRect& aScreenRect);