photosgallery/viewframework/views/cloudview/inc/glxcloudviewcontrol.h
branchRCL_3
changeset 75 01504893d9cb
parent 64 34937ec34dac
equal deleted inserted replaced
68:5b238bc8ffb6 75:01504893d9cb
   363     /** 
   363     /** 
   364 	 * Sets focused item color
   364 	 * Sets focused item color
   365 	 **/
   365 	 **/
   366     void SetFocusColor();
   366     void SetFocusColor();
   367     
   367     
       
   368     
   368     /** 
   369     /** 
   369      * Resets focused item color
   370 	 * Set the middle point of the infobuble
   370      **/
   371 	 **/
   371     void ResetFocusColor();
   372     void SetBubleMidPoint(TPoint& aMidPoint);
   372     
   373   
   373     /**
   374    /** 
   374      *  Set the focus to first visible item
   375 	 * Create the infobublecontainer
   375      *  in the current view position
   376 	 **/  
   376      */
   377     void CreateBubleContainer();
   377     void SetFocusToFirstVisibleItemL();
   378     
   378 
       
   379    /** 
   379    /** 
   380 	 * Move the viewport up depending on the condition
   380 	 * Move the viewport up depending on the condition
   381 	 *
   381 	 *
   382 	 **/ 
   382 	 **/ 
   383     void MoveUpIfRequired();
   383     void MoveUpIfRequired();
   385     /** 
   385     /** 
   386 	 * Move the viewport down depending on the condition
   386 	 * Move the viewport down depending on the condition
   387 	 **/  
   387 	 **/  
   388     void MoveDownIfRequired();
   388     void MoveDownIfRequired();
   389 
   389 
       
   390     /** 
       
   391 	 * calculate the mid point of the bubble
       
   392 	 **/
       
   393     void CalculateBubleMidPoint();
       
   394 	 
   390 public:
   395 public:
   391 
   396 
   392 	void HandleItemAddedL(TInt aStartIndex, TInt aEndIndex,
   397 	void HandleItemAddedL(TInt aStartIndex, TInt aEndIndex,
   393         MGlxMediaList* aList);
   398         MGlxMediaList* aList);
   394 
   399 
   553 	TInt iScrollDirection;
   558 	TInt iScrollDirection;
   554 	
   559 	
   555 	// FocusIndex keeps track of the focussed row 
   560 	// FocusIndex keeps track of the focussed row 
   556 	TInt iFocusRowIndex;
   561 	TInt iFocusRowIndex;
   557 
   562 
       
   563 	// EndRowindex keeps track of the end row 
       
   564 	TInt iEndRowIndex;
       
   565 
   558 	//keeps track of the end row 
   566 	//keeps track of the end row 
   559 	TInt iLayoutIndex;
   567 	TInt iLayoutIndex;
   560 
   568 
   561 	// Fetch context for list item attributes 
   569 	// Fetch context for list item attributes 
   562 	CGlxDefaultAttributeContext* iAttributeContext;
   570 	CGlxDefaultAttributeContext* iAttributeContext;
   643     /**flag for Timer completion */
   651     /**flag for Timer completion */
   644     TBool iTimerComplete;
   652     TBool iTimerComplete;
   645 
   653 
   646     /**flag to identify the next down event */
   654     /**flag to identify the next down event */
   647     TBool iDownEventReceived;
   655     TBool iDownEventReceived;
   648     
       
   649     // Flag to show Alf visual focus
       
   650     TBool iShowFocus;
       
   651 	};
   656 	};
   652 
   657 
   653 #endif // C_GLXCLOUDVIEWCONTROL_H
   658 #endif // C_GLXCLOUDVIEWCONTROL_H
   654 
   659