Lines Matching refs:color
96 // the interpolated color
102 // get the color at the offset
103 rgb_color color;
106 color.red = bits[0];
107 color.green = bits[1];
108 color.blue = bits[2];
109 color.alpha = bits[3];
110 fCurrentStepIndex = fGradient->AddColor(color, offset);
158 // fall back to inserting a color step if no direct hit on an existing step
177 rgb_color color;
178 if (restore_color_from_message(message, color, 0) >= B_OK) {
183 color.alpha = step->color.alpha;
185 fGradient->SetColor(fDropIndex, color);
190 fCurrentStepIndex = fGradient->AddColor(color,
393 step->color, flags, B_HORIZONTAL);
398 SetHighColor(step->color);
400 rgb_color c = step->color;
458 GradientControl::SetCurrentStop(const rgb_color& color)
461 fGradient->SetColor(fCurrentStepIndex, color);
469 GradientControl::GetCurrentStop(rgb_color* color) const
473 if (stop && color) {
474 *color = stop->color;
655 // set the CanvasView current color
658 store_color_in_message(&message, step->color);