Lines Matching refs:colors

195 /*!	Returns the frame colors for the specified decorator component.
200 \param component The component for which to return the frame colors.
202 \param colors An array of colors to be initialized by the function.
355 ComponentColors colors;
356 _GetComponentColors(COMPONENT_TOP_BORDER, colors, fTopTab);
360 BPoint(r.right - i, r.top + i), colors[i]);
370 colors[2]);
375 ComponentColors colors;
376 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTab);
380 BPoint(r.left + i, r.bottom - i), colors[i]);
385 ComponentColors colors;
386 _GetComponentColors(COMPONENT_BOTTOM_BORDER, colors, fTopTab);
391 colors[(4 - i) == 4 ? 5 : (4 - i)]);
397 ComponentColors colors;
398 _GetComponentColors(COMPONENT_RIGHT_BORDER, colors, fTopTab);
403 colors[(4 - i) == 4 ? 5 : (4 - i)]);
414 ComponentColors colors;
415 _GetComponentColors(COMPONENT_TOP_BORDER, colors, fTopTab);
419 BPoint(r.right - i, r.top + i), colors[i * 2]);
429 fTitleBarRect.bottom + 1), colors[2]);
434 ComponentColors colors;
435 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTab);
439 BPoint(r.left + i, r.bottom - i), colors[i * 2]);
449 fTitleBarRect.bottom - 2), colors[2]);
454 ComponentColors colors;
455 _GetComponentColors(COMPONENT_BOTTOM_BORDER, colors, fTopTab);
460 colors[(2 - i) == 2 ? 5 : (2 - i) * 2]);
465 ComponentColors colors;
466 _GetComponentColors(COMPONENT_RIGHT_BORDER, colors, fTopTab);
471 colors[(2 - i) == 2 ? 5 : (2 - i) * 2]);
480 ComponentColors colors;
481 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTab);
483 fDrawingEngine->StrokeRect(r, colors[5]);
496 ComponentColors colors;
497 _GetComponentColors(COMPONENT_RESIZE_CORNER, colors, fTopTab);
513 gradient.AddColor(colors[1], 0);
514 gradient.AddColor(colors[2], 255);
519 BPoint(x - 15, y - 2), colors[0]);
521 BPoint(x - 14, y - 1), colors[1]);
523 BPoint(x - 2, y - 15), colors[0]);
525 BPoint(x - 1, y - 14), colors[1]);
536 fDrawingEngine->StrokePoint(pt1, colors[0]);
559 colors[0]);
565 colors[0]);
596 ComponentColors colors;
597 _GetComponentColors(COMPONENT_TAB, colors, tab);
601 colors[COLOR_TAB_FRAME_LIGHT]);
603 colors[COLOR_TAB_FRAME_LIGHT]);
606 colors[COLOR_TAB_FRAME_DARK]);
609 tabRect.RightBottom(), colors[COLOR_TAB_FRAME_DARK]);
620 colors[COLOR_TAB_BEVEL]);
624 colors[COLOR_TAB_BEVEL]);
629 colors[COLOR_TAB_SHADOW]);
634 colors[COLOR_TAB_SHADOW]);
640 tabRect.right - 2, tabRect.bottom), colors[COLOR_TAB]);
643 tabRect.right, tabRect.bottom - 2), colors[COLOR_TAB]);
673 ComponentColors colors;
674 _GetComponentColors(COMPONENT_TAB, colors, tab);
677 fDrawingEngine->SetHighColor(colors[COLOR_TAB_TEXT]);
678 fDrawingEngine->SetLowColor(colors[COLOR_TAB]);
905 // BeOS R5 colors
912 ComponentColors colors;
913 _GetComponentColors(item, colors, tab);
915 const rgb_color buttonColor(colors[COLOR_BUTTON]);
945 && current->baseColor == colors[COLOR_BUTTON]
946 && current->lightColor == colors[COLOR_BUTTON_LIGHT]) {
1348 entry->baseColor = colors[COLOR_BUTTON];
1349 entry->lightColor = colors[COLOR_BUTTON_LIGHT];