nvdajp / focusHighlight

NVDA add-on which highlights the focused location.
GNU General Public License v2.0
16 stars 2 forks source link

Customizing colors #3

Closed garcialo closed 5 years ago

garcialo commented 8 years ago

Would it be too difficult to allow users to customize the colors?

towebo commented 6 years ago

I'm using NVDA in combination with Windows Magnifyer with inverted colors and therefore red on black doesn't provide the best contrast. It would be nice if one could pick the colors that fits ones needs.

nishimotz commented 5 years ago

The development version of focusHighlight is as follows.

https://www.dropbox.com/s/9z3ar6vu116jxzm/focusHighlight-6.1-dev.nvda-addon?dl=0

This version uses nvda.ini.

If the following entries are added, it behaves as same as the previous versions.

[focusHighlight]
    [[passthrough]]
        defaultMode = False
        thickness = 12

Note that the minimum tested version of this add-on is NVDA 2014.1, however, this snapshot is only tested with the current version of NVDA.

The setting GUI is planned as well, but not yet created.

nishimotz commented 5 years ago

The default values are as follows

[focusHighlight]
    [[passthrough]]
        defaultMode = True
        color = 2222ff
        dashStyle = 2
        thickness = 6
    [[focus]]
        color = ff0000
        dashStyle = 0
        thickness = 6
    [[navigator]]
        color = 00ff00
        dashStyle = 3
        thickness = 4

The dashStyle corresponds to this

https://docs.microsoft.com/ja-jp/windows/desktop/api/gdiplusenums/ne-gdiplusenums-dashstyle

nishimotz commented 5 years ago

Version 6.1 is released https://github.com/nvdajp/focusHighlight/releases/tag/6.1