InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IUIScalingPrefs.h
1
//========================================================================================
2
//
3
// Copyright 2021 Adobe
4
// All Rights Reserved.
5
//
6
// NOTICE: Adobe permits you to use, modify, and distribute this file in
7
// accordance with the terms of the Adobe license agreement accompanying
8
// it.
9
//
10
//========================================================================================
11
12
#ifndef __IUIScalingPrefs__
13
#define __IUIScalingPrefs__
14
15
#include "IPMUnknown.h"
16
#include "AppUIID.h"
17
18
//________________________________________________________________________________________
19
// CLASS DECLARATIONS
20
// InDesign now supports UI scaling from 100% to 300%. This Interface is used to manage the UI scaling preferences.
21
//_________________________________________________________________________________
22
23
class
IUIScalingPrefs
:
public
IPMUnknown
24
{
25
public
:
26
enum
{ kDefaultIID = IID_IUISCALINGPREFS };
27
28
typedef
enum
{ kLower = 0, kHigher } ScalingFactorPref;
29
typedef
enum
{kMinScaling = 1, kMaxScaling = 3} ScalingRange;
30
34
virtual
PMReal
GetScaleFactorValue
()=0;
38
virtual
bool16
GetScaleCursor
()=0;
42
virtual
PMReal
GetBoundingBoxValue
()=0;
47
virtual
int32
GetNumStops
()=0;
48
52
virtual
bool16
GetHasUserUpdatedPrefs
() = 0;
53
54
59
virtual
void
SetScaleFactorValue
(
PMReal
& scaleFactor)=0;
60
65
virtual
void
SetScaleCursor
(bool16& scaleCursor)=0;
66
71
virtual
void
SetBoundingBoxValue
(
PMReal
& boundingBox)=0;
72
77
virtual
void
SetNumSliderStops
(int32& numStops)=0;
78
84
virtual
void
SetHasUserUpdatedPrefs
(bool16 &hasUpdatedPrefs) = 0;
85
86
87
};
88
89
#endif
tmpdoxygeninput
IUIScalingPrefs.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1