uifw/EikStd/coctlinc/AknDoubleSpanScrollIndicator.h
branchRCL_3
changeset 23 3d340a0166ff
parent 10 9f56a4e1b8ab
child 55 aecbbf00d063
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
   253     *
   253     *
   254     * @since    2.6
   254     * @since    2.6
   255     */
   255     */
   256     void CreateScrollBarItemsL();    
   256     void CreateScrollBarItemsL();    
   257 
   257 
   258     TInt ScrollHandleMaxVisibleSizeInPixels();
   258     TInt HandleMaxSizeInPixels();
   259     TInt HandleBackgroundMinSizeInPixels();
       
   260     TInt HandleMinSizeInPixels();
   259     TInt HandleMinSizeInPixels();
   261 
   260 
   262     /**
   261     /**
   263     * Handles background drawing
   262     * Handles background drawing
   264     * 
   263     * 
   265     * @since    3.1
   264     * @since    3.1
   266     *
   265     *
   267     */
   266     */
   268     void DrawBackground() const;
   267     void DrawBackground() const;
   269     
   268     
   270     /**
       
   271     * Layout scrollbar handle
       
   272     * 
       
   273     * @since    3.1
       
   274     *
       
   275     */
       
   276     void LayoutHandleGraphics();
       
   277 
       
   278     CAknDoubleSpanScrollIndicatorItem* LoadScrollIndicatorItemL(
   269     CAknDoubleSpanScrollIndicatorItem* LoadScrollIndicatorItemL(
   279             const TAknsItemID &aTopId,
   270             const TAknsItemID &aTopId,
   280             const TAknsItemID &aMidId,
   271             const TAknsItemID &aMidId,
   281             const TAknsItemID &aBottomId);
   272             const TAknsItemID &aBottomId);
   282 
   273 
   291     TInt iFocusPosition;        // Position of the current field in the list.
   282     TInt iFocusPosition;        // Position of the current field in the list.
   292     TInt iWindowSize;           // Size of the visible part of the list. 
   283     TInt iWindowSize;           // Size of the visible part of the list. 
   293     TInt iFieldPosition;        // Size of the current field. (Optional double span)
   284     TInt iFieldPosition;        // Size of the current field. (Optional double span)
   294     TInt iFieldSize;            // Position inside the current field. (Optional double span)
   285     TInt iFieldSize;            // Position inside the current field. (Optional double span)
   295     TBool iOwnsWindow;            // Is window owning
   286     TBool iOwnsWindow;            // Is window owning
   296     TInt iSpare;
       
   297 
   287 
   298     TRect iBackgroundRect;       // Rect for scrollbar background.
   288     TRect iBackgroundRect;       // Rect for scrollbar background.
   299     TRect iHandleBackgroundRect; // Rect for scrollbar handle background.
   289     TRect iHandleBackgroundRect; // Rect for scrollbar handle background.
   300     TRect iHandleRect;           // Rect for scrollbar handle. 
   290     TRect iHandleRect;           // Rect for scrollbar handle. 
   301     
   291     
   315     CAknDoubleSpanScrollIndicatorItem* iHighlightBackgroundBar;
   305     CAknDoubleSpanScrollIndicatorItem* iHighlightBackgroundBar;
   316     CAknDoubleSpanScrollIndicatorItem* iHandleBar;
   306     CAknDoubleSpanScrollIndicatorItem* iHandleBar;
   317     CAknDoubleSpanScrollIndicatorItem* iHighlightHandleBar;
   307     CAknDoubleSpanScrollIndicatorItem* iHighlightHandleBar;
   318  
   308  
   319     TInt iHeadItemSize;
   309     TInt iHeadItemSize;
   320     TInt iMidItemSize;
       
   321     TInt iTailItemSize;
   310     TInt iTailItemSize;
       
   311 
       
   312     /**
       
   313      * Minimum handle size.
       
   314      */
       
   315     TInt iHandleMinSize;
       
   316     
       
   317     /**
       
   318      * Maximum handle size.
       
   319      */
       
   320     TInt iHandleMaxSize;
   322     };
   321     };
   323 
   322 
   324 #endif
   323 #endif
   325 
   324