Changeset 1856 in Sophya for trunk/SophyaPI/PIext/pistdimgapp.cc


Ignore:
Timestamp:
Jan 12, 2002, 1:43:47 AM (24 years ago)
Author:
ansari
Message:

adaptation PIHisto2D et sa fenetre de controle a la nouvelle mode de gestion de controles specialisees - Reza 11/01/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pistdimgapp.cc

    r1642 r1856  
    1919
    2020#include "pistdimgapp.h"
    21 #include "pihisto2d.h"
     21// #include "pihisto2d.h"
    2222#include "psfile.h"
    2323#include "piimgtools.h"
     
    564564sy = 200+mFgScSz*100;
    565565win = GetWindow(opt, sx, sy, px, py, flag, (char *)name.c_str());
     566/*
    566567if (typeid(*scd) != typeid(PIHisto2D))
    567    scw = new PIScDrawWdg(win, (char *)name.c_str(), sx, sy, px, py);
    568568else scw = new PIH2DWdg(win, (char *)name.c_str(), sx, sy, px, py);
     569*/
     570scw = new PIScDrawWdg(win, (char *)name.c_str(), sx, sy, px, py);
    569571scw->SetBinding(PIBK_elastic, PIBK_elastic, PIBK_elastic, PIBK_elastic);
    570572scw->SetUserData(NULL, oid);
     
    575577// Fonte de trace d'axe
    576578scw->BaseDrawer()->SetFont(mFName, mFSz, mFAtt);
    577 
    578 if (typeid(*scd) != typeid(PIHisto2D)) scw->AddScDrawer(scd, true);
     579/*
     580if (typeid(*scd) != typeid(PIHisto2D))
    579581else ((PIH2DWdg*)scw)->SetPIHisto((PIHisto2D*)scd);
     582*/
     583scw->AddScDrawer(scd, true);
    580584//   Titre du plot
    581585if (mAddTitle) {
Note: See TracChangeset for help on using the changeset viewer.