Lines Matching refs:colors

115 /*!	Returns the frame colors for the specified decorator component.
120 \param component The component for which to return the frame colors.
122 \param colors An array of colors to be initialized by the function.
295 ComponentColors colors;
296 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTab);
300 BPoint(r.left + i, r.bottom - i), colors[i]);
304 BPoint(r.left, r.top + 4), colors[6]);
309 ComponentColors colors;
310 _GetComponentColors(COMPONENT_BOTTOM_BORDER, colors, fTopTab);
315 colors[i]);
320 ComponentColors colors;
321 _GetComponentColors(COMPONENT_RIGHT_BORDER, colors, fTopTab);
326 colors[i]);
331 colors[6]);
335 ComponentColors colors;
336 _GetComponentColors(COMPONENT_TOP_BORDER, colors, fTopTab);
342 BPoint(r.right - 1, r.top + i), tint_color(colors[i], (i*0.01+1)));
347 BPoint(r.right - 1, r.top + i), tint_color(colors[3], 1.1));
359 ComponentColors colors;
360 _GetComponentColors(COMPONENT_TOP_BORDER, colors, fTopTab);
364 BPoint(r.right - i, r.top + i), tint_color(colors[1], 0.95));
373 fTitleBarRect.bottom + 1), colors[2]);
378 ComponentColors colors;
379 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTab);
383 BPoint(r.left + i, r.bottom - i), colors[i * 2]);
393 fTitleBarRect.bottom - 2), colors[2]);
398 ComponentColors colors;
399 _GetComponentColors(COMPONENT_BOTTOM_BORDER, colors, fTopTab);
404 colors[(2 - i) == 2 ? 5 : (2 - i) * 2]);
409 ComponentColors colors;
410 _GetComponentColors(COMPONENT_RIGHT_BORDER, colors, fTopTab);
415 colors[(2 - i) == 2 ? 5 : (2 - i) * 2]);
424 ComponentColors colors;
425 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTab);
427 fDrawingEngine->StrokeRect(r, colors[5]);
440 ComponentColors colors;
441 _GetComponentColors(COMPONENT_RESIZE_CORNER, colors, fTopTab);
457 gradient.AddColor(tint_color(colors[1], 1.05), 0);
458 gradient.AddColor(tint_color(colors[1], 1.0), 255);
463 BPoint(x - 15, y - 1), colors[4]);
465 BPoint(x - 1, y - 15), colors[4]);
474 fDrawingEngine->StrokePoint(pt1, tint_color(colors[1], 1.5));
475 fDrawingEngine->StrokePoint(pt2, tint_color(colors[1], 0.75));
494 tint_color(colors[1], 1.2));
498 tint_color(colors[1], 1.2));
505 tint_color(colors[3], (i * 0.06) + 1));
512 tint_color(colors[3], (rez[i] * 0.06) + 1));
545 ComponentColors colors;
546 _GetComponentColors(COMPONENT_TAB, colors, tab);
551 colors[COLOR_TAB_FRAME_DARK]);
553 colors[COLOR_TAB_FRAME_DARK]);
556 colors[COLOR_TAB_FRAME_DARK]);
564 colors[COLOR_TAB_FRAME_DARK]);
566 colors[COLOR_TAB_FRAME_DARK]);
569 colors[COLOR_TAB_FRAME_DARK]);
584 colors[COLOR_TAB]);
588 tint_color(colors[COLOR_TAB], 0.9));
593 colors[COLOR_TAB]);
598 colors[COLOR_TAB]);
605 gradient.AddColor(tint_color(colors[COLOR_TAB], 0.6), 0);
606 gradient.AddColor(tint_color(colors[COLOR_TAB], 1.0), 200);
608 gradient.AddColor(tint_color(colors[COLOR_TAB], 0.9), 0);
609 gradient.AddColor(tint_color(colors[COLOR_TAB], 1.0), 150);
650 ComponentColors colors;
651 _GetComponentColors(COMPONENT_TAB, colors, tab);
654 fDrawingEngine->SetHighColor(colors[COLOR_TAB_TEXT]);
774 \param colors A button color array of the colors to be used.
778 bool down, const ComponentColors& colors)
782 // figure out which colors to use
785 startColor = tint_color(colors[COLOR_BUTTON], 1.0);
786 endColor = tint_color(colors[COLOR_BUTTON], 0.9);
788 startColor = tint_color(colors[COLOR_BUTTON], 0.95);
789 endColor = tint_color(colors[COLOR_BUTTON], 0.5);
804 engine->StrokeRect(rect, tint_color(colors[COLOR_BUTTON], 1.25));
828 ComponentColors colors;
829 _GetComponentColors(item, colors, tab);
839 && current->baseColor == colors[COLOR_BUTTON]
840 && current->lightColor == colors[COLOR_BUTTON_LIGHT]) {
864 _DrawBlendedRect(sBitmapDrawingEngine, rect, down, colors);
866 _DrawBlendedRect(sBitmapDrawingEngine, rect, true, colors);
879 _DrawBlendedRect(sBitmapDrawingEngine, zoomRect, down, colors);
881 _DrawBlendedRect(sBitmapDrawingEngine, zoomRect, true, colors);
888 _DrawBlendedRect(sBitmapDrawingEngine, zoomRect, down, colors);
890 _DrawBlendedRect(sBitmapDrawingEngine, zoomRect, true, colors);
915 entry->baseColor = colors[COLOR_BUTTON];
916 entry->lightColor = colors[COLOR_BUTTON_LIGHT];