Adobe.com
Contents Suites Classes Class Index Member Index

ADMStdTypes.h File Reference

#include "AIBasicTypes.h"

Go to the source code of this file.

Classes

struct  _t_ADMRect
 Rectangle value in Windows (same as RECT). More...
struct  _t_ADMPoint
 Point value in Windows (same as Point). More...
struct  _t_ADMRGBColor
 RGB color record. More...

Typedefs

typedef struct _t_ADMRect ADMRect
 Rectangle value in Windows (same as RECT).
typedef struct _t_ADMPoint ADMPoint
 Point value in Windows (same as Point).
typedef int ADMBoolean
 Boolean value in Windows (same as BOOL).
typedef struct _t_ADMRGBColor ADMRGBColor
 RGB color record.

Enumerations

enum  ADMUnits {
  kADMNoUnits = 0, kADMPointUnits = 1, kADMInchUnits = 2, kADMMillimeterUnits = 3,
  kADMCentimeterUnits = 4, kADMPicaUnits = 5, kADMPercentUnits = 6, kADMDegreeUnits = 7,
  kADMQUnits = 8, kADMBase16Units = 9, kADMPixelUnits = 10, kADMTimeUnits = 11,
  kADMHaUnits = 12, kADMMinNormalUnits = kADMPointUnits, kADMMaxNormalUnits = kADMHaUnits, kADMAppUnits1 = 101,
  kADMAppUnits2 = 102, kADMAppUnits3 = 103, kADMAppUnits4 = 104, kADMAppUnits5 = 105,
  kADMAppUnits6 = 106, kADMAppUnits7 = 107, kADMAppUnits8 = 108, kADMAppUnits9 = 109,
  kADMAppUnits10 = 110, kADMMaxAppUnits = kADMAppUnits10, kADMDummyUnits = 0xFFFFFFFF
}
 

Measurement units within dialogs.

More...
enum  ADMColor {
  kADMBlackColor = 0, kADMWhiteColor, kADMHiliteColor, kADMHiliteTextColor,
  kADMLightColor, kADMBackgroundColor, kADMShadowColor, kADMDisabledColor,
  kADMButtonUpColor, kADMButtonDownColor, kADMButtonDownShadowColor, kADMToolTipBackgroundColor,
  kADMToolTipForegroundColor, kADMWindowColor, kADMForegroundColor, kADMTextColor,
  kADMRedColor, kADMTabBackgroundColor, kADMActiveTabColor, kADMInactiveTabColor,
  kADMDummyColor = 0x000000FE, kActuallyRGBWhiteButSpecifiedToForceEnumTo32Bits = 0xFFFFFFFF
}
 

Constant color values to be used for various dialog elements.

More...

Typedef Documentation

typedef unsigned char ADMBoolean

Boolean value in Windows (same as BOOL).

Boolean value in Mac OS (same as Boolean).

typedef struct _t_ADMPoint ADMPoint

Point value in Windows (same as Point).

typedef struct _t_ADMRect ADMRect

Rectangle value in Windows (same as RECT).

typedef struct _t_ADMRGBColor ADMRGBColor

RGB color record.


Enumeration Type Documentation

enum ADMColor

Constant color values to be used for various dialog elements.

The value of the constant specifies the actual RGB value, if the format is 0xRRGGBBFF. The lower 8 bits are always 0xFF and can be ignored. The top 24 bits represent the amounts of red, green, and blue, where 0x00 is none, and 0xFF is the maximum.

  • Black = 0x000000FF,
  • Red = 0xFF0000FF,
  • Green = 0x00FF00FF,
  • Blue = 0x0000FFFF,
  • White = 0xFFFFFFFF

Use these constants in a drawing procedure, to make your modified or custom dialog elements consistent with other application dialogs. See ADMDrawerSuite6::SetADMColor().

Enumerator:
kADMBlackColor 

Black.

kADMWhiteColor 

White.

kADMHiliteColor 

Color that indicates highlighted graphics in dialog.

kADMHiliteTextColor 

Color that indicates highlighted text in dialog.

kADMLightColor 

Color for the light part of shadowed objects.

kADMBackgroundColor 

Color for dialog background.

kADMShadowColor 

Color for the shadowed part of shadowed objects.

kADMDisabledColor 

Color that indicates a disabled control.

kADMButtonUpColor 

Color for an unpressed button.

kADMButtonDownColor 

Color for a pressed button.

kADMButtonDownShadowColor 

Color for the shadowed part of a pressed button.

kADMToolTipBackgroundColor 

Color for a tooltip background.

kADMToolTipForegroundColor 

Color for the text of a tooltip.

kADMWindowColor 

Color for window interiors.

kADMForegroundColor 

Color for dialog foreground.

kADMTextColor 

Color for dialog text.

kADMRedColor 

Red.

kADMTabBackgroundColor 

Obsolete, do not use.

kADMActiveTabColor 

Obsolete, do not use.

kADMInactiveTabColor 

Obsolete, do not use.

kADMDummyColor 

Indicates an unspecified color.

kActuallyRGBWhiteButSpecifiedToForceEnumTo32Bits 

Internal.

enum ADMUnits

Measurement units within dialogs.

The unit can be displayed automatically after the value for items with numeric values.

See also:
ADMItemSuite9::ShowUnits(), ADMItemSuite9::SetUnits(), ADMBasicSuite::ValueToString(), ADMBasicSuite::StringToValue(),

You can create up to 10 application unit preferences, using the constants kADMAppUnits1 to kADMAppUnits10. Use ADMBasicSuite::SetAppUnits() to associate the numbered unit type with a normal unit type. Retrieve the associated unit type with ADMBasicSuite::SetAppUnits().

Enumerator:
kADMNoUnits 

Does not display units, even if show-units is on.

kADMPointUnits 

Document points (1/72 inch).

kADMInchUnits 

Inches.

kADMMillimeterUnits 

Millimeters.

kADMCentimeterUnits 

Centimeters.

kADMPicaUnits 

Picas.

kADMPercentUnits 

Percentage values.

kADMDegreeUnits 

Degrees.

kADMQUnits 

Kyu units (Japanese linear measure, 0.25 mm).

kADMBase16Units 

Base 16 values, usually shown and entered as 0xHH (H = hexadecimal digit).

kADMPixelUnits 

Pixels.

kADMTimeUnits 

Time units, generally hours:minutes:seconds:frames.

kADMHaUnits 

Ha units (Japanese linear measure, 0.25 mm).

kADMMinNormalUnits 

Internal.

kADMMaxNormalUnits 

Internal.

kADMAppUnits1 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits2 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits3 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits4 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits5 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits6 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits7 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits8 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits9 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMAppUnits10 

Developer-defined unit preference.

See ADMBasicSuite::SetAppUnits()

kADMMaxAppUnits 

Internal.

kADMDummyUnits 

Internal.



Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks