Locked Add a script for the text color insertLineSpacer #wsjt-x


Jean-Claude F1DSZ
 

Hello developers

I rebuilt WSJT-x 2.5.0 but I stall on adding the text color, (in DisplayText .ccp /''87'' insertLineSpacer), I tried several ways but impossible.......
Change the black text to another color.
See my attachments.

   Thanks for your help 73's J. Claude F1DSZ
   Congratulations for your work.




Karza <kari.sillanmaki@...>
 

Hi Jean-Claude,

On 8.6.2021 21.46, Jean-Claude F1DSZ wrote:
Hello developers

 I am not a developer, so excuse me for stepping in here, but...


I rebuilt WSJT-x 2.5.0 but I stall on adding the text color, (in DisplayText .ccp /''87'' insertLineSpacer), I tried several ways but impossible.......
Change the black text to another color.
See my attachments.

   Thanks for your help 73's J. Claude F1DSZ
   Congratulations for your work.


Not quite sure what you mean by  "the occurance of the white", but I'm guessing you want to display just a solid green line wiht no texts.

It this is what you want then why not call "appendText" with both fore- and background colours set to same value?

Like this:


Here's the result, a solid green line between decodes.


If this is not what you wanted then please disregard this message.

73's de Kari, oh2gqc




Jean-Claude F1DSZ
 

Hello Karza

Thank
Thank you  pour votre réponse.
No... No... the first colour is the background colour, what I want to add second is the text colour?

   73's  Jeran Claude   F1DSZ


Karza <kari.sillanmaki@...>
 

Hi Jean-Claude

On 9.6.2021 20.52, Jean-Claude F1DSZ wrote:
Hello Karza

Thank
Thank you  pour votre réponse.
No... No... the first colour is the background colour, what I want to add second is the text colour?

The second parameter is the text colour.

For example. if you wnat the decode period separator to be green with white text, this will do it:

"appendText (line, "#18dc5f", "#ffffff" );"


73's de Kari, oh2gqc


Jean-Claude F1DSZ
 

Thank , All OK  now  73  J. Claude


Dave Garber <ve3wej@...>
 

is this different from line separation option already in wsjt?

Dave Garber
VE3WEJ / VE3IE


On Thu, Jun 10, 2021 at 2:45 AM Jean-Claude F1DSZ <f1dsz@...> wrote:
Thank , All OK  now  73  J. Claude