VCF::ScrollPeer Class Reference
Class ScrollPeer documentation. More...
#include <vcf/ApplicationKit/ScrollPeer.h>
Inheritance diagram for VCF::ScrollPeer:

Public Member Functions | |
| virtual | ~ScrollPeer () |
| destructor should be virtual | |
| virtual void | scrollTo (const double &xPosition, const double &yPosition)=0 |
| moves the scrollbox of a scrollbar to the specified position. | |
| virtual void | getAdjustedPositions (double &xPosition, double &yPosition)=0 |
| gets the position of the scrollbox of a scrollbar adjusted by what the OS decides that position to be. | |
| virtual bool | isVerticalScrollbarVisible ()=0 |
| tells if the vertical scollbar is actually visible. | |
| virtual bool | isHorizontalScrollbarVisible ()=0 |
| tells if the horizontal scollbar is actually visible. | |
| virtual void | recalcScrollPositions (Scrollable *scrollable)=0 |
| recalculates all the positions and visibility status of all the scrollbars connected to a control. | |
| virtual Control * | getScrollableControl ()=0 |
| gets the control this scroll peer has been assogiated to. | |
| virtual void | setScrollableControl (Control *scrollableControl)=0 |
| sets the target control for the scrolling operation of this scroll peer instance. | |
| virtual double | getHorizontalScrollbarHeight ()=0 |
| gets the height ( the 'thickness' ) of an horizontal scrollbar. | |
| virtual double | getVerticalScrollbarWidth ()=0 |
| gets the width ( the 'thickness' ) of a vertical scrollbar. | |
| virtual void | getHorizontalScrollRects (Rect *scrollBounds, Rect *leftBounds=NULL, Rect *rightBounds=NULL)=0 |
| this will retrieves the values for three rectangular bounds, the bounds of the scroll bar portion, the bounds of the left most spacer, and the bounds of the right most spacer. | |
| virtual void | getVerticalScrollRects (Rect *scrollBounds, Rect *topBounds=NULL, Rect *bottomBounds=NULL)=0 |
| this will retrieves the values for three rectangular bounds, the bounds of the scroll bar portion, the bounds of the left most spacer, and the bounds of the right most spacer. | |
Detailed Description
Class ScrollPeer documentation.
Constructor & Destructor Documentation
|
|
destructor should be virtual
|
Member Function Documentation
|
||||||||||||
|
gets the position of the scrollbox of a scrollbar adjusted by what the OS decides that position to be.
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
|
gets the height ( the 'thickness' ) of an horizontal scrollbar.
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
||||||||||||||||
|
this will retrieves the values for three rectangular bounds, the bounds of the scroll bar portion, the bounds of the left most spacer, and the bounds of the right most spacer. If a scroll bar has it's left and/or right scroll space set to 0, then the right and left bounds for the spacers may be null, or a rect of (0,0,0,0).
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
|
gets the control this scroll peer has been assogiated to.
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
|
gets the width ( the 'thickness' ) of a vertical scrollbar.
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
||||||||||||||||
|
this will retrieves the values for three rectangular bounds, the bounds of the scroll bar portion, the bounds of the left most spacer, and the bounds of the right most spacer. If a scroll bar has it's left and/or right scroll space set to 0, then the right and left bounds for the spacers may be null, or a rect of (0,0,0,0).
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
|
tells if the horizontal scollbar is actually visible.
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
|
tells if the vertical scollbar is actually visible.
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
|
recalculates all the positions and visibility status of all the scrollbars connected to a control. This function must be called after some changes have been made on the target, the size of the object to scroll, or any scrollbar. Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
||||||||||||
|
moves the scrollbox of a scrollbar to the specified position. Keep in mind that the final position may differ fom the specified one because the OS may change that actual position because of roundings and other internal considerations related to the position of the involved controls and windows.
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
|
|
sets the target control for the scrolling operation of this scroll peer instance. At this point the content of the control will be scrolled by the scrollable.
Implemented in VCF::OSXScrollPeer, and VCF::Win32ScrollPeer. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/ScrollPeer.h
