Functions | |
StatusInt | mdlDialog_toggleIconSetIconColors (RawItemHdr *tIconP, BSIColorDescr **iconFgColorPP, BSIColorDescr **iconBgColorPP) |
Sets the colors to be used when drawing a mono color icon in the ToggleIcon. More... | |
StatusInt | mdlDialog_toggleIconGetAttributes (RawItemHdr *tIconP, UInt32 *attributesP, IconCmdSelectType *selectTypeP) |
Gets attributes and the selection type from the ToggleIcon. More... | |
StatusInt | mdlDialog_toggleIconSetAttributes (RawItemHdr *tIconP, UInt32 *attributesP, IconCmdSelectType *selectTypeP, int redraw) |
Sets attributes and the selection type of the ToggleIcon. More... | |
StatusInt mdlDialog_toggleIconGetAttributes | ( | RawItemHdr * | tIconP, |
UInt32 * | attributesP, | ||
IconCmdSelectType * | selectTypeP | ||
) |
Gets attributes and the selection type from the ToggleIcon.
[in] | tIconP | points to the RawItemHdr of the ToggleIcon item. |
[out] | attributesP | is a pointer to a UInt32 that receives the attributes of the ToggleIcon item. |
selectTypeP | out is a pointer to an int that receives the selection type of the ToggleIcon item. The select types are defined in dlogitem.h and begin with "ICONCMD_SELECTTYPE_". |
StatusInt mdlDialog_toggleIconSetAttributes | ( | RawItemHdr * | tIconP, |
UInt32 * | attributesP, | ||
IconCmdSelectType * | selectTypeP, | ||
int | redraw | ||
) |
Sets attributes and the selection type of the ToggleIcon.
[in] | tIconP | points to the RawItemHdr of the ToggleIcon item. |
[in] | attributesP | is a pointer to the new attributes of the ToggleIcon item. |
[in] | selectTypeP | is a pointer to the new selection type of the ToggleIcon item. The select types are defined in dlogitem.h and begin with "ICONCMD_SELECTTYPE_". |
[in] | redraw | indicates whether the ToggleIcon should be redrawn |
StatusInt mdlDialog_toggleIconSetIconColors | ( | RawItemHdr * | tIconP, |
BSIColorDescr ** | iconFgColorPP, | ||
BSIColorDescr ** | iconBgColorPP | ||
) |
Sets the colors to be used when drawing a mono color icon in the ToggleIcon.
[in] | tIconP | points to the RawItemHdr of the ToggleIcon item. |
[in] | iconFgColorPP | is a pointer to the Color Descriptor of color to use for the on value of a mono color icon. |
[in] | iconBgColorPP | is a pointer to the Color Descriptor of color to use for the off value of a mono color icon. |