![]() | InDesign SDK 20.5 |
#include <IScrollBarPanoramaSync.h>

Public Member Functions | |
| virtual void | Init (IControlView *scrollBarX, IControlView *scrollBarY, IPanorama *panorama, bool16 bInhibitCentering=kFalse)=0 |
| virtual void | SizeChanged ()=0 |
| virtual void | UpdateScrollBars ()=0 |
| virtual void | UpdatePanorama (bool16 isVertical, int32 scrollDelta)=0 |
| virtual ICounterControlData * | GetScrollBarX () const =0 |
| virtual ICounterControlData * | GetScrollBarY () const =0 |
| virtual IPanorama * | GetPanorama () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface used to keep a panorama synced with the scrollbar widget(s) controlling it.
An IScrollBarPanoramaSync implementation is combined with an IObserver implementation, as in kScrollBarPanoramaSyncBoss or kGridScrollBarPanoramaSyncBoss.
| pure virtual |
Get the panorama.
| pure virtual |
Get the horizontal scroll bar.
| pure virtual |
Get the vertical scroll bar.
| pure virtual |
Initialize the interface, and attach the associated observer to the panorama, window and scroll bar(s).
| scrollBarX | IN the horizontal scroll bar view |
| scrollBarY | IN the vertical scroll bar view |
| panorama | IN the panorama to be scrolled |
| bInhibitCentering | IN if true, inhibit centering the panorama as it grows or shrinks. |
| pure virtual |
Adjust the scroll bars and panorama after the size of the panorama has changed.
| pure virtual |
Update the panorama to match the scroll bars.
| isVertical | IN scroll vertically or horizontally |
| scrollDelta | IN how much to scroll |
| pure virtual |
Update the scroll bars to match the panorama (after a resize). Includes enabling and disabling the scroll bars as necessary if the entire panorama becomes visible.