MoI discussion forum
MoI discussion forum

Full Version: StraightSnapLineColor V4vsV5 inconsistency

Show messages: All  1-2  3-5

From: Mik (MIKULAS)
28 May   [#3] In reply to [#2]
Hi Michael,

thank you for deep explanation.

The most clear solution IMO would be to have this setting, ie StraightSnapLineColor in Theme manager.
Two colours setting Dashed line/Gap including transparency specified in theme would great and the most robust for any situation.
For example:
Color1(Dashed) = 255,255,255,0
Color2(Gap) = 0,0,0,0

This setting should be superior above any other setting if it's set in General/UI Theme some Theme except Default. If Default is set then settings in .ini file should be accepted as superior setting, which could mimic V4 behaviour.

Using inversion for Gap colour setting causes huge contrast between two colour for example magenta/green which is very unpleasant for eye perception especially together dark background.

Thanks
Mik
From: Michael Gibson
28 May   [#4] In reply to [#3]
Hi Mik,

re:
> The most clear solution IMO would be to have this setting, ie StraightSnapLineColor in Theme manager.

So there is a theme setting STRAIGHT_SNAP_LINE_ARGB_COLOR for this but to edit it you need to edit the theme's defines.inc file in a text editor. There is not yet a UI control for editing a color that includes transparency.

That theme color will only be used if the value in moi.ini has the default value which is
StraightSnapLineColor=103,0,0,0

If you've customized that value in moi.ini then it will use your custom value instead of the theme's so it will have compatibility with previous versions.


I will set up a STRAIGHT_SNAP_LINE_ARGB_COLOR2 which can optionally be present in the theme's defines.inc file to directly specify the second color to be used for a dark background theme instead of inversion.

- Michael
From: Mik (MIKULAS)
28 May   [#5] In reply to [#4]
Hi Michael,

Yes, I understood, I set in moi.ini file StraightSnapLineColor=103,0,0,0 and in defines.inc file, which correspond to my current theme, STRAIGHT_SNAP_LINE_ARGB_COLOR #B0FFFF00 for yellow color.

The result is yellow dashed (slightly transparent) and blue gap, this is practically same result if I set in moi.ini StraightSnapLineColor=255,255,255,0

No problem, I will wait for STRAIGHT_SNAP_LINE_ARGB_COLOR2.

Mik

Show messages: All  1-2  3-5