Sack Library Documentation
|
A colorwell is a indented control that contains a color. Often, if clicked, the color well will show the palette color selector to allow the color to be changed. The color may be a full alpha representation. When drawn in the well, I think the control itself draws the color with 255 alpha.
Color well controls are "Color Well"
Shade well controls are "Shade Well"
Palette Shader grid is "Color Matrix"
PSI_CONTROL color_well = MakeColorWell( NULL, 5, 5, 25, 25, -1, BASE_COLOR_WHITE );
Or using the natrual forms now...
PSI_CONTROL shade_well = MakeNamedControl( frame, "Shade Well", 5, 5, 25, 150, -1 ); SetShadeMin( shade_well, BASE_COLOR_WHITE ); SetShadeMax( shade_well, BASE_COLOR_RED ); SetShadeMid( shade_well, BSAE_COLOR_LIGHTBLUE );
|
Name |
Description |
|
Enables clicking in a color well to auto show the dialog. | |
|
Gets the CDATA color in a color well. | |
|
Shows a color picking dialog. Results with a chosen color. | |
|
| |
|
Sets the current color of a "Color Well" | |
|
Sets the handler for when the control is clicked. (or when it's changed?) | |
|
Three colors define the gradient in a shade well. They can be all the same and show a solid color, but this is for picking colors from linear gradients. The 'Min' is one end, the 'Mid' is the center and 'Max' is the other end. Control also only does this vertically. | |
|
Three colors define the gradient in a shade well. They can be all the same and show a solid color, but this is for picking colors from linear gradients. The 'Min' is one end, the 'Mid' is the center and 'Max' is the other end. Control also only does this vertically. | |
|
Three colors define the gradient in a shade well. They can be all the same and show a solid color, but this is for picking colors from linear gradients. The 'Min' is one end, the 'Mid' is the center and 'Max' is the other end. Control also only does this vertically. |
Name |
Description |
common dialog to get a color... returns TRUE if *result is set if result is NULL color is not returned, but still can set presets... | |
Macro to create a colorwell. |
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|