InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IScrollBarPanoramaSync.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Burbidge
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __ISCROLLBARPANORAMASYNC__
25 #define __ISCROLLBARPANORAMASYNC__
26 
27 //========================================================================================
28 // Forward declarations
29 //========================================================================================
30 
31 class IControlView;
33 class IPanorama;
34 
35 //========================================================================================
36 // CLASS IScrollBarPanoramaSync
44 //========================================================================================
45 
47 {
48 public:
56  virtual void Init(IControlView* scrollBarX, IControlView* scrollBarY,
57  IPanorama* panorama, bool16 bInhibitCentering = kFalse) = 0;
58 
59 public:
61  virtual void SizeChanged() = 0;
62 
66  virtual void UpdateScrollBars() = 0;
67 
72  virtual void UpdatePanorama(bool16 isVertical, int32 scrollDelta) = 0;
73 
74 // ----- Accessors
75 public:
77  virtual ICounterControlData* GetScrollBarX() const = 0;
79  virtual ICounterControlData* GetScrollBarY() const = 0;
81  virtual IPanorama* GetPanorama() const = 0;
82 };
83 
84 #endif