InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
kPicIcoPictureWidgetBoss Class Reference

#include <SdkObjModel.h>

Inheritance diagram for kPicIcoPictureWidgetBoss:
kIconSuiteWidgetBosskBaseWidgetBoss

Public Member Functions

IBooleanControlData IID_IBOOLEANCONTROLDATA
 
IUIFontSpec IID_IUIFONTSPEC
 
IPMUnknown IID_IEVENTHANDLER
 
- Public Member Functions inherited from kIconSuiteWidgetBoss
IPMUnknown IID_ICCKALTERNATEICONATTR
 
IAssociatedWidgetAttributes IID_IASSOCIATEDWIDGETATTRIBUTES
 
IPMUnknown IID_IEVENTHANDLER
 
IPMUnknown IID_ICANICONEXCEEDWIDGET
 
IPMUnknown IID_ICONTROLVIEW
 
IPNGIconAttributes IID_IPNGICONATTRIBUTES
 
ICursorRegion IID_ICURSORREGION
 
- Public Member Functions inherited from kBaseWidgetBoss
IScript IID_ISCRIPT
 
IPMUnknown IID_IEVENTHANDLER
 
IPMUnknown IID_PERFORMKEYBOARDACCELERATOR
 
IPMUnknown IID_NEVERWRITESTODOCUMENT
 
IPMUnknown IID_ISCRIPTWIDGETTYPE
 
IDV_UI_NodeRef IID_IDV_UI_NODEREF
 
IPMUnknown IID_IDVEVENTHANDLER
 
IEveInfo IID_IEVEINFO
 
IWidgetParent IID_IWIDGETPARENT
 
IPMUnknown IID_IACCFIELDS
 
IPMUnknown IID_ICONTROLVIEW
 
IPMUnknown IID_ICACHEHINTS
 
IPMUnknown IID_ITIP
 
IPMPersist IID_IPMPERSIST
 
ISubject IID_ISUBJECT
 

Detailed Description

Custom picture widget boss class. kIconSuiteWidgetBoss, plus an event handler to catch left-button down evnets.

Member Function Documentation

IBooleanControlData kPicIcoPictureWidgetBoss::IID_IBOOLEANCONTROLDATA

Flag used to preserve the internal state (selected or otherwise)

Implementation: kCBooleanControlDataImpl.

IPMUnknown kPicIcoPictureWidgetBoss::IID_IEVENTHANDLER

We're overriding the left-button down method.

Implementation: kPicIcoPictureWidgetEHImpl.

IUIFontSpec kPicIcoPictureWidgetBoss::IID_IUIFONTSPEC
     This interface has state data consisting of two integers, one for the default

state and one for the 'selected' or hilight state. Although it seems to be about fonts, it isn't specific to fonts and it is appropriate here since we have two int32 resource IDs that we wish to maintain on a data interface. This saves us having to write a custom data interface or use two int-data interfaces with different IIDs.

    Implementation: kUIFontSpecImpl.