webengine/osswebengine/WebKit/s60/webview/WebCursor.h
changeset 11 c8a366e56285
parent 5 10e98eab6f85
child 15 60c5402cb945
equal deleted inserted replaced
10:a359256acfc6 11:c8a366e56285
    64         bool transparent() const { return m_transparent; }
    64         bool transparent() const { return m_transparent; }
    65         void setOpaqueUntil(int microsecs);
    65         void setOpaqueUntil(int microsecs);
    66         void increaseTransparencyMoveCount();
    66         void increaseTransparencyMoveCount();
    67         void resetTransparency();
    67         void resetTransparency();
    68         void scrollAndMoveCursor(int dir, int scrollRange, bool auto);
    68         void scrollAndMoveCursor(int dir, int scrollRange, bool auto);
       
    69         void simpleScroll(int dir, int scrollRange, bool auto=true);
    69         WebFrame* getFrameUnderCursor();
    70         WebFrame* getFrameUnderCursor();
    70         bool navigableNodeUnderCursor(WebFrame& webFrame, TPoint& aPoint, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect) const;
    71         bool navigableNodeUnderCursor(WebFrame& webFrame, TPoint& aPoint, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect) const;
    71         WebFrame* getFrameAtPoint(const TPoint& viewPos_);
    72         WebFrame* getFrameAtPoint(const TPoint& viewPos_);
    72         
    73         
    73 
    74 
    80         WebFrame* calculateScrollableFrameView(TPoint& pos, TPoint& aPoint, TRect& fRect, bool autoscroll);
    81         WebFrame* calculateScrollableFrameView(TPoint& pos, TPoint& aPoint, TRect& fRect, bool autoscroll);
    81         void innerRect(TRect& rect);
    82         void innerRect(TRect& rect);
    82         bool frameHasContentToScroll(WebFrame* frame, TPoint& delta);
    83         bool frameHasContentToScroll(WebFrame* frame, TPoint& delta);
    83         WebFrame*  determineScrollingFrame(int border1, int border2, int pos, 
    84         WebFrame*  determineScrollingFrame(int border1, int border2, int pos, 
    84         		                           WebFrame* fr1, WebFrame* fr2, TPoint& delta);
    85         		                           WebFrame* fr1, WebFrame* fr2, TPoint& delta);
       
    86         void scrollingDirection(int dir, int& lr, int& tb);
    85     private:
    87     private:
    86 
    88 
    87         WebCursor();
    89         WebCursor();
    88         void ConstructL();
    90         void ConstructL();
    89         TRect calcSearchRect(int lr, int tb, int scrollRange);
    91         TRect calcSearchRect(int lr, int tb, int scrollRange);