20 #ifndef GNEViewParent_h 21 #define GNEViewParent_h 96 FXIcon* ic =
nullptr, FXuint opts = 0, FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0);
184 long onCmdClose(FXObject*, FXSelector,
void*);
190 long onKeyPress(FXObject* o, FXSelector sel,
void* data);
193 long onKeyRelease(FXObject* o, FXSelector sel,
void* data);
GNETAZFrame * getTAZFrame() const
get frame for GNE_NMODE_TAZ
GNEConnectorFrame * connectorFrame
frame for GNE_NMODE_CONNECT
GNEInspectorFrame * getInspectorFrame() const
get frame for GNE_NMODE_INSPECT
GNEApplicationWindow * myGNEAppWindows
pointer to GNEApplicationWindow
long onKeyPress(FXObject *o, FXSelector sel, void *data)
Called when user press a key.
void hideFramesArea()
hide frames area if all GNEFrames are hidden
~GNEViewParent()
Destructor.
Frames myFrames
struct for frames
GNETLSEditorFrame * TLSEditorFrame
frame for GNE_NMODE_TLS
GNEVehicleFrame * vehicleFrame
frame for GNE_DMODE_VEHICLE
The main window of the Netedit.
GNEVehicleTypeFrame * getVehicleTypeFrame() const
get frame for GNE_DMODE_VEHICLETYPE
GNEAdditionalFrame * additionalFrame
frame for GNE_NMODE_ADDITIONAL
GNEProhibitionFrame * prohibitionFrame
frame for GNE_NMODE_PROHIBITION
GNEPersonFrame * getPersonFrame() const
get frame for GNE_DMODE_PERSON
bool isFrameShown() const
return true if at least there is a frame shown
GNEPersonFrame * personFrame
frame for GNE_DMODE_PERSON
void showFramesArea()
show frames area if at least a GNEFrame is showed
GNEStopFrame * getStopFrame() const
get frame for GNE_DMODE_STOP
FXHorizontalFrame * myViewArea
frame to hold myView and myAttributePanel
long onCmdLocate(FXObject *, FXSelector, void *)
locator-callback
long onKeyRelease(FXObject *o, FXSelector sel, void *data)
Called when user releases a key.
A NBNetBuilder extended by visualisation and editing capabilities.
GNEVehicleTypeFrame * vehicleTypeFrame
frame for GNE_DMODE_VEHICLETYPE
GNEProhibitionFrame * getProhibitionFrame() const
get frame for GNE_NMODE_PROHIBITION
GNEPersonTypeFrame * getPersonTypeFrame() const
get frame for GNE_DMODE_PERSONTYPE
GNEPersonTypeFrame * personTypeFrame
frame for GNE_DMODE_PERSONTYPE
GNEPersonPlanFrame * personPlanFrame
frame for GNE_DMODE_PERSONPLAN
GNEPolygonFrame * getPolygonFrame() const
get frame for GNE_NMODE_POLYGON
GNECreateEdgeFrame * createEdgeFrame
frame for GNE_NMODE_CREATEDGE
A single child window which contains a view of the simulation area.
GNETLSEditorFrame * getTLSEditorFrame() const
get frame for GNE_NMODE_TLS
ACChoosers myACChoosers
struct for ACChoosers
GNEAdditionalFrame * getAdditionalFrame() const
get frame for GNE_NMODE_ADDITIONAL
FXSplitter * myFramesSplitter
Splitter to divide ViewNet und GNEFrames.
long onCmdUpdateFrameAreaWidth(FXObject *, FXSelector, void *)
Called when user change the splitter between FrameArea and ViewNet.
GNEStopFrame * stopFrame
frame for GNE_DMODE_STOP
GNEDialogACChooser * ACChooserRoutes
pointer to ACChooser dialog used for locate routes
GNEViewParent()
FOX needs this.
GNEDialogACChooser * ACChooserStops
pointer to ACChooser dialog used for locate stops
GNEFrame * getCurrentShownFrame() const
get current frame (note: it can be null)
GNEApplicationWindow * getGNEAppWindows() const
get GNE Application Windows
GNEVehicleFrame * getVehicleFrame() const
get frame for GNE_DMODE_VEHICLE
GNEDialogACChooser * ACChooserProhibition
pointer to ACChooser dialog used for locate Prohibitions
GNEDialogACChooser * ACChooserEdges
pointer to ACChooser dialog used for locate edges
GUIMainWindow * getGUIMainWindow() const
get GUIMainWindow App
GNESelectorFrame * getSelectorFrame() const
get frame for GNE_NMODE_SELECT
GNEPersonPlanFrame * getPersonPlanFrame() const
get frame for GNE_DMODE_PERSONFRAME
GNECreateEdgeFrame * getCreateEdgeFrame() const
get frame for GNE_NMODE_CREATEEDGE
GNEDialogACChooser * ACChooserPolygon
pointer to ACChooser dialog used for locate Polygons
GNECrossingFrame * crossingFrame
frame for GNE_NMODE_CROSSING
GNEPolygonFrame * polygonFrame
frame for GNE_NMODE_POLYGON
FXHorizontalFrame * myFramesArea
frame to hold GNEFrames
long onCmdClose(FXObject *, FXSelector, void *)
Called when the user hits the close button (x)
GNEFrame * getCurrentShownFrame() const
get current frame show
GNEInspectorFrame * inspectorFrame
frame for GNE_NMODE_INSPECT
GNEConnectorFrame * getConnectorFrame() const
get frame for GNE_NMODE_CONNECT
GNECrossingFrame * getCrossingFrame() const
get frame for GNE_NMODE_CROSSING
GNERouteFrame * routeFrame
frame for GNE_DMODE_ROUTE
GNEDialogACChooser * ACChooserJunction
pointer to ACChooser dialog used for locate junctions
GNEDeleteFrame * getDeleteFrame() const
get frame for GNE_NMODE_DELETE
struct for ACChoosers dialog
void hideAllFrames()
hide all frames
GNEDialogACChooser * ACChooserVehicles
pointer to ACChooser dialog used for locate vehicles
GNEDialogACChooser * ACChooserTLS
pointer to ACChooser dialog used for locate TLSs
GNERouteFrame * getRouteFrame() const
get frame for GNE_DMODE_ROUTE
void eraseACChooserDialog(GNEDialogACChooser *chooserDialog)
remove created chooser dialog
GNESelectorFrame * selectorFrame
frame for GNE_NMODE_SELECT
GNETAZFrame * TAZFrame
frame for GNE_NMODE_TAZ
GNEDialogACChooser * ACChooserPOI
pointer to ACChooser dialog used for locate POIs
GNEDeleteFrame * deleteFrame
frame for GNE_NMODE_DELETE
void setWidth(int frameWidth)
set new width in all frames
long onCmdMakeSnapshot(FXObject *sender, FXSelector, void *)
void hideFrames()
hide frames
GNEDialogACChooser * ACChooserAdditional
pointer to ACChooser dialog used for locate additional