classicui_pub/private_ui_framework_api/inc/EIKDPAGE.H
branchRCL_3
changeset 17 a1caeb42b3a3
parent 0 2f259fa3e83a
child 18 fcdfafb36fe7
equal deleted inserted replaced
15:c52421ed5f07 17:a1caeb42b3a3
   182     
   182     
   183     /**
   183     /**
   184      * Scrolls cached drawing commands by @c aDelta pixels in y direction.
   184      * Scrolls cached drawing commands by @c aDelta pixels in y direction.
   185      * 
   185      * 
   186      * @param  aDelta     A y-asix base on the sliding control's coordinate.
   186      * @param  aDelta     A y-asix base on the sliding control's coordinate.
   187      * @param  aDebugMsg  Not used.
       
   188      * @param  aDrawNow   Whether or not the view should be drawn.  
   187      * @param  aDrawNow   Whether or not the view should be drawn.  
   189      */
   188      */
   190     void ScrollCacheByPixels( TInt aDelta,
   189     void ScrollCacheByPixels( TInt aDelta,
   191                               const TDesC& aDebugMsg,
       
   192                               TBool aDrawNow = ETrue );
   190                               TBool aDrawNow = ETrue );
   193     
   191     
   194     /**
   192     /**
   195      * Updates line's cached drawing commands.
   193      * Updates line's cached drawing commands.
   196      */
   194      */
   227     void ChangeFocusToAndExposeL(TInt aLine,TBool aShowWholeControl=EFalse);
   225     void ChangeFocusToAndExposeL(TInt aLine,TBool aShowWholeControl=EFalse);
   228     TInt TopFocusableLine() const;
   226     TInt TopFocusableLine() const;
   229     TInt BottomFocusableLine() const;
   227     TInt BottomFocusableLine() const;
   230     TBool LineIsFocusable(TInt aLine) const;
   228     TBool LineIsFocusable(TInt aLine) const;
   231     TBool ResizeEdwinToFitTextL(CEikEdwin* aEdwin, TDrawNow aDrawNow, TSize aDesirableEdwinSize);
   229     TBool ResizeEdwinToFitTextL(CEikEdwin* aEdwin, TDrawNow aDrawNow, TSize aDesirableEdwinSize);
   232     TInt YPosToLine2(TInt aYPos) const;
       
   233     TInt LineToYPos(TInt& aLine) const;
       
   234     void ExposeLine(TInt aLine, TBool aForceResize, TBool aShowWholeLine = EFalse );
   230     void ExposeLine(TInt aLine, TBool aForceResize, TBool aShowWholeLine = EFalse );
   235     void PassOnEventL(CCoeControl* aControl,MCoeControlObserver::TCoeEvent aEvent);
   231     void PassOnEventL(CCoeControl* aControl,MCoeControlObserver::TCoeEvent aEvent);
   236     CEikCaptionedControl* ConstructLineL(TInt aResourceId);
   232     CEikCaptionedControl* ConstructLineL(TInt aResourceId);
   237     CEikCaptionedControl* ConstructLineL(TResourceReader& aReader);
   233     CEikCaptionedControl* ConstructLineL(TResourceReader& aReader);
   238     TKeyResponse HandleCyclicFocusNavigationKeyL(const TKeyEvent& aKeyEvent);
   234     TKeyResponse HandleCyclicFocusNavigationKeyL(const TKeyEvent& aKeyEvent);
   277     * Records one line's drawing commands to the cache replacing existing commands for that line.
   273     * Records one line's drawing commands to the cache replacing existing commands for that line.
   278     */
   274     */
   279     void RecordLineL( TInt aLine );
   275     void RecordLineL( TInt aLine );
   280     
   276     
   281     /**
   277     /**
   282     * Scrolls all lines by aPixels in y direction.
       
   283     */
       
   284     void ScrollByPixels( TInt aDelta );
       
   285     
       
   286     /**
       
   287     * Removes pressed down highlight.
   278     * Removes pressed down highlight.
   288     */
   279     */
   289     void RemovePressedDownHighlight();
   280     void RemovePressedDownHighlight();
   290     
   281     
   291     /**
   282     /**
   305     void RegisterComponentL(TInt aControlType, CCoeControl* aControl, CEikCaptionedControl* aLine);
   296     void RegisterComponentL(TInt aControlType, CCoeControl* aControl, CEikCaptionedControl* aLine);
   306     static void CommonConstructCodeBetweenNewL(CEikDialogPage& aDialogPage, const CEikDialogPageContainer& aParent);
   297     static void CommonConstructCodeBetweenNewL(CEikDialogPage& aDialogPage, const CEikDialogPageContainer& aParent);
   307 
   298 
   308 public: 
   299 public: 
   309     TBool AnythingToDisplay() const;
   300     TBool AnythingToDisplay() const;
   310     void DrawVerticalLine() const;
       
   311     CEikCaptionedControl* LineOnPageOrNull(TInt aLine) const;
   301     CEikCaptionedControl* LineOnPageOrNull(TInt aLine) const;
   312     TSize RealDataSize() const;
       
   313     TInt NumberOfLines() const;
   302     TInt NumberOfLines() const;
   314     CEikCaptionedControl* LineByIndex(TInt aIndex) const;
   303     CEikCaptionedControl* LineByIndex(TInt aIndex) const;
   315 
   304 
   316 private:
   305 private:
   317     CEikCapCArray* iLines;
   306     CEikCapCArray* iLines;