Skip to main content
JADarnell
Inspiring
August 4, 2008
Question

InDesign -- All versions: fill color for dialog boxes

  • August 4, 2008
  • 1 reply
  • 343 views
A while back I submitted a question to the forum on how I might change the color of a palette fill. The List graciously pointed me to this line in the palette resource description:

b resource DTRPanelWidget(kSDKDefPanelResourceID + index_enUS)

b {

b __FILE__, __LINE__, // Localization macro

b kAutoFormPanelWidgetID, // WidgetID

b kPMRsrcID_None, // RsrcID

b kBindNone, // Binding (0=none)

b // The smiley faces (if you see them) should be the number 8

b PANELLFT, PANELTOP(8), PANELRGT, PANELBOT(8), // Frame: l, t, r, b.

b kTrue, kTrue, // Visible, Enabled

b kTrue, // Erase background

b // This is the line

b kInterfaceBlueProgressBack, // Erase to color

b kFalse, // Draw dropshadow

b kAutoFormPanelTitleKey, // Panel name

b {

And then directed me to the following header for color choices:

b InterfaceColorDefines.h

The choices are limited, but this line about halfway down in the header leads me to believe that I can specify more:

b // NOTE: Add any custom K2 color enumerations below here:

The description at the top of the header also says that I should consult the Adobe UI guidelines for more information.

So my questions are two:

1.) Does anyone know how to add colors to this list, and how to make them, if needed?

2.) I looked for the Adobe UI Interface guidelines in the SDK docs and found nothing. Does anyone know where I can get this document? If disguised in the SDK documentation, what's its real name?

TIA!

John
This topic has been closed for replies.

1 reply

Inspiring
August 5, 2008
Please have a look at this, it sounds promising:
ID5SDK/docs/references/sdkdocs/html/classkWorkspaceBoss.html#a41

I would doubt though, whether all places within InDesign are prepared to expect additions.

Maybe instead just run your own IControlView.
Derive from ErasablePanelView - the header is in the SDK, code is in PublicLib or alike.

Dirk