162 long onCmdOK(FXObject*, FXSelector,
void*);
Modifications(GNEProhibitionFrame *prohibitionFrameParent)
constructor
FXButton * myCancelButton
"Cancel" button
~Modifications()
destructor
FXButton * mySaveButton
"Save" button
const RGBColor & getUndefinedColor() const
get color for non-conflicting pairs of connections
RGBColor myUndefinedColor
color for non-conflicting pairs of connections
~ProhibitionLegend()
destructor
const RGBColor & getMutualConflictColor() const
get color for mutual conflicts
const RGBColor & getProhibitedColor() const
get color for waiting connections
RGBColor myProhibitingColor
color for connections with precedence
RGBColor myProhibitedColor
color for waiting connections
RGBColor myUnregulatedConflictColor
color for unregulated conflicts
const RGBColor & getUnregulatedConflictColor() const
get color for unregulated conflicts
RGBColor myMutualConflictColor
color for mutual conflicts
const RGBColor & getProhibitingColor() const
get color for connections with precedence
ProhibitionLegend(GNEProhibitionFrame *prohibitionFrameParent)
constructor
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
RelativeToConnection * myRelativeToConnection
Relative To Connection.
ConnStatus
FOX-declaration.
~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
ProhibitionLegend * myProhibitionLegend
prohibition legend
long onCmdCancel(FXObject *, FXSelector, void *)
Called when the user presses the Cancel-button discards any prohibition modifications.
Modifications * myModifications
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