Changeset 449 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_elementLigneFaisceau.cc
- Timestamp:
- Dec 12, 2013, 12:14:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_elementLigneFaisceau.cc
r437 r449 19 19 #define PSPA_DEBUG 1 20 20 21 GWt_elementLigneFaisceau::GWt_elementLigneFaisceau(PspaApplication* pspa )21 GWt_elementLigneFaisceau::GWt_elementLigneFaisceau(PspaApplication* pspa,GWt_LigneFaisceau* ligne) 22 22 : WContainerWidget(), 23 23 firstTimeInsertMessage_(NULL), … … 28 28 pspa_(pspa) 29 29 { 30 initialize_ligneFaisceau(nomdElements::inconnu );31 } 32 33 34 GWt_elementLigneFaisceau::GWt_elementLigneFaisceau(nomdElements::typedElement type,PspaApplication* pspa )30 initialize_ligneFaisceau(nomdElements::inconnu,ligne); 31 } 32 33 34 GWt_elementLigneFaisceau::GWt_elementLigneFaisceau(nomdElements::typedElement type,PspaApplication* pspa,GWt_LigneFaisceau* ligne) 35 35 : WContainerWidget(), 36 36 firstTimeInsertMessage_(NULL), … … 43 43 // set the css name 44 44 setObjectName("elementLigneFaisceau"); 45 initialize_ligneFaisceau(type );46 } 47 48 void GWt_elementLigneFaisceau::initialize_ligneFaisceau(nomdElements::typedElement eType )45 initialize_ligneFaisceau(type,ligne); 46 } 47 48 void GWt_elementLigneFaisceau::initialize_ligneFaisceau(nomdElements::typedElement eType,GWt_LigneFaisceau* ligne) 49 49 { 50 50 cout << " new GWt_elementLigneFaisceau : "<< nomdElements::getLabelFromType(eType) << endl; … … 62 62 63 63 // add first line : initialize arrow and link images 64 dropZoneLeft_ = new GWt_dropZoneLigneFaisceau(pspa_ );65 dropZoneRight_ = new GWt_dropZoneLigneFaisceau(pspa_ );64 dropZoneLeft_ = new GWt_dropZoneLigneFaisceau(pspa_,ligne); 65 dropZoneRight_ = new GWt_dropZoneLigneFaisceau(pspa_,ligne); 66 66 67 67 // change object name in order to manage css : … … 73 73 74 74 // add first line : initialize arrow and link images 75 dropZoneLeft_ = new GWt_dropZoneLigneFaisceau(pspa_ );76 dropZoneRight_ = new GWt_dropZoneLigneFaisceau(pspa_ );75 dropZoneLeft_ = new GWt_dropZoneLigneFaisceau(pspa_,ligne); 76 dropZoneRight_ = new GWt_dropZoneLigneFaisceau(pspa_,ligne); 77 77 78 78 // change object name in order to manage css :
Note: See TracChangeset
for help on using the changeset viewer.