Functions | |
StatusInt | mdlDialog_colorChooserGetInfo (CommandNumber *commandNumberP, UInt32 *commandSourceP, UInt32 *attributesP, RawItemHdr *cChooserP) |
Gets internal information about a given ColorChooser dialog item. More... | |
StatusInt | mdlDialog_colorChooserSetInfo (CommandNumber *commandNumberP, int *commandSourceP, UInt32 *attributesP, RawItemHdr *cChooserP) |
Sets the internal attributes associated with a ColorChooser dialog item. More... | |
StatusInt | mdlDialog_colorChooserSetColorTable (RgbColorDef *colorTableP, RawItemHdr *cChooserP) |
Sets the color table in a ColorChooser item. More... | |
StatusInt mdlDialog_colorChooserGetInfo | ( | CommandNumber * | commandNumberP, |
UInt32 * | commandSourceP, | ||
UInt32 * | attributesP, | ||
RawItemHdr * | cChooserP | ||
) |
Gets internal information about a given ColorChooser dialog item.
[out] | commandNumberP | is a pointer to an unsigned integer to get/set the command number associated with the ColorPicker item. The command number associated with a ColorPicker item is the command that gets placed at the end of the MicroStation input queue when a button is released within the item. |
[out] | commandSourceP | is a pointer to an unsigned integer to get/set the command source attribute of a ColorChooser item. The command source attribute specifies the task that will execute the command identified by commandNumberP. The constant LCMD indicates that the task that owns (originally creates) the dialog should execute the command. The constant MCMD indicates that MicroStation should be used to execute the command, in which case commandNumberP indicates a MicroStation command defined in cmdlist.r.h. |
[out] | attributesP | is a pointer to an unsigned integer to get/set the attributes of a ColorChooser item. |
[in] | cChooserP | is the ColorChooser item to have its internal information obtained in the case of mdlDialog_colorChooserGetInfo or set in the case of mdlDialog_colorChooserSetInfo. |
StatusInt mdlDialog_colorChooserSetColorTable | ( | RgbColorDef * | colorTableP, |
RawItemHdr * | cChooserP | ||
) |
Sets the color table in a ColorChooser item.
[in] | colorTableP | is a pointer to the Color Table to use in the ColorChooser item. The Color Table is 256 RGB color definitions containing a total of 768 bytes. The first entry in the table (ie. colorTable[0]) defines the background color. Color definitions 2 (ie. colorTable[1]) through 256 represent color indices 0 through 254. |
[in] | cChooserP | is the ColorChooser iitem to process. |
StatusInt mdlDialog_colorChooserSetInfo | ( | CommandNumber * | commandNumberP, |
int * | commandSourceP, | ||
UInt32 * | attributesP, | ||
RawItemHdr * | cChooserP | ||
) |
Sets the internal attributes associated with a ColorChooser dialog item.
[in] | commandNumberP | is a pointer to an unsigned integer to get/set the command number associated with the ColorChooser item. The command number associated with a ColorChooser item is the command that gets placed at the end of the MicroStation input queue when a button is released within the item. |
[in] | commandSourceP | is a pointer to an unsigned integer to get/set the command source attribute of a ColorChooser item. The command source attribute specifies the task that will execute the command identified by commandNumberP. The constant LCMD indicates that the task that owns (originally creates) the dialog should execute the command. The constant MCMD indicates that MicroStation should be used to execute the command, in which case commandNumberP indicates a MicroStation command defined in cmdlist.r.h. |
[in] | attributesP | is a pointer to an unsigned integer to get/set the attributes. |
[in] | cChooserP | is the ColorChooser item to have its internal information obtained in the case of mdlDialog_colorChooserGetInfo or set in the case of mdlDialog_colorChooserSetInfo. |