VCF::OSXScrollPeer Class Reference
Class OSXScrollPeer documentation. More...
#include <OSXScrollPeer.h>
Inheritance diagram for VCF::OSXScrollPeer:

Public Member Functions | |
| OSXScrollPeer (Control *scrollableControl=NULL) | |
| virtual | ~OSXScrollPeer () |
| virtual void | scrollTo (const double &xPosition, const double &yPosition) |
| moves the scrollbox of a scrollbar to the specified position. | |
| virtual void | getAdjustedPositions (double &xPosition, double &yPosition) |
| gets the position of the scrollbox of a scrollbar adjusted by what the OS decides that position to be. | |
| virtual bool | isVerticalScrollbarVisible () |
| tells if the vertical scollbar is actually visible. | |
| virtual bool | isHorizontalScrollbarVisible () |
| tells if the horizontal scollbar is actually visible. | |
| virtual void | recalcScrollPositions (Scrollable *scrollable) |
| recalculates all the positions and visibility status of all the scrollbars connected to a control. | |
| virtual Control * | getScrollableControl () |
| gets the control this scroll peer has been assogiated to. | |
| virtual void | setScrollableControl (Control *scrollableControl) |
| sets the target control for the scrolling operation of this scroll peer instance. | |
| virtual double | getHorizontalScrollbarHeight () |
| gets the height ( the 'thickness' ) of an horizontal scrollbar. | |
| virtual double | getVerticalScrollbarWidth () |
| gets the width ( the 'thickness' ) of a vertical scrollbar. | |
| virtual void | getHorizontalScrollRects (Rect *scrollBounds, Rect *leftBounds=NULL, Rect *rightBounds=NULL) |
| 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) |
| 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. | |
Protected Attributes | |
| Control * | scrollableControl_ |
Detailed Description
Class OSXScrollPeer documentation.
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
||||||||||||
|
gets the position of the scrollbox of a scrollbar adjusted by what the OS decides that position to be.
Implements VCF::ScrollPeer. |
|
|
gets the height ( the 'thickness' ) of an horizontal scrollbar.
Implements VCF::ScrollPeer. |
|
||||||||||||||||
|
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).
Implements VCF::ScrollPeer. |
|
|
gets the control this scroll peer has been assogiated to.
Implements VCF::ScrollPeer. |
|
|
gets the width ( the 'thickness' ) of a vertical scrollbar.
Implements VCF::ScrollPeer. |
|
||||||||||||||||
|
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).
Implements VCF::ScrollPeer. |
|
|
tells if the horizontal scollbar is actually visible.
Implements VCF::ScrollPeer. |
|
|
tells if the vertical scollbar is actually visible.
Implements VCF::ScrollPeer. |
|
|
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. Implements VCF::ScrollPeer. |
|
||||||||||||
|
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.
Implements VCF::ScrollPeer. |
|
|
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.
Implements VCF::ScrollPeer. |
Member Data Documentation
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/OSXScrollPeer.h
