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

Custom picture widget boss class. kIconSuiteWidgetBoss, plus an event handler to catch left-button down evnets.
| 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.