149 void showGEOAttributes(
const std::vector<GNEAttributeCarrier*>& ACs);
152 void hideGEOAttributes();
155 void refreshGEOAttributes();
164 long onCmdSetGEOAttribute(FXObject*, FXSelector,
void*);
167 long onCmdUseGEOParameters(FXObject*, FXSelector,
void*);
170 long onCmdHelp(FXObject*, FXSelector,
void*);
185 std::vector<GNEAttributeCarrier*>
myACs;
225 void showDrawingMode();
228 void hideDrawingMode();
240 void addNewPoint(
const Position& P);
243 void removeLastPoint();
249 bool isDrawing()
const;
254 long onCmdStartDrawing(FXObject*, FXSelector,
void*);
257 long onCmdStopDrawing(FXObject*, FXSelector,
void*);
260 long onCmdAbortDrawing(FXObject*, FXSelector,
void*);
293 GNEFrame(FXHorizontalFrame* horizontalFrameParent,
GNEViewNet* viewNet,
const std::string& frameLabel);
GNEFrame()
FOX needs this.
FXLabel * myUseGEOLabel
Label for use GEO.
std::vector< GNEAttributeCarrier * > myACs
current edited ACs
SumoXMLAttr myGEOAttribute
type of GEO Attribute
GNEFrame::GEOAttributes * myGEOAttributes
GEO Parameters.
FXButton * myHelpButton
button for help
GNEFrame & operator=(const GNEFrame &)=delete
Invalidated assignment operator.
FXLabel * getFrameHeaderLabel() const
get the label for the frame's header
FXLabel * myBlockShapeLabel
Label for block shape.
bool isCloseShapeEnabled() const
check if clse shape is enabled
FXFont * myFrameHeaderFont
Font for the Header.
GNEFrame * myFrameParent
frame frame parent
FXHorizontalFrame * myHeaderRightFrame
fame for right header elements
long onCmdSetBlockShape(FXObject *, FXSelector, void *)
Called when user changes the checkbox "set blocking shape".
FXHorizontalFrame * myBlockShapeFrame
frame for Block shape
FXTextField * myGEOAttributeTextField
textField for GEOAttribute
GNEFrame::NeteditAttributes * myNeteditAttributes
Netedit parameter.
FXScrollWindow * myScrollWindowsContents
scroll windows that holds the content frame
FXFont * getFrameHeaderFont() const
get font of the header's frame
FXHorizontalFrame * myHeaderFrame
fame for header elements
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
FXCheckButton * myBlockMovementCheckButton
checkBox for block movement
FXLabel * myInformationLabel
Label with information.
FXCheckButton * myUseGEOCheckButton
checkBox for use GEO
GNEViewNet * getViewNet() const
get view net
long onCmdSetBlockMovement(FXObject *, FXSelector, void *)
PositionVector myTemporalShapeShape
current drawed shape
DrawingMode()
FOX needs this.
GEOAttributes()
FOX needs this.
GNEViewNet * myViewNet
View Net for changes.
GNEFrame::DrawingMode * myDrawingMode
drawing mode
FXCheckButton * myBlockShapeCheckButton
checkBox for block shape
FXVerticalFrame * myContentFrame
Vertical frame that holds all widgets of frame.
A point in 2D or 3D with translation and scaling methods.
FXLabel * myFrameHeaderLabel
the label for the frame's header
FXLabel * myGEOAttributeLabel
Label for GEOAttribute.
bool isBlockShapeEnabled() const
check if block shape is enabled
GNEFrame * myFrameParent
current GNEFrame parent
FXButton * myAbortDrawingButton
button for abort drawing
FXButton * myStopDrawingButton
button for stop drawing
void setFrameWidth(int newWidth)
set width of GNEFrame
FXLabel * myBlockMovementLabel
Label for block movement.
void focusUpperElement()
focus upper element of frame
GNEFrame::DrawingMode * getDrawingMode() const
get drawing mode editor
long onCmdsetClosingShape(FXObject *, FXSelector, void *)
Called when the user change checkbox for open/closed polygon.
FXHorizontalFrame * myUseGEOFrame
horizontal frame for use GEO
~NeteditAttributes()
destructor
virtual void show()
show Frame
GNEFrame::GEOAttributes * getGEOAttributes() const
get GEO Parameters editor
GNEFrame * myFrameParent
GNEFrame parent.
FXHorizontalFrame * myGEOAttributeFrame
horizontal frame for GEOAttribute
FXLabel * myClosePolygonLabel
Label for open/close polygon.
virtual void hide()
hide Frame
void hideNeteditAttributes()
hide NeteditAttributes
GNEFrame::NeteditAttributes * getNeteditAttributes() const
get netedit attributes editor
void showNeteditAttributes(bool shapeEditing)
show NeteditAttributes
FXButton * myStartDrawingButton
button for start drawing
FXCheckButton * myClosePolygonCheckButton
checkbox to enable/disable closing polygon
FXHorizontalFrame * myClosePolygonFrame
Frame for open/close polygon.
FXHorizontalFrame * myHeaderLeftFrame
fame for left header elements
NeteditAttributes()
FOX needs this.
bool isBlockMovementEnabled() const
check if block movement is enabled