imageeditor/plugins/DrawPlugin/inc/imageeditordrawplugin.h
changeset 8 18b321db4884
parent 1 edfc90759b9f
equal deleted inserted replaced
1:edfc90759b9f 8:18b321db4884
    26 
    26 
    27 //  FORWARD DECLARATIONS
    27 //  FORWARD DECLARATIONS
    28 class CEditorImage;
    28 class CEditorImage;
    29 class CCoeControl;
    29 class CCoeControl;
    30 class CSystemParameters;
    30 class CSystemParameters;
    31 
    31 class CDrawPath;
    32 
    32 
    33 /*	CLASS:	CImageEditorDrawPlugin
    33 /*	CLASS:	CImageEditorDrawPlugin
    34 *
    34 *
    35 *	CImageEditorDrawPlugin represents draw plug-in for Image Editor 
    35 *	CImageEditorDrawPlugin represents draw plug-in for Image Editor 
    36 *   application.
    36 *   application.
    88     /**	ReleasePlugin 
    88     /**	ReleasePlugin 
    89 	*
    89 	*
    90 	*	@see CImageEditorPluginBase
    90 	*	@see CImageEditorPluginBase
    91     */
    91     */
    92 	virtual void ReleasePlugin ();    
    92 	virtual void ReleasePlugin ();    
    93 
    93 	
       
    94 	/**CalculatePositionOnView
       
    95 	 * 
       
    96 	 *  calculate the point on view when changing the screen mode 
       
    97 	 */
       
    98 	void CalculatePositionOnView();
    94 //@}
    99 //@}
    95 
   100 
    96 private: // Data
   101 private: // Data
    97 /** @name Members:*/
   102 /** @name Members:*/
    98 //@{
   103 //@{
    99     /// Plug-in UI control
   104     /// Plug-in UI control
   100     CCoeControl* iControl;
   105     CCoeControl* iControl;
   101     /// System parameters
   106     TBool iDiplayToolPluginParam;
       
   107   /// System parameters
   102     const CSystemParameters* iSysPars;
   108     const CSystemParameters* iSysPars;
   103     /// Is landscape enabled, Must be EFalse until text is set
   109     /// Is landscape enabled, Must be EFalse until text is set
   104     TBool iLandscapeEnabled;
   110     TBool iLandscapeEnabled;
   105 //@}
   111 //@}
   106 
   112 
       
   113 private: // Data 
       
   114 	//for drawcontrol
       
   115 	//drawed lines in drawcontrol
       
   116 	RPointerArray<CDrawPath> iPaths;
       
   117 	//selected pencolor 
       
   118 	TRgb       iRgb;
       
   119 	//selected pensize
       
   120 	TSize      iSize;
       
   121 	//first image rect on preview
       
   122 	TRect      iVisibleImageRectPrevFirst;
       
   123   
   107 };
   124 };
   108 
   125 
   109 #endif // IMAGEEDITORDRAWPLUGIN_H
   126 #endif // IMAGEEDITORDRAWPLUGIN_H
   110 
   127 
   111 // End of File
   128 // End of File