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