163 long onCmdOK(FXObject*, FXSelector,
void*);
FXGroupBoxModule (based on FXGroupBox)
Legend(GNEProhibitionFrame *prohibitionFrameParent)
constructor
const RGBColor & getProhibitingColor() const
get color for connections with precedence
RGBColor myUndefinedColor
color for non-conflicting pairs of connections
const RGBColor & getProhibitedColor() const
get color for waiting connections
RGBColor myMutualConflictColor
color for mutual conflicts
const RGBColor & getUndefinedColor() const
get color for non-conflicting pairs of connections
RGBColor myProhibitedColor
color for waiting connections
RGBColor myUnregulatedConflictColor
color for unregulated conflicts
const RGBColor & getMutualConflictColor() const
get color for mutual conflicts
const RGBColor & getUnregulatedConflictColor() const
get color for unregulated conflicts
RGBColor myProhibitingColor
color for connections with precedence
Modifications(GNEProhibitionFrame *prohibitionFrameParent)
constructor
FXButton * myCancelButton
"Cancel" button
~Modifications()
destructor
FXButton * mySaveButton
"Save" button
FXLabel * myConnDescriptionLabel
the label that shows the currently selected connection
RelativeToConnection(GNEProhibitionFrame *prohibitionFrameParent)
constructor
void updateDescription() const
update description
~RelativeToConnection()
destructor
GNEProhibitionFrame * myProhibitionFrameParent
pointer to prohibition frame parent
GNEProhibitionFrame::Legend * myLegend
prohibition legend
RelativeToConnection * myRelativeToConnection
Relative To Connection.
ConnStatus
FOX-declaration.
GNEProhibitionFrame::Modifications * myModifications
Modifications.
~GNEProhibitionFrame()
Destructor.
void hide()
hide prohibition frame
long onCmdOK(FXObject *, FXSelector, void *)
GNEProhibitionFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
void handleProhibitionClick(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
handle prohibitions and set the relative colouring
GNEConnection * myCurrentConn
the connection which prohibits
long onCmdCancel(FXObject *, FXSelector, void *)
Called when the user presses the Cancel-button discards any prohibition modifications.
void show()
show prohibition frame
void buildProhibition(GNEConnection *conn, bool mayDefinitelyPass, bool allowConflict, bool toggle)
build prohibition
std::set< GNEConnection * > myConcernedConns
the set of connections which
class used to group all variables related with objects under cursor after a click over view