Page 1 of 1

[Recommended] - Color change in Services + Code

Posted: 13 Dec 2018 18:27
by AltF4
Hi, I would like to propose a change in the coloring of Disabled + Stopped services. I think that Highlighting should be removed altogether, and instead change the forecolor

Current Color Formatting: (even harder to read as changing the Highlighting of Disabled Services to a lighter color)
https://imgur.com/9lKGqHR

After: (a lot more readable)
https://imgur.com/ThCXeZL

Code change: In srvlist.c...
replace:
            else if (PhCsUseColorServiceDisabled && serviceItem->State == SERVICE_STOPPED && serviceItem->StartType == SERVICE_DISABLED)
            {
                getNodeColor->BackColor = PhCsColorServiceDisabled;
                getNodeColor->Flags |= TN_AUTO_FORECOLOR;
            }
 


With
            else if (PhCsUseColorServiceDisabled && serviceItem->State == SERVICE_STOPPED && serviceItem->StartType == SERVICE_DISABLED)
            {
                getNodeColor->ForeColor = RGB(140, 15, 5);          // Dark red.    via: google.com/search?q=hex+color
            }