Ignore:
Timestamp:
Mar 8, 2013, 4:32:54 PM (11 years ago)
Author:
touze
Message:

ajout d'une extension de fichier pour les cliches

Location:
Interface_Web/trunk/pspaWT/sources/userInterface/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_ligneFaisceau.h

    r359 r379  
    1616class GWt_dropZoneLigneFaisceau;
    1717
    18 class Compteur {
     18class compteur {
    1919    int n_;
    2020   
    2121    public :
    22     Compteur() {n_= 0;}
     22    compteur() {n_= 0;}
    2323    int incr() {return ++n_;}
    2424};
     
    2828    WHBoxLayout* ligneFaisceauLayout_;
    2929    PspaApplication* pspa_;
    30     Compteur *nObjets_;
    3130   
    3231    public :
     
    4948    void removeElement(GWt_abstractElement*);
    5049   
    51     ~GWt_LigneFaisceau() {
    52         if(nObjets_ != NULL) delete[] nObjets_;
    53     }
     50    ~GWt_LigneFaisceau() {;}
    5451   
    5552    /** return the abstract element at a position
  • Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_pspaApplication.h

    r376 r379  
    6969  WWidget* createExecuteWidget();
    7070  WContainerWidget* createDrawingWidget();
     71
     72  // extensions (.001, .002,...) pour les fichiers "snapshot"
     73  int extensionFile_;
    7174 
    7275  void closeGraphicDialog();
     
    123126  }
    124127
    125     inline string getWorkingDir() const {
    126         return workingDir_;
    127     }
     128  inline string getWorkingDir() const {
     129    return workingDir_;
     130  }
     131
     132  inline void setExtensionFile(int n) {
     133    extensionFile_ = n;
     134  }
     135
     136  inline int getExtensionFile() const {
     137    return extensionFile_;
     138  }
    128139
    129140};
  • Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_snapshot.h

    r374 r379  
    1919   
    2020  GWt_snapshot() {;}
    21   GWt_snapshot(GWt_elementLigneFaisceau*);
     21  GWt_snapshot(GWt_elementLigneFaisceau*,int);
    2222  ~GWt_snapshot() {;}
    2323 
Note: See TracChangeset for help on using the changeset viewer.