source: Sophya/trunk/SophyaPI/PIext/pisiadw.h@ 293

Last change on this file since 293 was 293, checked in by ercodmgr, 26 years ago

Adaptation aux "normes DPC", introduction des classes CmdExecutor, ...
Fenetre d'aide en lignes, gestion de modules, ... Reza 11/05/99

  • Property svn:executable set to *
File size: 1.3 KB
RevLine 
[165]1#ifndef PISIADW_H_SEEN
2#define PISIADW_H_SEEN
3
4#include <string.h>
5
6#include "pisysdep.h"
7
8#include PIAPP_H
9#include PIWIN_H
10#include PIMENU_H
11#include PIOPTMENU_H
12#include PISTDWDG_H
13#include PILIST_H
14
15
16class PIStdImgApp;
17
18
19
20/* --------------------------------------------------------------------------- */
21class ObjMgrWind : public PIWindow {
22public :
23 ObjMgrWind(PIStdImgApp *par);
24 ~ObjMgrWind();
25 virtual void Show();
26 virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
27 inline void AddObj(const char * objid, PIMessage msg)
28 { objlist->AppendItem(objid, msg); }
29 inline void DelObj(PIMessage msg)
30 { objlist->DeleteItemMsg(msg); }
31private:
32 PIStdImgApp* dap;
33 PIList* objlist;
34 PIButton * mBut[5];
35};
36
37/* --------------------------------------------------------------------------- */
38class PPInMgrWind : public PIWindow {
39public:
40 PPInMgrWind(PIStdImgApp *par);
41 ~PPInMgrWind();
42 virtual void Show();
43 virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
44 void SetFile(string flnm);
45private:
46 PIStdImgApp* dap;
47 PIList* objlist;
48 PILabel * mLab[2];
49 PIButton* mBut[3];
50 PInPersist* mPin;
51 int tolx, toly, polx, poly; // Taille et position de objlist
52 int ttx, tty; // Taille globale par defaut
53
54};
55
56#endif
Note: See TracBrowser for help on using the repository browser.