Classes | Defines | Typedefs | Functions | Variables

icolorman.h File Reference

#include "iFnPub.h"

Go to the source code of this file.

Classes

class   IColorManager

Defines

#define  CustDlgExport   __declspec(dllimport)
#define  COLOR_MGR_INTERFACE   Interface_ID(0x1bf46c90, 0x18bf6199)
#define  ColorMan()   (GetColorManager())
#define  GetCustSysColor(which)   (ColorMan()->CustSysColor(which))
#define  GetCustSysColorBrush(which)   (ColorMan()->CustSysColorBrush(which))

Typedefs

typedef DWORD  ColorId

Functions

CustDlgExport void  SaveColors ()
CoreExport void  DeleteColorManager (IColorManager *pColorMan)
CoreExport IColorManager GetColorManager ()

Variables

const ColorId  kBackground = 0
  used for all windows backgrounds
const ColorId  kText = 1
  Used for static and button text.
const ColorId  kActiveCommand = 4
  Used for active command mode buttons.
const ColorId  kHilight = 5
  COLOR_BTNHILIGHT.
const ColorId  kShadow = 6
  COLOR_BTNSHADOW.
const ColorId  kWindow = 7
  COLOR_WINDOW.
const ColorId  kActiveCaption = 8
  COLOR_ACTIVECAPTION.
const ColorId  kToolTipBackground = 9
  COLOR_INFOBK.
const ColorId  kToolTipText = 10
  COLOR_INFOTEXT.
const ColorId  kHilightText = 11
  COLOR_HILIGHTTEXT.
const ColorId  kWindowText = 12
  COLOR_WINDOWTEXT.
const ColorId  kItemHilight = 13
  COLOR_HILIGHT.
const ColorId  kSubObjectColor = 14
  Blue sub-object color.
const ColorId  k3dDarkShadow = 15
  COLOR_3DDKSHADOW.
const ColorId  k3dLight = 16
  COLOR_3DLIGHT.
const ColorId  kAppWorkspace = 17
  COLOR_APPWORKSPACE.
const ColorId  kTrackbarBg = 18
const ColorId  kTrackbarBgSel = 19
const ColorId  kTrackbarText = 20
const ColorId  kTrackbarTicks = 21
const ColorId  kTrackbarKeys = 22
const ColorId  kTrackbarSelKeys = 23
const ColorId  kTrackbarCursor = 24
const ColorId  kPressedButton = 25
const ColorId  kTimeSliderBg = 26
const ColorId  kViewportBorder = 27
const ColorId  kActiveViewportBorder = 28
const ColorId  kRollupTitleFace = 29
const ColorId  kRollupTitleText = 30
const ColorId  kRollupTitleHilight = 31
const ColorId  kRollupTitleShadow = 32
const ColorId  kSelectionRubberBand = 33
const ColorId  kStackViewSelection = 34
  yellow sub-object color
const ColorId  kImageViewerBackground = 35
  defaults to grey
const ColorId  kIRenderProgressHoriz = 36
  interactive rendering - horizontal progress bar
const ColorId  kIRenderProgressVert = 37
  interactive rendering - vertical progress bar
const ColorId  kPressedHierarchyButton = 38
const ColorId  kTrackViewBackground = 39
const ColorId  kTrackViewInactiveBackground = 40
const ColorId  kManipulatorsActive = 41
const ColorId  kManipulatorsSelected = 42
const ColorId  kManipulatorsInactive = 43
const ColorId  kFunctionCurveX = 44
const ColorId  kFunctionCurveY = 45
const ColorId  kFunctionCurveZ = 46
const ColorId  kFunctionCurveW = 47
const ColorId  kFunctionCurveFloat = 48
const ColorId  kFunctionCurveSelected = 49
const ColorId  kTrackViewTrackText = 50
const ColorId  kTrackViewSelInstantTime = 51
const ColorId  kTrackViewKeyCursor = 52
const ColorId  kTrackViewSelectedBackground = 53
const ColorId  kTrackViewDisabledTrack1 = 54
const ColorId  kTrackViewDisabledTrack2 = 55
const ColorId  kTrackViewEnabledTrack1 = 56
const ColorId  kTrackViewEnabledTrack2 = 57
const ColorId  kTrackViewTimeCursor = 58
const ColorId  kTrackViewGrid = 59
const ColorId  kTrackViewUnSelectedKeys = 60
const ColorId  kTrackViewSelectedKeys = 61
const ColorId  kTrackViewKeyOutline = 62
const ColorId  kTrackViewKeyOutlineOnTop = 63
const ColorId  kViewportShowDependencies = 64
const ColorId  kTrackViewSoundTrackRight = 65
const ColorId  kTrackViewSoundTrackLeft = 66
const ColorId  kAssemblyOutline = 67
const ColorId  kTrackViewKeyPosition = 68
const ColorId  kTrackViewKeyRotation = 69
const ColorId  kTrackViewKeyScale = 70
const ColorId  kTrackViewKeyTransform = 71
const ColorId  kTrackViewKeyObject = 72
const ColorId  kTrackViewKeyMaterial = 73
const ColorId  kTrackViewTangentHandle = 74
const ColorId  kTrackViewAutoTangentHandle = 75
const ColorId  kTrackViewKeyMixed = 76
const ColorId  kTrackViewKeyFake = 77
const ColorId  kTrackbarKeyPosition = 79
const ColorId  kTrackbarKeyRotation = 80
const ColorId  kTrackbarKeyScale = 81
const ColorId  kTrackbarKeyTransform = 82
const ColorId  kTrackbarKeyObject = 83
const ColorId  kTrackbarKeyMaterial = 84
const ColorId  kTrackbarKeyMixed = 85
const ColorId  kTrackViewScaleOriginLine = 86
const ColorId  kTrackViewKeyFCurveSelected = 87
const ColorId  kTrackViewKeyFCurveUnSelected = 88
const ColorId  kOutOfRangeLow = 89
const ColorId  kOutOfRangeHigh = 90
const ColorId  kTrackViewRangeIgnored = 91
const ColorId  kTrackViewRangeIgnoredSel = 92
const ColorId  kAdaptiveDegActive = 93
const ColorId  kTrackViewControllerWindowToggle = 94
  track view region selection tool - color of the controller window toggle
const ColorId  kTrackViewRegionSelectBorder = 95
  track view region selection tool - color of the border
const ColorId  kTrackViewRegionSelectGrip = 96
  track view region selection tool - color of the selectable grip area
const ColorId  kTrackViewRegionSelectRegion = 97
  track view region selection tool - color of the region surrounding the selected keys
const ColorId  kTrackViewRegionSelectOuterRegion = 98
  track view region selection tool - color of the outer region

Define Documentation

#define CustDlgExport   __declspec(dllimport)

Definition at line 18 of file icolorman.h.

#define COLOR_MGR_INTERFACE   Interface_ID(0x1bf46c90, 0x18bf6199)

Definition at line 134 of file icolorman.h.

#define ColorMan ( )    (GetColorManager())

Definition at line 569 of file icolorman.h.

#define GetCustSysColor (   which )    (ColorMan()->CustSysColor(which))

Definition at line 570 of file icolorman.h.

#define GetCustSysColorBrush (   which )    (ColorMan()->CustSysColorBrush(which))

Definition at line 571 of file icolorman.h.


Typedef Documentation

typedef DWORD ColorId

Definition at line 23 of file icolorman.h.


Function Documentation

CustDlgExport void SaveColors ( )
CoreExport void DeleteColorManager ( IColorManager pColorMan )
CoreExport IColorManager* GetColorManager ( )
Remarks:
This global function is available in release 4.0 and later only.

Returns a pointer to the color manager with which you can call the methods of this class.

Note the following #define which may be used to simplify coding a bit:

#define ColorMan() (GetColorManager())