emailuis/emailui/inc/ncscomposeviewcontainer.h
branchRCL_3
changeset 80 726fba06891a
parent 73 c8382f7b54ef
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
    98     * Updates scroll bar data.
    98     * Updates scroll bar data.
    99     */
    99     */
   100     void UpdateScrollBar();
   100     void UpdateScrollBar();
   101 
   101 
   102     /**
   102     /**
   103     * Updates scroll visibility.
       
   104     * @param aVisible Whether or not to set scroll bar visible.
       
   105     */
       
   106     void UpdateScrollBarVisibility( TBool aVisible );
       
   107     
       
   108     /**
       
   109     * GetToFieldAddressesL
   103     * GetToFieldAddressesL
   110     * Get addresses in TO-field.
   104     * Get addresses in TO-field.
   111     * @return Array of address objects.
   105     * @return Array of address objects.
   112     */
   106     */
   113     const RPointerArray<CNcsEmailAddressObject>& 
   107     const RPointerArray<CNcsEmailAddressObject>& 
   476 		
   470 		
   477     /**
   471     /**
   478     * HandleAttachmentsOpenCommand
   472     * HandleAttachmentsOpenCommand
   479     * 
   473     * 
   480     */
   474     */
   481     void HandleAttachmentsOpenCommandL();
   475     void HandleAttachmentOpenCommandL();
   482 		
   476 
       
   477     /**
       
   478      * HandleAttachmentRemoveCommandL
       
   479      * Handles removing of currently focused attachment 
       
   480      */
       
   481     void HandleAttachmentRemoveCommandL();
       
   482 
   483     /**
   483     /**
   484     * LaunchStylusPopupMenu
   484     * LaunchStylusPopupMenu
   485     * 
   485     * 
   486     */
   486     */
   487     void LaunchStylusPopupMenu( const TPoint& aPenEventScreenLocation );
   487     void LaunchStylusPopupMenu( const TPoint& aPenEventScreenLocation );
   495     void DoPopupSelectL();
   495     void DoPopupSelectL();
   496 		
   496 		
   497     void HandleLayoutChangeL();
   497     void HandleLayoutChangeL();
   498     
   498     
   499     void HandleSkinChangeL();
   499     void HandleSkinChangeL();
   500 
   500     
   501     TInt ContentTotalHeight();
   501     TInt ContentTotalHeight();
   502     TInt VisibleAreaHeight();
       
   503 
       
   504     /**
   502     /**
   505     * CommitL
   503     * CommitL
   506     * Commits changes to message
   504     * Commits changes to message
   507     */
   505     */
   508     void CommitL( TFieldToCommit aFieldToCommit = EAllFields );
   506     void CommitL( TFieldToCommit aFieldToCommit = EAllFields );
   529     
   527     
   530     /**
   528     /**
   531      * Called when text formatting was cancelled.
   529      * Called when text formatting was cancelled.
   532      */
   530      */
   533     void FormatAllTextCancelled();
   531     void FormatAllTextCancelled();
   534 
   532     
   535     /**
   533     /**
   536      * Called when text formatting is complete. 
   534      * Called when text formatting is complete. 
   537      */
   535      */
   538 	void FormatAllTextComplete();
   536 	void FormatAllTextComplete();
   539 	
   537 	
   640     * Changes focus according to key event and focused control.
   638     * Changes focus according to key event and focused control.
   641     * @param aKeyEvent The key event.
   639     * @param aKeyEvent The key event.
   642     * @return Indicates whether the key event was used by this control.
   640     * @return Indicates whether the key event was used by this control.
   643     */
   641     */
   644     TKeyResponse ChangeFocusL( const TKeyEvent& aKeyEvent );
   642     TKeyResponse ChangeFocusL( const TKeyEvent& aKeyEvent );
   645 
   643         
   646     /**
   644     /**
   647     * UpdateScreenPosition
   645     * UpdateScreenPositionL
   648     * @param aKeyCode Needed to recognize presses of the enter key
   646     * @param aKeyCode Needed to recognize presses of the enter key
   649     *                 in moving of display.
   647     *                 in moving of display.
   650     */
   648     */
   651     void UpdateScreenPosition( const TUint& aKeyCode = EKeyNull );
   649     void UpdateScreenPositionL( const TUint& aKeyCode = EKeyNull );
   652 
   650 
   653     /**
   651     /**
   654      * CalculateSeparatorLineSecondaryColor
   652      * CalculateSeparatorLineSecondaryColor
   655      * @return Separator line secondary color
   653      * @return Separator line secondary color
   656      */
   654      */
   778     
   776     
   779     /**
   777     /**
   780      * Currently processed field - needed by async text formatting.
   778      * Currently processed field - needed by async text formatting.
   781      */
   779      */
   782     CNcsEditor* iProcessedField;
   780     CNcsEditor* iProcessedField;
   783 
   781     
   784     /**
   782     /**
   785      * Async text formatter.
   783      * Async text formatter.
   786      * Own.
   784      * Own.
   787      */
   785      */
   788     CFSAsyncTextFormatter* iAsyncTextFormatter;
   786     CFSAsyncTextFormatter* iAsyncTextFormatter;
   789 
   787     
   790     // Cmail pane rect, calculated during SizeChanged.
   788     /**
       
   789      * Pane rect calculated during ChangeSize.
       
   790      */
   791     TRect iCmailPaneRect;
   791     TRect iCmailPaneRect;
   792     // Header origin, calculated during SizeChanged.
       
   793     TPoint iHeaderPos;
       
   794 
       
   795     };
   792     };
   796 
   793 
   797 
   794 
   798 #endif
   795 #endif