Ticket #10834: 0002-menu-selection-colors.patch

File 0002-menu-selection-colors.patch, 1.2 KB (added by TigerKid001, 5 years ago)

Patch 2 for bug #10834 - GUI tweak - Selected menu item color and text color

  • src/kits/interface/InterfaceDefs.cpp

    From 4b2151ceb08f5943165de897da824cc75c6c91e5 Mon Sep 17 00:00:00 2001
    From: "Sidhant Sharma [:TigerKid001]" <tigerkid001@gmail.com>
    Date: Sat, 20 Sep 2014 11:26:42 +0530
    Subject: [PATCH] bug#10834: Menu Item selection colors
    
    ---
     src/kits/interface/InterfaceDefs.cpp | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/kits/interface/InterfaceDefs.cpp b/src/kits/interface/InterfaceDefs.cpp
    index 1dc7b81..1275cc5 100644
    a b static const rgb_color _kDefaultColors[kColorWhichCount] = {  
    7575    {255, 203, 0, 255},     // B_WINDOW_TAB_COLOR
    7676    {0, 0, 229, 255},       // B_KEYBOARD_NAVIGATION_COLOR
    7777    {51, 102, 152, 255},    // B_DESKTOP_COLOR
    78     {153, 153, 153, 255},   // B_MENU_SELECTED_BACKGROUND_COLOR
     78    {51, 102, 152, 255},    // B_MENU_SELECTED_BACKGROUND_COLOR
    7979    {0, 0, 0, 255},         // B_MENU_ITEM_TEXT_COLOR
    80     {0, 0, 0, 255},         // B_MENU_SELECTED_ITEM_TEXT_COLOR
     80    {255, 255, 255, 255},           // B_MENU_SELECTED_ITEM_TEXT_COLOR
    8181    {0, 0, 0, 255},         // B_MENU_SELECTED_BORDER_COLOR
    8282    {0, 0, 0, 255},         // B_PANEL_TEXT_COLOR
    8383    {255, 255, 255, 255},   // B_DOCUMENT_BACKGROUND_COLOR