equal
deleted
inserted
replaced
476 * Container will not allow painting in this region. |
476 * Container will not allow painting in this region. |
477 * |
477 * |
478 * @since S60 v3.0 |
478 * @since S60 v3.0 |
479 * @param aRect Content bounds. |
479 * @param aRect Content bounds. |
480 */ |
480 */ |
481 void MdcAddMMAPIContentBounds(const TRect& aRect); |
481 void MdcAddContentBounds(const TRect& aRect); |
482 |
482 |
483 /** |
483 /** |
484 * From MDirectContainer. |
484 * From MDirectContainer. |
485 * Removes one content bound from this direct container. |
485 * Removes one content bound from this direct container. |
486 * |
486 * |
487 * @since S60 v3.2 |
487 * @since S60 v3.2 |
488 * @param aRect Content bound to be removed. |
488 * @param aRect Content bound to be removed. |
489 */ |
489 */ |
490 void MdcRemoveMMAPIContentBounds(const TRect& aRect); |
490 void MdcRemoveContentBounds(const TRect& aRect); |
491 |
491 |
492 /** |
492 /** |
493 * From MDirectContainer. |
493 * From MDirectContainer. |
494 * Get rect of a window on which content of this direct container can be |
494 * Get rect of a window on which content of this direct container can be |
495 * displayed. |
495 * displayed. |
1209 |
1209 |
1210 /** |
1210 /** |
1211 * @see MMIDCanvas::MidletExiting() |
1211 * @see MMIDCanvas::MidletExiting() |
1212 */ |
1212 */ |
1213 void MidletExiting(); |
1213 void MidletExiting(); |
1214 |
|
1215 /** |
|
1216 * @see MMIDCanvas::IsVideoOverlayActive() |
|
1217 */ |
|
1218 TBool IsVideoOverlayActive(); |
|
1219 private: |
1214 private: |
1220 /** |
1215 /** |
1221 * Blits pbuffer surface scaled to window surface |
1216 * Blits pbuffer surface scaled to window surface |
1222 * @since S60 9.2 |
1217 * @since S60 9.2 |
1223 */ |
1218 */ |
1403 * Posts forced paint event to Java side. Forced paint causes Canvas.paint() to be |
1398 * Posts forced paint event to Java side. Forced paint causes Canvas.paint() to be |
1404 * called, event if Displayable.isShown() would return false in Java. See also Canvas.java. |
1399 * called, event if Displayable.isShown() would return false in Java. See also Canvas.java. |
1405 * @since S60 9.2 |
1400 * @since S60 9.2 |
1406 */ |
1401 */ |
1407 void PostForcedPaint(); |
1402 void PostForcedPaint(); |
1408 |
|
1409 /** |
|
1410 * Used only in video overlay case. |
|
1411 * Sets frame buffer alpha channel back to 0xFF after MMAPI content area have been |
|
1412 * removed from canvas. Must be called only in LCDUI thread. |
|
1413 * @since S60 9.2 |
|
1414 */ |
|
1415 void CheckDirectContentUpdated(); |
|
1416 #endif // RD_JAVA_NGA_ENABLED |
1403 #endif // RD_JAVA_NGA_ENABLED |
1417 |
1404 |
1418 private: // data |
1405 private: // data |
1419 |
1406 |
1420 /** CMIDCanvas flags datatype */ |
1407 /** CMIDCanvas flags datatype */ |
1775 * Own. |
1762 * Own. |
1776 */ |
1763 */ |
1777 TUint8* iTexturePixels; |
1764 TUint8* iTexturePixels; |
1778 |
1765 |
1779 /** |
1766 /** |
1780 * OpenGL coordinate arrays used for rendering filled rectangles |
1767 * OpenGL coordinate arrays used fo r rendering filled rectangles |
1781 */ |
1768 */ |
1782 GLshort* iVertexArray; |
1769 GLshort* iVertexArray; |
1783 GLubyte* iTriangleStrip; |
1770 GLubyte* iTriangleStrip; |
1784 |
1771 |
1785 /** |
1772 /** |
1786 * ETrue, when midlet is exiting and this canvas is the current displayable |
1773 * ETrue, when midlet is exiting and this canvas is the current displayable |
1787 */ |
1774 */ |
1788 TBool iExiting; |
1775 TBool iExiting; |
1789 |
|
1790 /** |
|
1791 * Indicates if MMAPI content areas have been updated. |
|
1792 * This flag is accessed from MMAPI and LCDUI threads. |
|
1793 */ |
|
1794 TBool iMMAPIAreaUpdated; |
|
1795 |
|
1796 #endif // RD_JAVA_NGA_ENABLED |
1776 #endif // RD_JAVA_NGA_ENABLED |
1797 |
1777 |
1798 /** |
1778 /** |
1799 * If dragging was started (by pointer down) inside the canvas, |
1779 * If dragging was started (by pointer down) inside the canvas, |
1800 * all drag events and release event should go to canvas |
1780 * all drag events and release event should go to canvas |