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

Last change on this file since 3306 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
Line 
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)
5// R. Ansari C.Magneville 10/2000
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
20//-----------------------------------------------------------------------
21//-----------------------------------------------------------------------
22//-----------------------------------------------------------------------
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:
31 virtual void filefrstring(string filename,string& code);
32 virtual string stringfrfile(string filename);
33 PIStdImgApp* dap;
34 CxxExecutor* cxxex;
35 PILabel * mLab[5];
36 PIButton * mBut[10];
37 PIText * mText[4];
38 PIFileChooser * pfc; // Pour les fichiers user C++
39 string mFName[2];
40};
41
42//-----------------------------------------------------------------------
43//-----------------------------------------------------------------------
44//-----------------------------------------------------------------------
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:
53 PIStdImgApp * dap;
54 CxxExecutor * cxxex;
55 PILabel * mTit;
56 PILabel * mLab[5];
57 PIButton * mBut[3];
58 PIText * mText[5];
59};
60
61
62#endif
Note: See TracBrowser for help on using the repository browser.