source: Sophya/trunk/SophyaPI/PIGcont/picntools.h@ 1837

Last change on this file since 1837 was 1829, checked in by perderos, 24 years ago

Creation du module PIGcont, Drawer de trace de contour / a partir
de l'adaptation du code de trace de contour de GNUplot, interfacage
avec la librairie PI .

Olivier Perdereau 19/12/2001

File size: 1.6 KB
RevLine 
[1829]1// This may look like C code, but it is really -*- C++ -*-
2// Outils de manipulation des PIContDrawer O. Perdereau 11/2001
3// Relatif a un SEUL contourdrawer
4// LAL (Orsay) / IN2P3-CNRS DAPNIA/SPP (Saclay) / CEA
5
6#ifndef PICNTOOLS_H_SEEN
7#define PICNTOOLS_H_SEEN
8
9#include "pisysdep.h"
10#include PISTDWDG_H
11#include PIOPTMENU_H
12#include PIWIN_H
13#include PIAPP_H
14#include "pibwdggen.h"
15#include "pigncont.h"
16
17// --------- fenetre de dialogue pour modifs options de trace des contours ----------
18// --------------------------------------------------------------------------------
19
20
21class PICnTools : public PIWindow
22{
23public :
24 PICnTools(PIApplication* par);
25 ~PICnTools();
26 virtual void Show();
27
28 static PICnTools* curlutw;
29 static void ShowPICnTools();
30 static void HidePICnTools();
31 static void SetCurrentBaseWdg(PIBaseWdgGen* cbw);
32 static void SetCurrentCnDrw(PIContourDrawer* drw);
33 static PIBaseWdgGen* GetCurrentBaseWdg();
34 static PIContourDrawer* GetCurrentCnDrw();
35 inline PICMapView* CMapVW() { return cmapv; }
36protected:
37 virtual void UpdateAttFromDrawer();
38 virtual void SetGraphicAtt(bool );
39 virtual void SetCalcParm();
40 virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
41
42private:
43// Pour couleur, fontes, etc
44
45 PICMapView* cmapv;
46 PICheckBox* mCkb[3];
47 PILabel* mLab[5];
48 PIOptMenu* mOpt[10];
49 PIMenu* mCasc[5];
50 PILabel* mNlb;
51 PIText* mTxt[2];
52 PIButton* mButdr[2];
53 PIButton* mButcf[5];
54 int mNDr;
55 int mtyp, msz;
56//
57 static PIBaseWdgGen* mCurBW;
58 static PIContourDrawer* mCurCDrw;
59 static PICnTools* cwdrwt;
60};
61
62#endif
Note: See TracBrowser for help on using the repository browser.