Ignore:
Timestamp:
Jan 24, 2013, 6:03:44 PM (11 years ago)
Author:
garnier
Message:

Insertion dans la drop box ok

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

Legend:

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

    r272 r273  
    1717   
    1818private:
     19    void initialise();
    1920    void mouseOver(const WMouseEvent &e );
    2021    void mouseOut(const WMouseEvent &e );
  • Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_elementLigneFaisceau.h

    r272 r273  
    4848    void setElementName(std::string label);
    4949   
     50    inline GWt_dropZoneLigneFaisceau* getDropZoneLeft() {
     51        return dropZoneLeft_;
     52    }
     53
     54    inline GWt_dropZoneLigneFaisceau* getDropZoneRight() {
     55        return dropZoneRight_;
     56    }
     57
    5058private:
    5159   
     
    5866    WText* firstTimeInsertMessage_;
    5967   
    60     GWt_dropZoneLigneFaisceau* arrowImage_;
     68    GWt_dropZoneLigneFaisceau* dropZoneLeft_;
    6169    WContainerWidget* dragElementZone_;
    62     GWt_dropZoneLigneFaisceau* lineImage_;
     70    GWt_dropZoneLigneFaisceau* dropZoneRight_;
    6371    WText* elementName_;
    6472   
  • Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_ligneFaisceau.h

    r272 r273  
    77#include "GWt_pspaApplication.h"
    88#include "GWt_abstractElement.h"
     9#include "GWt_dropZoneLigneFaisceau.h"
    910
    1011#include <Wt/WApplication>
     
    3334    GWt_LigneFaisceau() {;}
    3435    GWt_LigneFaisceau(PspaApplication*);
    35     void addElement(typedElement eType);
     36   
     37    /**
     38     
     39     Add an element at a position inside the beam line.
     40     @param eType : type of element
     41     @param dropContainer : origin of the drop event
     42     -
     43     Special case, when first element is created, we add a drop zone at the end and beginning of the drop zone
     44     and we center everything
     45     */
     46    void addElement(typedElement eType, GWt_dropZoneLigneFaisceau* dropContainer);
    3647   
    3748    ~GWt_LigneFaisceau() {
Note: See TracChangeset for help on using the changeset viewer.