![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEPolygonFrame.h>


Public Member Functions | |
| void | hide () |
| hide NeteditAttributes More... | |
| bool | isBlockMovementEnabled () const |
| check if block movement is enabled More... | |
| bool | isBlockShapeEnabled () const |
| check if block shape is enabled More... | |
| bool | isCloseShapeEnabled () const |
| check if clse shape is enabled More... | |
| NeteditAttributes (FXComposite *parent) | |
| FOX-declaration. More... | |
| void | show (bool shapeEditing) |
| show NeteditAttributes More... | |
| ~NeteditAttributes () | |
| destructor More... | |
FOX-callbacks | |
Called when user changes the checkbox "set blocking movement" | |
| long | onCmdSetBlockMovement (FXObject *, FXSelector, void *) |
| long | onCmdSetBlockShape (FXObject *, FXSelector, void *) |
| Called when user changes the checkbox "set blocking shape". More... | |
| long | onCmdsetClosingClosing (FXObject *, FXSelector, void *) |
| Called when the user change checkbox for open/closed polygon. More... | |
Protected Member Functions | |
| NeteditAttributes () | |
| FOX needs this. More... | |
Private Attributes | |
| FXCheckButton * | myBlockMovementCheckButton |
| checkBox for block movement More... | |
| FXLabel * | myBlockMovementLabel |
| Label for block movement. More... | |
| FXCheckButton * | myBlockShapeCheckButton |
| checkBox for block shape More... | |
| FXHorizontalFrame * | myBlockShapeFrame |
| frame for Block shape More... | |
| FXLabel * | myBlockShapeLabel |
| Label for block shape. More... | |
| FXCheckButton * | myClosePolygonCheckButton |
| checkbox to enable/disable closing polygon More... | |
| FXHorizontalFrame * | myClosePolygonFrame |
| Frame for open/close polygon. More... | |
| FXLabel * | myClosePolygonLabel |
| Label for open/close polygon. More... | |
Definition at line 233 of file GNEPolygonFrame.h.
| GNEPolygonFrame::NeteditAttributes::NeteditAttributes | ( | FXComposite * | parent | ) |
FOX-declaration.
constructor
Definition at line 944 of file GNEPolygonFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignCheckButtonAttribute, GUIDesignLabelAttribute, MID_GNE_MODE_POLYGON_CLOSE, MID_GNE_SET_BLOCKING_MOVEMENT, MID_GNE_SET_BLOCKING_SHAPE, myBlockMovementCheckButton, myBlockMovementLabel, myBlockShapeCheckButton, myBlockShapeFrame, myBlockShapeLabel, myClosePolygonCheckButton, myClosePolygonFrame, and myClosePolygonLabel.
| GNEPolygonFrame::NeteditAttributes::~NeteditAttributes | ( | ) |
destructor
Definition at line 963 of file GNEPolygonFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 273 of file GNEPolygonFrame.h.
| void GNEPolygonFrame::NeteditAttributes::hide | ( | ) |
hide NeteditAttributes
Definition at line 981 of file GNEPolygonFrame.cpp.
Referenced by GNEPolygonFrame::onCmdSelectShape().
| bool GNEPolygonFrame::NeteditAttributes::isBlockMovementEnabled | ( | ) | const |
check if block movement is enabled
Definition at line 987 of file GNEPolygonFrame.cpp.
References myBlockMovementCheckButton.
Referenced by GNEPolygonFrame::buildPoly(), and GNEPolygonFrame::processClick().
| bool GNEPolygonFrame::NeteditAttributes::isBlockShapeEnabled | ( | ) | const |
check if block shape is enabled
Definition at line 993 of file GNEPolygonFrame.cpp.
References myBlockShapeCheckButton.
Referenced by GNEPolygonFrame::buildPoly().
| bool GNEPolygonFrame::NeteditAttributes::isCloseShapeEnabled | ( | ) | const |
check if clse shape is enabled
Definition at line 999 of file GNEPolygonFrame.cpp.
References myClosePolygonCheckButton.
Referenced by GNEPolygonFrame::DrawingMode::stopDrawing().
| long GNEPolygonFrame::NeteditAttributes::onCmdSetBlockMovement | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 1005 of file GNEPolygonFrame.cpp.
References myBlockMovementCheckButton.
| long GNEPolygonFrame::NeteditAttributes::onCmdSetBlockShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user changes the checkbox "set blocking shape".
Definition at line 1016 of file GNEPolygonFrame.cpp.
References myBlockShapeCheckButton.
| long GNEPolygonFrame::NeteditAttributes::onCmdsetClosingClosing | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user change checkbox for open/closed polygon.
Definition at line 1027 of file GNEPolygonFrame.cpp.
References myClosePolygonCheckButton.
| void GNEPolygonFrame::NeteditAttributes::show | ( | bool | shapeEditing | ) |
show NeteditAttributes
Definition at line 967 of file GNEPolygonFrame.cpp.
References myBlockShapeFrame, and myClosePolygonFrame.
Referenced by GNEPolygonFrame::onCmdSelectShape().
|
private |
checkBox for block movement
Definition at line 280 of file GNEPolygonFrame.h.
Referenced by isBlockMovementEnabled(), NeteditAttributes(), and onCmdSetBlockMovement().
|
private |
Label for block movement.
Definition at line 277 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes().
|
private |
checkBox for block shape
Definition at line 289 of file GNEPolygonFrame.h.
Referenced by isBlockShapeEnabled(), NeteditAttributes(), and onCmdSetBlockShape().
|
private |
frame for Block shape
Definition at line 283 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes(), and show().
|
private |
Label for block shape.
Definition at line 286 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes().
|
private |
checkbox to enable/disable closing polygon
Definition at line 298 of file GNEPolygonFrame.h.
Referenced by isCloseShapeEnabled(), NeteditAttributes(), and onCmdsetClosingClosing().
|
private |
Frame for open/close polygon.
Definition at line 292 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes(), and show().
|
private |
Label for open/close polygon.
Definition at line 295 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes().