Changeset 368 in Sophya for trunk/SophyaPI/PIext/piacmd.cc


Ignore:
Timestamp:
Aug 9, 1999, 1:57:10 PM (26 years ago)
Author:
ercodmgr
Message:

modifs Fenetre de fit et gestion repertoire /func Reza 9/8/99

File:
1 edited

Legend:

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

    r361 r368  
    440440
    441441/* Fonction */
    442 static string GetStringFrStdin()
    443 {
     442static string GetStringFrStdin(PIACmd* piac)
     443{
     444PIStdImgApp* piapp = piac->GetImgApp();
     445if (piapp) {
     446  PIBaseWdg* wdg = piapp->CurrentBaseWdg();
     447  if (wdg)  wdg->Refresh();
    444448#ifndef __mac__
    445 /* On vide le buffer X-Window */
    446 XFlush(PIXDisplay());
     449  /* On vide le buffer X-Window */
     450  XFlush(PIXDisplay());
    447451#endif
     452}
    448453char buff[128];
    449454fgets(buff, 128, stdin);
     
    702707  mImgApp->GetConsole()->AddStr(">>> Reading From StdIn \n", PIVA_Magenta);
    703708  cout << tokens[0] << " ? " << endl;
    704   mVars[tokens[0]] = GetStringFrStdin();
     709  mVars[tokens[0]] = GetStringFrStdin(this);
    705710  }
    706711
Note: See TracChangeset for help on using the changeset viewer.