InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInterfaceAppearancePrefs Class Referenceabstract

#include <IInterfaceAppearancePrefs.h>

Inheritance diagram for IInterfaceAppearancePrefs:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IINTERFACEAPPEARANCEPREFS }
 

Public Member Functions

virtual bool16 GetInterfaceBrightness (PMReal &outBrightness) const =0
 
virtual bool16 SetInterfaceBrightness (const PMReal inBrightness)=0
 
virtual bool16 GetPasteboardColorPref (int32 &outPasteboardColorPref) const =0
 
virtual bool16 SetPasteboardColorPref (const int32 inPasteboardColorPref)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface to provide UI Appearance preferences

Deprecated:
This interface has been deprecated. Please use IUserInterfacePreferencesFacade to access Brightness and PasteboardColor preferences

Member Function Documentation

virtual bool16 IInterfaceAppearancePrefs::GetInterfaceBrightness (PMRealoutBrightness) const
pure virtual

Get the Application brightness, this should be cached from saved preferences

Returns
kTrue if successful
virtual bool16 IInterfaceAppearancePrefs::GetPasteboardColorPref (int32 & outPasteboardColorPref) const
pure virtual

Get the Pasteboard Color Pref, this should be cached from saved preferences

Returns
kTrue if successful
virtual bool16 IInterfaceAppearancePrefs::SetInterfaceBrightness (const PMReal inBrightness)
pure virtual

Set the Application brightness, this should be saved in preferences

Returns
kTrue if successful
virtual bool16 IInterfaceAppearancePrefs::SetPasteboardColorPref (const int32 inPasteboardColorPref)
pure virtual

Set the Pasteboard Color Pref, this should be saved in preferences

Returns
kTrue if successful