Changeset 210 in PSPA


Ignore:
Timestamp:
Dec 19, 2012, 11:52:06 AM (12 years ago)
Author:
garnier
Message:

repation du bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc

    r209 r210  
    725725
    726726#ifdef HAS_IMAGEMAGIC
    727  Wt::WRasterImage pngImage("png", 300, 300);
     727 Wt::WRasterImage pngImage("png", 600, 600);
    728728 Wt::WPainter p(&pngImage);
    729729 chart->paint(p);
    730730 std::ofstream f("chart.png", std::ios::out | std::ios::binary);
    731731 pngImage.write(f);
    732  new WText("<a href='chart.png'>chart.png</a>",toto);
    733  addConsoleMessage("Le fichier chart.png a été créé");
     732 new WText("<a href='chart.png' target='_blank'>chart.png</a>",toto);
    734733#endif
    735734
     
    790789
    791790#ifdef HAS_IMAGEMAGIC
    792  Wt::WRasterImage pngImage("png", 300, 300);
     791 Wt::WRasterImage pngImage("png", 600, 600);
    793792 Wt::WPainter p(&pngImage);
    794793 chart->paint(p);
     
    796795 pngImage.write(f);
    797796
    798  new WText("<a href='chart.png'>chart.png</a>",toto);
    799  addConsoleMessage("Le fichier chart.png a été créé");
     797 new WText("<a href='chart.png' target='_blank'>chart.png</a>",toto);
    800798#endif
    801799}
Note: See TracChangeset for help on using the changeset viewer.