Revert to ComboBox for selecting PTT Port. (Straightened out the bizarre

ordering of items on the drop-down list.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3285 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2013-05-20 18:33:06 +00:00
parent 921ec1e158
commit 5307e65ae7
8 changed files with 117 additions and 27 deletions
+3 -2
View File
@@ -104,7 +104,8 @@ void CPlotter::draw(float swide[], float red[], int i0) //draw()
j=0;
int iz=XfromFreq(2000.0);
for(int i=0; i<m_w; i++) {
// for(int i=0; i<m_w; i++) {
for(int i=0; i<iz; i++) {
if(i>iz) swide[i]=0;
y=0.0;
if(swide[i]>0.0) y = 10.0*log10(swide[i]);
@@ -125,7 +126,7 @@ void CPlotter::draw(float swide[], float red[], int i0) //draw()
y2=gain*6.0*log10(sum/m_binsPerPixel) - 10.0;
}
if(m_bJT9Sync) y2=3.0*gain*red[i] - 15;
if(i==m_w-2) painter2D.drawPolyline(LineBuf,j);
if(i==iz-1) painter2D.drawPolyline(LineBuf,j);
LineBuf[j].setX(i);
LineBuf[j].setY(m_h-(y2+0.8*m_h));
j++;