Changeset 1843 in Sophya


Ignore:
Timestamp:
Dec 22, 2001, 1:02:26 AM (24 years ago)
Author:
ansari
Message:

suppression du print de debug d'Olivier - Reza 21/12/2001

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/Tests/Makefile

    r1815 r1843  
    1313else
    1414LIBF =  $(SLB)libPI.so $(SLB)libsophya.so 
    15 LIBS = -L$(SLB) -lPI -lsophya -lm
     15LIBS = -L$(SLB) -lPI -lsophya -L/usr/X11R6/lib -lXm -lXp -lXt -lX11 -lm
    1616endif
    1717
  • trunk/SophyaPI/PI/picmapview.cc

    r1827 r1843  
    136136    }
    137137  }
    138   cout << " PICMapView::Draw1 "<<vmin<<" "<<vmax<<endl;
    139138  if (vmin > vmax)   return;
     139
    140140  if ( (cmap->Type() == CMAP_GREY32) || (cmap->Type() == CMAP_GREYINV32) ||
    141141       (cmap->Type() == CMAP_GREY128) || (cmap->Type() == CMAP_GREYINV128) )  g->SelForeground(PI_Red);
    142142  else g->SelForeground(PI_Green);
    143   cout << " PICMapView::Draw2 "<<vmin<<" "<<vmax<<endl;
     143
    144144  if (sx > sy) {    // horizontal
    145145    int fsz = (sy < 20) ? sy-6 : 14;
     
    151151    else sprintf(buff, "%8.4g", vmin);
    152152    g->DrawString(4, sy-4, buff);
    153     cout << " buff "<<buff;
    154153    av = fabs(vmax);
    155154    if ( (av < 1.e6) && (av > 1.e-3) )  sprintf(buff, "%.2f", vmax);
    156155    else sprintf(buff, "%8.4g", vmax);
    157     cout << " buff2 "<<buff<<endl;
    158156    g->DrawString(sx-4-(int)g->CalcStringWidth(buff), sy-4, buff);
    159157    }
Note: See TracChangeset for help on using the changeset viewer.