Corrected switch-overs between normal transmissions and test files.

Highlight test-file transmissions in pink.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@159 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2006-04-11 14:01:58 +00:00
parent 4dc7caf73c
commit 8a623f6cab
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#------------------------------------------------------------------ WSJT
#------------------------------------------------------------------- WSJT
from Tkinter import *
from tkFileDialog import *
import Pmw
@ -1396,8 +1396,9 @@ def update():
# t="Transmitting: "
# t="Txing: "+t[:nmsg]
bgcolor='yellow'
if Audio.gcom2.sendingsh==1: bgcolor='#66FFFF' #Shorthand
if Audio.gcom2.sendingsh==1: bgcolor='#66FFFF' #Shorthand (lt blue)
if Audio.gcom2.sendingsh==-1: bgcolor='red' #Plain Text
if Audio.gcom2.sendingsh==2: bgcolor='pink' #Test file
if txsnrdb<90.0: bgcolor='orange' #Simulation mode
if Audio.gcom2.ntxnow==1: tx1.configure(bg=bgcolor)
elif Audio.gcom2.ntxnow==2: tx2.configure(bg=bgcolor)

View File

@ -80,6 +80,8 @@ subroutine wsjtgen
do i=nwave,NTXMAX
iwave(i)=0
enddo
sending=txmsg
sendingsh=2
go to 999
endif