Home
last modified time | relevance | path

Searched refs:buttonColor (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.cpp915 const rgb_color buttonColor(colors[COLOR_BUTTON]); in _GetBitmapForButton() local
917 bool isGrayscale = buttonColor.red == buttonColor.green in _GetBitmapForButton()
918 && buttonColor.green == buttonColor.blue; in _GetBitmapForButton()
920 rgb_color buttonColorLight1(buttonColor); in _GetBitmapForButton()
921 buttonColorLight1.red = std::min(255, buttonColor.red + 35), in _GetBitmapForButton()
922 buttonColorLight1.green = std::min(255, buttonColor.green + 35), in _GetBitmapForButton()
923 buttonColorLight1.blue = std::min(255, buttonColor.blue in _GetBitmapForButton()
927 rgb_color buttonColorLight2(buttonColor); in _GetBitmapForButton()
928 buttonColorLight2.red = std::min(255, buttonColor.red + 52), in _GetBitmapForButton()
929 buttonColorLight2.green = std::min(255, buttonColor.green + 52), in _GetBitmapForButton()
[all …]
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp631 rgb_color buttonColor = isEnabled ? base in DrawScrollBarButton() local
633 DrawButtonBackground(view, rect, updateRect, buttonColor, flags, in DrawScrollBarButton()