DelphinSoftware / vcl-styles-utils

Automatically exported from code.google.com/p/vcl-styles-utils
0 stars 0 forks source link

System menu icons are too dark #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the Vcl.Styles.Utils.Menus unit
2. Use a theme with a dark background and white text
3. Show the system menu for any form

What is the expected output? What do you see instead?
The icons should be "white" but they are "black".
This can also be seen on the examples in the blog here:
http://theroadtodelphi.wordpress.com/2014/08/22/a-new-way-to-select-and-apply-a-
vcl-style-in-runtime/

What version of the product are you using? On what operating system?
Using the latest SVN content on Windows 7

Attached is a patch that modifies TSysPopupStyleHook.DrawItem.DrawSpecialChar 
to use the same "color finding" code that was used later on to find the color 
to use for the text itself.

Original issue reported on code.google.com by obo...@gmail.com on 23 Oct 2014 at 7:28

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Rodrigo.Ruz.V@gmail.com on 25 Oct 2014 at 4:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r272.

Original comment by Rodrigo.Ruz.V@gmail.com on 27 Oct 2014 at 1:10