It's a bit more complicated than that. You have to specify a QColor format 
first. and the colour components are doubled up.
This gives me red background with white foreground :-
    byte[] byteBackgroundQColor = new[] { 1, 255, 255, 255, 255, 0, 0, 0, 0, 0, 
0 }; // format =1 then Red AA RR GG BB
    byte[] byteForeroundQColor = new[] { 1, 255, 255, 255, 255, 255, 255, 255, 
255, 0, 0, 1 }; // WHITE plus HighlightLast flag I have not yet worked out what 
is an invalid QColor so I can remove the formatting but it does not seem 
important so far.

73 de G4SWY Derek +++



    On Thursday, 4 April 2019, 04:55:53 BST, Black Michael via wsjt-devel 
<[email protected]> wrote:  
 
 Looks like four 16-bit integers  r,g,b,alpha
de Mike W9MDB
 

    On Wednesday, April 3, 2019, 10:45:49 PM CDT, Ed Stokes <[email protected]> 
wrote:  
 
 With reference to NETWORK_MESSAGE_HPP
Highlight Callsign In   13                     quint32 *                        
 Id (unique key)        utf8 *                         Callsign               
utf8 *                         Background Color       QColor *                  
       Foreground Color       QColor *                         Highlight last   
      bool *
How do I construct a QColor for this command sequence?
In particular, my language is Xojo.
Thanks.
73, EdW1KOK

_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
  _______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
  
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to