| 
            Last change
 on this file since 3495 was             223, checked in by ansari, 27 years ago           | 
        
        
          | 
             
Creation module DPC/PIext Reza 09/04/99 
 
           | 
        
        
          
            
              - 
Property                 svn:executable
 set to                 
*
               
             
           | 
        
        
          | 
            File size:
            1.3 KB
           | 
        
      
      
| Line |   | 
|---|
| 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 | 
 | 
|---|
| 16 | class PIStdImgApp;
 | 
|---|
| 17 | 
 | 
|---|
| 18 | 
 | 
|---|
| 19 | 
 | 
|---|
| 20 | 
 | 
|---|
| 21 | 
 | 
|---|
| 22 | 
 | 
|---|
| 23 | /* --------------------------------------------------------------------------- */
 | 
|---|
| 24 | class ObjMgrWind : public PIWindow {
 | 
|---|
| 25 | public :
 | 
|---|
| 26 |   ObjMgrWind(PIStdImgApp *par);
 | 
|---|
| 27 |   ~ObjMgrWind();
 | 
|---|
| 28 |   virtual void  Show();
 | 
|---|
| 29 |   virtual void  Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
 | 
|---|
| 30 |   inline void AddObj(const char * objid, PIMessage msg) 
 | 
|---|
| 31 |     { objlist->AppendItem(objid, msg); }
 | 
|---|
| 32 |   inline void DelObj(PIMessage msg) 
 | 
|---|
| 33 |     { objlist->DeleteItemMsg(msg); }
 | 
|---|
| 34 | private:
 | 
|---|
| 35 |   PIStdImgApp* dap;
 | 
|---|
| 36 |   PIList* objlist;
 | 
|---|
| 37 |   PIButton * mBut[5];
 | 
|---|
| 38 | };
 | 
|---|
| 39 | 
 | 
|---|
| 40 | /* --------------------------------------------------------------------------- */
 | 
|---|
| 41 | class PPInMgrWind :  public PIWindow {
 | 
|---|
| 42 | public:
 | 
|---|
| 43 |    PPInMgrWind(PIStdImgApp *par);
 | 
|---|
| 44 |    ~PPInMgrWind();
 | 
|---|
| 45 |    virtual void  Show();
 | 
|---|
| 46 |    virtual void  Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
 | 
|---|
| 47 |    void SetFile(string flnm);
 | 
|---|
| 48 | private:
 | 
|---|
| 49 |   PIStdImgApp* dap;
 | 
|---|
| 50 |   PIList* objlist;
 | 
|---|
| 51 |   PILabel * mLab[2];
 | 
|---|
| 52 |   PIButton* mBut[3];
 | 
|---|
| 53 |   PInPersist* mPin;
 | 
|---|
| 54 |   int tolx, toly, polx, poly;  // Taille et position de  objlist
 | 
|---|
| 55 |   int ttx, tty;   // Taille globale par defaut
 | 
|---|
| 56 | 
 | 
|---|
| 57 | };
 | 
|---|
| 58 |  
 | 
|---|
| 59 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.