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