source: Sophya/trunk/SophyaPI/PIext/cxxexecwin.h@ 3666

Last change on this file since 3666 was 1297, checked in by ercodmgr, 25 years ago

1-/ complete color map in pihisto2d
2-/ introcution de la notion de module additionnel

dans le C++EXECUTOR cmv 7/11/2000

File size: 1.8 KB
RevLine 
[1251]1// This may look like C code, but it is really -*- C++ -*-
2// Classe CxxExecWind : Control Window for CxxExecutor
3// Classe CxxOptionWind : Option Window for CxxExecutor
4// (c) DAPNIA (CEA) LAL (IN2P3/CNRS)
[1269]5// R. Ansari C.Magneville 10/2000
[1251]6
7#ifndef CXXEXECWIN_H_SEEN
8#define CXXEXECWIN_H_SEEN
9
10#include "machdefs.h"
11
12#include "pisysdep.h"
13#include "pistdimgapp.h"
14
15#include PISTDWDG_H
16#include PIWIN_H
17
18class CxxExecutor;
19
[1269]20//-----------------------------------------------------------------------
21//-----------------------------------------------------------------------
22//-----------------------------------------------------------------------
[1251]23class CxxExecWind : public PIWindow {
24public :
25 CxxExecWind(PIStdImgApp* par, CxxExecutor * cxxexec);
26 ~CxxExecWind();
27 virtual void Show();
28 virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
29
30private:
[1269]31 virtual void filefrstring(string filename,string& code);
32 virtual string stringfrfile(string filename);
[1251]33 PIStdImgApp* dap;
34 CxxExecutor* cxxex;
[1269]35 PILabel * mLab[5];
36 PIButton * mBut[10];
37 PIText * mText[4];
[1251]38 PIFileChooser * pfc; // Pour les fichiers user C++
[1269]39 string mFName[2];
40};
[1251]41
[1269]42//-----------------------------------------------------------------------
43//-----------------------------------------------------------------------
44//-----------------------------------------------------------------------
[1251]45class CxxOptionWind : public PIWindow {
46public :
47 CxxOptionWind(PIStdImgApp* par, CxxExecutor * cxxexec);
48 ~CxxOptionWind();
49 virtual void Show();
50 virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
51
52private:
[1269]53 PIStdImgApp * dap;
54 CxxExecutor * cxxex;
[1251]55 PILabel * mTit;
[1297]56 PILabel * mLab[5];
[1251]57 PIButton * mBut[3];
[1297]58 PIText * mText[5];
[1269]59};
[1251]60
61
62#endif
Note: See TracBrowser for help on using the repository browser.