Ticket #10834: 0003-success-failure-colors.patch

File 0003-success-failure-colors.patch, 981 bytes (added by TigerKid001, 5 years ago)

Patch 3 for bug #10834 - GUI tweak - change in success/failure colors

  • src/kits/interface/InterfaceDefs.cpp

    From 85ed0c86212ef7b8690b98906f52bed36128a172 Mon Sep 17 00:00:00 2001
    From: "Sidhant Sharma [:TigerKid001]" <tigerkid001@gmail.com>
    Date: Sat, 20 Sep 2014 12:10:41 +0530
    Subject: [PATCH] bug#10834: Success-Failure 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 1275cc5..d7f6c62 100644
    a b static const rgb_color _kDefaultColors[kColorWhichCount] = {  
    103103    {0, 0, 0, 255},         // B_LIST_SELECTED_ITEM_TEXT_COLOR
    104104    {216, 216, 216, 255},   // B_SCROLL_BAR_THUMB_COLOR
    105105    // 100...
    106     {0, 255, 0, 255},       // B_SUCCESS_COLOR
    107     {255, 0, 0, 255},       // B_FAILURE_COLOR
     106    {46, 204, 64, 255},     // B_SUCCESS_COLOR
     107    {255, 65, 54, 255},     // B_FAILURE_COLOR
    108108    {}
    109109};
    110110const rgb_color* BPrivate::kDefaultColors = &_kDefaultColors[0];