textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutvkb.h
branchRCL_3
changeset 5 a47de9135b21
parent 0 eb1f2e154e89
child 8 4eb1ae11334f
equal deleted inserted replaced
3:f5a1e66df979 5:a47de9135b21
    27 class CVirtualKey;
    27 class CVirtualKey;
    28 class CVirtualKeyCtrl;
    28 class CVirtualKeyCtrl;
    29 class CBubbleCtrl;
    29 class CBubbleCtrl;
    30 class CPenInputColorIcon;
    30 class CPenInputColorIcon;
    31    
    31    
       
    32 class MPeninputVkbPreviewBubbleRenderer;
    32 #define INVALID_COLOR_GROUP -1
    33 #define INVALID_COLOR_GROUP -1
    33    
    34    
    34 typedef struct TVirtualKeyEventData_Tag
    35 typedef struct TVirtualKeyEventData_Tag
    35     {
    36     {
    36     TKeyEvent       iKeyEvent; //key event
    37     TKeyEvent       iKeyEvent; //key event
   558      * @param aIcon shift icon
   559      * @param aIcon shift icon
   559      */ 	
   560      */ 	
   560 	IMPORT_C void SetShiftIcon( CPenInputColorIcon* aIcon );
   561 	IMPORT_C void SetShiftIcon( CPenInputColorIcon* aIcon );
   561 	inline CPenInputColorIcon* ShiftIcon();
   562 	inline CPenInputColorIcon* ShiftIcon();
   562     
   563     
       
   564 	/**
       
   565 	 * Install preview bubble renderer
       
   566 	 * 
       
   567 	 * @param aRenderer Preview bubble renderer. 
       
   568 	 *  Ownership transfered(shared by all targets of aRenderer)
       
   569 	 * @return None.
       
   570 	 */
       
   571 	IMPORT_C void SetPreviewBubbleRenderer( MPeninputVkbPreviewBubbleRenderer* aRenderer );
       
   572 	
   563 protected:                          
   573 protected:                          
   564 
   574 
   565     /**
   575     /**
   566      * 2nd phase constructor
   576      * 2nd phase constructor
   567      *
   577      *
   852 	
   862 	
   853 	/**
   863 	/**
   854      * The shift icon showing on the key
   864      * The shift icon showing on the key
   855      */      
   865      */      
   856     CPenInputColorIcon* iShiftIcon;
   866     CPenInputColorIcon* iShiftIcon;
       
   867     MPeninputVkbPreviewBubbleRenderer* iPreviewBubbleRenderer;
   857 friend class CVirtualKeyCtrl;
   868 friend class CVirtualKeyCtrl;
   858 friend class CVirtualRawKeyCtrl;
   869 friend class CVirtualRawKeyCtrl;
   859 //friend class CVirtualKey;    
   870 //friend class CVirtualKey;    
   860     };
   871     };
   861 
   872