96 FXGLCanvas* share,
GNENet* net,
GNEUndoList* undoList, FXIcon* ic, FXuint opts, FXint x, FXint y, FXint w, FXint h) :
97 GUIGlChildWindow(p, parentWindow, mdimenu, name, parentWindow->getToolbarsGrip().navigation, ic, opts, x, y, w, h),
98 myGNEAppWindows(parentWindow) {
100 myGUIMainWindowParent->addGLChild(
this);
106 myUndoButton =
new MFXButtonTooltip(myGripNavigationToolbar, myGNEAppWindows->getStaticTooltipMenu(),
107 std::string(
"\t") +
TL(
"Undo") + std::string(
"\t") +
TL(
"Undo the last change. (Ctrl+Z)"),
109 myRedoButton =
new MFXButtonTooltip(myGripNavigationToolbar, myGNEAppWindows->getStaticTooltipMenu(),
110 std::string(
"\t") +
TL(
"Redo") + std::string(
"\t") +
TL(
"Redo the last change. (Ctrl+Y)"),
117 myComputePathManagerButton =
new MFXButtonTooltip(myGripNavigationToolbar, myGNEAppWindows->getStaticTooltipMenu(),
118 std::string(
"\t") +
TL(
"Compute path manager") + std::string(
"\t") +
TL(
"Compute path manager."),
131 FXComposite* tmp =
new FXComposite(
this);
134 GNEViewNet* viewNet =
new GNEViewNet(tmp, myViewArea, *myGUIMainWindowParent,
this, net, undoList, myGUIMainWindowParent->getGLVisual(), share);
137 myGNEAppWindows->getToolbarsGrip().buildMenuToolbarsGrip();
143 myCommonFrames.buildCommonFrames(
this, viewNet);
144 myNetworkFrames.buildNetworkFrames(
this, viewNet);
145 myDemandFrames.buildDemandFrames(
this, viewNet);
146 myDataFrames.buildDataFrames(
this, viewNet);
152 onCmdUpdateFrameAreaWidth(
nullptr, 0,
nullptr);
158 myView->buildViewToolBars(
this);
408 if (chooserDialog ==
nullptr) {
473 FXFileDialog opendialog(
this,
TL(
"Save Snapshot"));
475 opendialog.setSelectMode(SELECTFILE_ANY);
476 opendialog.setPatternList(
"All Image Files (*.gif, *.bmp, *.xpm, *.pcx, *.ico, *.rgb, *.xbm, *.tga, *.png, *.jpg, *.jpeg, *.tif, *.tiff, *.ps, *.eps, *.pdf, *.svg, *.tex, *.pgf)\n"
477 "GIF Image (*.gif)\nBMP Image (*.bmp)\nXPM Image (*.xpm)\nPCX Image (*.pcx)\nICO Image (*.ico)\n"
478 "RGB Image (*.rgb)\nXBM Image (*.xbm)\nTARGA Image (*.tga)\nPNG Image (*.png)\n"
479 "JPEG Image (*.jpg, *.jpeg)\nTIFF Image (*.tif, *.tiff)\n"
480 "Postscript (*.ps)\nEncapsulated Postscript (*.eps)\nPortable Document Format (*.pdf)\n"
481 "Scalable Vector Graphics (*.svg)\nLATEX text strings (*.tex)\nPortable LaTeX Graphics (*.pgf)\n"
490 std::string file = opendialog.getFilename().text();
491 if (file.find(
".") == std::string::npos) {
493 WRITE_MESSAGE(
TL(
"No file extension was specified - saving Snapshot as PNG."));
498 WRITE_DEBUG(
"Opening FXMessageBox 'error saving snapshot'");
500 FXMessageBox::error(
this, MBOX_OK,
TL(
"Saving failed."),
"%s", error.c_str());
502 WRITE_DEBUG(
"Closed FXMessageBox 'error saving snapshot' with 'OK'");
523 std::vector<GNEAttributeCarrier*> ACsToLocate;
524 int messageId = FXSELID(sel);
526 std::string locateTitle;
530 locateTitle =
TL(
"Junction Chooser");
532 ACsToLocate.push_back(junction.second);
537 locateTitle =
TL(
"Edge Chooser");
539 ACsToLocate.push_back(edge.second);
544 locateTitle =
TL(
"WalkingArea Chooser");
546 ACsToLocate.push_back(walkingArea.second);
551 locateTitle =
TL(
"Vehicle Chooser");
555 ACsToLocate.push_back(vehicle.second);
562 locateTitle =
TL(
"Person Chooser");
566 ACsToLocate.push_back(person.second);
572 locateTitle =
TL(
"Container Chooser");
576 ACsToLocate.push_back(container.second);
582 locateTitle =
TL(
"Route Chooser");
584 ACsToLocate.push_back(route.second);
589 locateTitle =
TL(
"Stop Chooser");
593 ACsToLocate.push_back(flowTAZ.second);
600 locateTitle =
TL(
"TLS Chooser");
603 if (junction.second->getNBNode()->getControllingTLS().size() > 0) {
604 ACsToLocate.push_back(junction.second);
610 locateTitle =
TL(
"Additional Chooser");
615 for (
const auto& additional : additionalTag.second) {
616 ACsToLocate.push_back(additional.second);
623 locateTitle =
TL(
"POI Chooser");
627 ACsToLocate.push_back(flowTAZ.second);
633 locateTitle =
TL(
"Poly Chooser");
637 ACsToLocate.push_back(flowTAZ.second);
642 throw ProcessError(
"Unknown Message ID in onCmdLocate");
652 *chooserLoc = chooser;
707 inspectorFrame->hide();
709 selectorFrame->hide();
717 inspectorFrame->setFrameWidth(frameWidth);
718 deleteFrame->setFrameWidth(frameWidth);
719 selectorFrame->setFrameWidth(frameWidth);
720 moveFrame->setFrameWidth(frameWidth);
727 if (inspectorFrame->shown()) {
729 }
else if (deleteFrame->shown()) {
731 }
else if (selectorFrame->shown()) {
733 }
else if (moveFrame->shown()) {
744 if (inspectorFrame->shown()) {
745 return inspectorFrame;
746 }
else if (deleteFrame->shown()) {
748 }
else if (selectorFrame->shown()) {
749 return selectorFrame;
750 }
else if (moveFrame->shown()) {
781 connectorFrame->hide();
782 TLSEditorFrame->hide();
783 additionalFrame->hide();
784 crossingFrame->hide();
786 polygonFrame->hide();
787 prohibitionFrame->hide();
790 createEdgeFrame->hide();
797 connectorFrame->setFrameWidth(frameWidth);
798 TLSEditorFrame->setFrameWidth(frameWidth);
799 additionalFrame->setFrameWidth(frameWidth);
800 crossingFrame->setFrameWidth(frameWidth);
801 TAZFrame->setFrameWidth(frameWidth);
802 polygonFrame->setFrameWidth(frameWidth);
803 prohibitionFrame->setFrameWidth(frameWidth);
804 wireFrame->setFrameWidth(frameWidth);
805 decalFrame->setFrameWidth(frameWidth);
806 createEdgeFrame->setFrameWidth(frameWidth);
813 if (connectorFrame->shown()) {
815 }
else if (TLSEditorFrame->shown()) {
817 }
else if (additionalFrame->shown()) {
819 }
else if (crossingFrame->shown()) {
821 }
else if (TAZFrame->shown()) {
823 }
else if (polygonFrame->shown()) {
825 }
else if (prohibitionFrame->shown()) {
827 }
else if (wireFrame->shown()) {
829 }
else if (decalFrame->shown()) {
831 }
else if (createEdgeFrame->shown()) {
842 if (connectorFrame->shown()) {
843 return connectorFrame;
844 }
else if (TLSEditorFrame->shown()) {
845 return TLSEditorFrame;
846 }
else if (additionalFrame->shown()) {
847 return additionalFrame;
848 }
else if (crossingFrame->shown()) {
849 return crossingFrame;
850 }
else if (TAZFrame->shown()) {
852 }
else if (polygonFrame->shown()) {
854 }
else if (prohibitionFrame->shown()) {
855 return prohibitionFrame;
856 }
else if (wireFrame->shown()) {
858 }
else if (decalFrame->shown()) {
860 }
else if (createEdgeFrame->shown()) {
861 return createEdgeFrame;
893 routeDistributionFrame->hide();
894 vehicleFrame->hide();
896 typeDistributionFrame->hide();
899 personPlanFrame->hide();
900 containerFrame->hide();
901 containerPlanFrame->hide();
908 routeFrame->setFrameWidth(frameWidth);
909 routeDistributionFrame->setFrameWidth(frameWidth);
910 vehicleFrame->setFrameWidth(frameWidth);
911 typeFrame->setFrameWidth(frameWidth);
912 typeDistributionFrame->setFrameWidth(frameWidth);
913 stopFrame->setFrameWidth(frameWidth);
914 personFrame->setFrameWidth(frameWidth);
915 personPlanFrame->setFrameWidth(frameWidth);
916 containerFrame->setFrameWidth(frameWidth);
917 containerPlanFrame->setFrameWidth(frameWidth);
924 if (routeFrame->shown()) {
926 }
else if (routeDistributionFrame->shown()) {
928 }
else if (vehicleFrame->shown()) {
930 }
else if (typeFrame->shown()) {
932 }
else if (typeDistributionFrame->shown()) {
934 }
else if (stopFrame->shown()) {
936 }
else if (personFrame->shown()) {
938 }
else if (personPlanFrame->shown()) {
940 }
else if (containerFrame->shown()) {
942 }
else if (containerPlanFrame->shown()) {
953 if (routeFrame->shown()) {
955 }
else if (routeDistributionFrame->shown()) {
956 return routeDistributionFrame;
957 }
else if (vehicleFrame->shown()) {
959 }
else if (typeFrame->shown()) {
961 }
else if (typeDistributionFrame->shown()) {
962 return typeDistributionFrame;
963 }
else if (stopFrame->shown()) {
965 }
else if (personFrame->shown()) {
967 }
else if (personPlanFrame->shown()) {
968 return personPlanFrame;
969 }
else if (containerFrame->shown()) {
970 return containerFrame;
971 }
else if (containerPlanFrame->shown()) {
972 return containerPlanFrame;
997 edgeDataFrame->hide();
998 edgeRelDataFrame->hide();
999 TAZRelDataFrame->hide();
1000 meanDataFrame->hide();
1007 edgeDataFrame->setFrameWidth(frameWidth);
1008 edgeRelDataFrame->setFrameWidth(frameWidth);
1009 TAZRelDataFrame->setFrameWidth(frameWidth);
1010 meanDataFrame->setFrameWidth(frameWidth);
1017 if (edgeDataFrame->shown()) {
1019 }
else if (edgeRelDataFrame->shown()) {
1021 }
else if (TAZRelDataFrame->shown()) {
1023 }
else if (meanDataFrame->shown()) {
1034 if (edgeDataFrame->shown()) {
1035 return edgeDataFrame;
1036 }
else if (edgeRelDataFrame->shown()) {
1037 return edgeRelDataFrame;
1038 }
else if (TAZRelDataFrame->shown()) {
1039 return TAZRelDataFrame;
1040 }
else if (meanDataFrame->shown()) {
1041 return meanDataFrame;
1057 if (ACChooserJunction) {
1058 delete ACChooserJunction;
1060 if (ACChooserEdges) {
1061 delete ACChooserEdges;
1063 if (ACChooserWalkingAreas) {
1064 delete ACChooserWalkingAreas;
1066 if (ACChooserRoutes) {
1067 delete ACChooserRoutes;
1069 if (ACChooserStops) {
1070 delete ACChooserStops;
1072 if (ACChooserVehicles) {
1073 delete ACChooserVehicles;
1075 if (ACChooserPersons) {
1076 delete ACChooserPersons;
1078 if (ACChooserContainers) {
1079 delete ACChooserContainers;
1082 delete ACChooserTLS;
1084 if (ACChooserAdditional) {
1085 delete ACChooserAdditional;
1088 delete ACChooserPOI;
1090 if (ACChooserPolygon) {
1091 delete ACChooserPolygon;
1093 if (ACChooserProhibition) {
1094 delete ACChooserProhibition;
1096 if (ACChooserWire) {
1097 delete ACChooserWire;
FXDEFMAP(GNEViewParent) GNEViewParentMap[]
@ MID_MAKESNAPSHOT
Make snapshot - button.
@ MID_HOTKEY_SHIFT_S_LOCATESTOP
Locate stop - button.
@ MID_HOTKEY_CTRL_Y_REDO
Undo.
@ MID_HOTKEY_CTRL_W_CLOSESIMULATION
Close simulation - ID.
@ MID_HOTKEY_SHIFT_O_LOCATEPOI
Locate poi - button.
@ MID_HOTKEY_SHIFT_A_LOCATEADDITIONAL
Locate additional structure - button.
@ MID_HOTKEY_SHIFT_R_LOCATEROUTE
Locate route - button.
@ MID_HOTKEY_SHIFT_W_LOCATEWALKINGAREA
Locate edge - button.
@ MID_HOTKEY_SHIFT_C_LOCATECONTAINER
Locate container - button.
@ MID_HOTKEY_SHIFT_V_LOCATEVEHICLE
Locate vehicle - button.
@ MID_HOTKEY_SHIFT_L_LOCATEPOLY
Locate polygons - button.
@ MID_HOTKEY_SHIFT_E_LOCATEEDGE
Locate edge - button.
@ MID_GNE_VIEWPARENT_FRAMEAREAWIDTH
Size of frame area updated.
@ MID_HOTKEY_SHIFT_P_LOCATEPERSON
Locate person - button.
@ MID_HOTKEY_SHIFT_J_LOCATEJUNCTION
Locate junction - button.
@ MID_HOTKEY_CTRL_Z_UNDO
Redo.
@ MID_HOTKEY_SHIFT_T_LOCATETLS
Locate TLS - button.
@ MID_GNE_TOOLBAREDIT_COMPUTEPATHMANAGER
compute path manager
#define GUIDesignButtonToolbar
little button with icon placed in navigation toolbar
#define GUIDesignFrameArea
#define GUIDesignVerticalSeparator
vertical separator
#define GUIDesignSplitter
#define GUIDesignViewnArea
design for view area
#define GUIDesignFramesAreaDefaultWidth
define the default frames area width
FXString gCurrentFolder
The folder used as last.
#define WRITE_MESSAGE(msg)
@ SUMO_TAG_ROUTE
begin/end of the description of a route
The main window of Netedit.
GNEUndoList * getUndoList()
get pointer to undoList
GNEApplicationWindowHelper::ToolbarsGrip & getToolbarsGrip()
get ToolbarsGrip
const GNETagProperties & getTagProperty() const
get tagProperty associated with this Attribute Carrier
const std::map< const GUIGlObject *, GNEWalkingArea * > & getWalkingAreas() const
get walkingAreas
const std::map< SumoXMLTag, std::map< const GUIGlObject *, GNEAdditional * > > & getAdditionals() const
get additionals
const std::map< std::string, GNEEdge * > & getEdges() const
map with the ID and pointer to edges of net
const std::map< std::string, GNEJunction * > & getJunctions() const
get junctions
const std::map< SumoXMLTag, std::map< const GUIGlObject *, GNEDemandElement * > > & getDemandElements() const
get demand elements
A NBNetBuilder extended by visualisation and editing capabilities.
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
get all attribute carriers used in this net
bool isShapeElement() const
return true if tag correspond to a shape
bool isTAZElement() const
return true if tag correspond to a TAZ element
long onUpdUndo(FXObject *, FXSelector, void *)
event after Undo
long onUpdRedo(FXObject *, FXSelector, void *)
event after Redo
GNENet * getNet() const
get the net object
GNEDialogACChooser * ACChooserWalkingAreas
pointer to ACChooser dialog used for locate walkingareas
GNEDialogACChooser * ACChooserStops
pointer to ACChooser dialog used for locate stops
GNEDialogACChooser * ACChooserEdges
pointer to ACChooser dialog used for locate edges
GNEDialogACChooser * ACChooserPolygon
pointer to ACChooser dialog used for locate Polygons
GNEDialogACChooser * ACChooserPOI
pointer to ACChooser dialog used for locate POIs
GNEDialogACChooser * ACChooserContainers
pointer to ACChooser dialog used for locate containers
GNEDialogACChooser * ACChooserRoutes
pointer to ACChooser dialog used for locate routes
GNEDialogACChooser * ACChooserJunction
pointer to ACChooser dialog used for locate junctions
GNEDialogACChooser * ACChooserWire
pointer to ACChooser dialog used for locate Wires
GNEDialogACChooser * ACChooserVehicles
pointer to ACChooser dialog used for locate vehicles
GNEDialogACChooser * ACChooserTLS
pointer to ACChooser dialog used for locate TLSs
GNEDialogACChooser * ACChooserProhibition
pointer to ACChooser dialog used for locate Prohibitions
GNEDialogACChooser * ACChooserPersons
pointer to ACChooser dialog used for locate persons
GNEDialogACChooser * ACChooserAdditional
pointer to ACChooser dialog used for locate additional
CommonFrames()
constructor
GNEMoveFrame * moveFrame
frame for move elements
GNEFrame * getCurrentShownFrame() const
get current common frame show
bool isCommonFrameShown() const
return true if at least there is a common frame shown
GNEDeleteFrame * deleteFrame
frame for delete elements
void buildCommonFrames(GNEViewParent *viewParent, GNEViewNet *viewNet)
build common frames
GNESelectorFrame * selectorFrame
frame for select elements
void hideCommonFrames()
hide common frames
GNEInspectorFrame * inspectorFrame
frame for inspect elements
void setCommonFramesWidth(int frameWidth)
set new width in all common frames
GNEEdgeDataFrame * edgeDataFrame
frame for DATA_EDGEDATA
void setDataFramesWidth(int frameWidth)
set new width in all data frames
GNEFrame * getCurrentShownFrame() const
get current data frame show
GNETAZRelDataFrame * TAZRelDataFrame
frame for DATA_TAZRELDATA
GNEEdgeRelDataFrame * edgeRelDataFrame
frame for DATA_EDGERELDATA
bool isDataFrameShown() const
return true if at least there is a data frame shown
void hideDataFrames()
hide data frames
void buildDataFrames(GNEViewParent *viewParent, GNEViewNet *viewNet)
build data frames
GNEMeanDataFrame * meanDataFrame
frame for DATA_MEANDATA
GNEPersonFrame * personFrame
frame for DEMAND_PERSON
DemandFrames()
constructor
GNERouteDistributionFrame * routeDistributionFrame
frame for DEMAND_ROUTEDISTRIBUTION
GNEStopFrame * stopFrame
frame for DEMAND_STOP
GNERouteFrame * routeFrame
frame for DEMAND_ROUTE
GNEContainerFrame * containerFrame
frame for DEMAND_CONTAINER
GNETypeDistributionFrame * typeDistributionFrame
frame for DEMAND_TYPEDISTRIBUTION
GNEContainerPlanFrame * containerPlanFrame
frame for DEMAND_CONTAINERPLAN
GNEVehicleFrame * vehicleFrame
frame for DEMAND_VEHICLE
GNEFrame * getCurrentShownFrame() const
get current demand frame show
void setDemandFramesWidth(int frameWidth)
set new width in all demand frames
void buildDemandFrames(GNEViewParent *viewParent, GNEViewNet *viewNet)
build demand frames
GNEPersonPlanFrame * personPlanFrame
frame for DEMAND_PERSONPLAN
GNETypeFrame * typeFrame
frame for DEMAND_TYPE
bool isDemandFrameShown() const
return true if at least there is a demand frame shown
void hideDemandFrames()
hide demand frames
GNEAdditionalFrame * additionalFrame
frame for NETWORK_ADDITIONAL
NetworkFrames()
constructor
bool isNetworkFrameShown() const
return true if at least there is a network frame shown
GNECrossingFrame * crossingFrame
frame for NETWORK_CROSSING
GNEDecalFrame * decalFrame
frame for NETWORK_DECAL
GNEConnectorFrame * connectorFrame
frame for NETWORK_CONNECT
GNECreateEdgeFrame * createEdgeFrame
frame for NETWORK_CREATEDGE
GNEProhibitionFrame * prohibitionFrame
frame for NETWORK_PROHIBITION
GNEShapeFrame * polygonFrame
frame for NETWORK_SHAPE
GNETAZFrame * TAZFrame
frame for NETWORK_TAZ
GNETLSEditorFrame * TLSEditorFrame
frame for NETWORK_TLS
GNEFrame * getCurrentShownFrame() const
get current network frame show
GNEWireFrame * wireFrame
frame for NETWORK_WIRE
void hideNetworkFrames()
hide network frames
void setNetworkFramesWidth(int frameWidth)
set new width in all network frames
void buildNetworkFrames(GNEViewParent *viewParent, GNEViewNet *viewNet)
build network frames
A single child window which contains a view of the simulation area.
long onCmdMakeSnapshot(FXObject *sender, FXSelector, void *)
GNECrossingFrame * getCrossingFrame() const
get frame for NETWORK_CROSSING
GUIMainWindow * getGUIMainWindow() const
get GUIMainWindow App
GNEConnectorFrame * getConnectorFrame() const
get frame for NETWORK_CONNECT
GNEStopFrame * getStopFrame() const
get frame for DEMAND_STOP
void updateUndoRedoButtons()
update toolbar undo/redo buttons (called when user press Ctrl+Z/Y)
long onCmdUpdateFrameAreaWidth(FXObject *, FXSelector, void *)
Called when user change the splitter between FrameArea and ViewNet.
GNEProhibitionFrame * getProhibitionFrame() const
get frame for NETWORK_PROHIBITION
long onKeyPress(FXObject *o, FXSelector sel, void *data)
Called when user press a key.
GNEPersonPlanFrame * getPersonPlanFrame() const
get frame for DEMAND_PERSONFRAME
DemandFrames myDemandFrames
struct for demand frames
MFXButtonTooltip * myUndoButton
toolbar undo button
GNEMeanDataFrame * getMeanDataFrame() const
get frame for DATA_TAZRELDATA
GNEShapeFrame * getShapeFrame() const
get frame for NETWORK_SHAPE
void setFrameAreaWidth(const int frameAreaWith)
set frame area width
GNETAZRelDataFrame * getTAZRelDataFrame() const
get frame for DATA_TAZRELDATA
GNEMoveFrame * getMoveFrame() const
get frame for move elements
long onCmdClose(FXObject *, FXSelector, void *)
Called when the user hits the close button (x)
GNESelectorFrame * getSelectorFrame() const
get frame for select elements
GNEContainerPlanFrame * getContainerPlanFrame() const
get frame for DEMAND_CONTAINERFRAME
void hideFramesArea()
hide frames area if all GNEFrames are hidden
GNEEdgeDataFrame * getEdgeDataFrame() const
get frame for DATA_EDGEDATA
GNEDeleteFrame * getDeleteFrame() const
get frame for delete elements
NetworkFrames myNetworkFrames
struct for network frames
GNETypeDistributionFrame * getTypeDistributionFrame() const
get frame for DEMAND_TYPEDISTRIBUTION
ACChoosers myACChoosers
struct for ACChoosers
GNEVehicleFrame * getVehicleFrame() const
get frame for DEMAND_VEHICLE
void showFramesArea()
show frames area if at least a GNEFrame is showed
GNEDecalFrame * getDecalFrame() const
get frame for NETWORK_DECAL
void hideAllFrames()
hide all frames
GNETypeFrame * getTypeFrame() const
get frame for DEMAND_TYPE
FXVerticalFrame * myFramesArea
frame to hold GNEFrames
GNETAZFrame * getTAZFrame() const
get frame for NETWORK_TAZ
GNETLSEditorFrame * getTLSEditorFrame() const
get frame for NETWORK_TLS
CommonFrames myCommonFrames
struct for common frames
GNEApplicationWindow * getGNEAppWindows() const
get GNE Application Windows
DataFrames myDataFrames
struct for data frames
GNEContainerFrame * getContainerFrame() const
get frame for DEMAND_CONTAINER
GNEAdditionalFrame * getAdditionalFrame() const
get frame for NETWORK_ADDITIONAL
GNERouteDistributionFrame * getRouteDistributionFrame() const
get frame for DEMAND_ROUTEDISTRIBUTION
GNEWireFrame * getWireFrame() const
get frame for NETWORK_WIRE
FXVerticalFrame * getFramesArea() const
get frame area
GNEPersonFrame * getPersonFrame() const
get frame for DEMAND_PERSON
void eraseACChooserDialog(GNEDialogACChooser *chooserDialog)
remove created chooser dialog
GNEInspectorFrame * getInspectorFrame() const
get frame for inspect elements
GNEApplicationWindow * myGNEAppWindows
pointer to GNEApplicationWindow
GNEEdgeRelDataFrame * getEdgeRelDataFrame() const
get frame for DATA_EDGERELDATA
MFXButtonTooltip * myRedoButton
toolbar redo button
GNECreateEdgeFrame * getCreateEdgeFrame() const
get frame for NETWORK_CREATEEDGE
int getFrameAreaWidth() const
get frame area width
GNERouteFrame * getRouteFrame() const
get frame for DEMAND_ROUTE
GNEFrame * getCurrentShownFrame() const
get current frame (note: it can be null)
long onCmdLocate(FXObject *, FXSelector, void *)
locator-callback
~GNEViewParent()
Destructor.
long onKeyRelease(FXObject *o, FXSelector sel, void *data)
Called when user releases a key.
GUIMainWindow * myGUIMainWindowParent
FOX needs this.
virtual void create()
create GUIGlChildWindow
GUISUMOAbstractView * myView
The view.
FXPopup * myLocatorPopup
The locator menu.
MFXMenuButtonTooltip * myLocatorButton
The locator button.
static FXIcon * getIcon(const GUIIcon which)
returns a icon previously defined in the enum GUIIcon
void removeGLChild(GUIGlChildWindow *child)
removes the given child window from the list (GUIGlChildWindow)
std::string makeSnapshot(const std::string &destFile, const int w=-1, const int h=-1)
Takes a snapshots and writes it into the given file.
virtual long onKeyPress(FXObject *o, FXSelector sel, void *data)
keyboard functions
virtual long onKeyRelease(FXObject *o, FXSelector sel, void *data)
static FXbool userPermitsOverwritingWhenFileExists(FXWindow *const parent, const FXString &file)
Returns true if either the file given by its name does not exist or the user allows overwriting it.
static const std::vector< SumoXMLTag > stops
vehicle stops namespace
static const std::vector< SumoXMLTag > vehicles
vehicles namespace
static const std::vector< SumoXMLTag > POIs
POIs namespace.
static const std::vector< SumoXMLTag > persons
persons namespace
static const std::vector< SumoXMLTag > polygons
polygon namespace
static const std::vector< SumoXMLTag > containers
containers namespace