![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct used to group all variables related to view options in all supermodes More...
#include <GNEViewNetHelper.h>
Public Member Functions | |
void | buildCommonViewOptionsMenuChecks () |
build menu checks More... | |
CommonViewOptions (GNEViewNet *viewNet) | |
default constructor More... | |
void | getVisibleCommonMenuCommands (std::vector< FXMenuCheck *> &commands) const |
get visible common menu commands More... | |
void | hideCommonViewOptionsMenuChecks () |
hide all options menu checks More... | |
Data Fields | |
FXMenuCheck * | menuCheckShowGrid |
menu check to show grid button More... | |
Private Member Functions | |
CommonViewOptions (const CommonViewOptions &)=delete | |
Invalidated copy constructor. More... | |
CommonViewOptions & | operator= (const CommonViewOptions &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
GNEViewNet * | myViewNet |
pointer to viewNet More... | |
struct used to group all variables related to view options in all supermodes
Definition at line 335 of file GNEViewNetHelper.h.
GNEViewNetHelper::CommonViewOptions::CommonViewOptions | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 1431 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEViewNetHelper::CommonViewOptions::buildCommonViewOptionsMenuChecks | ( | ) |
build menu checks
Definition at line 1438 of file GNEViewNetHelper.cpp.
References GNEViewParent::getGNEAppWindows(), GNEApplicationWindow::getToolbarsGrip(), menuCheckShowGrid, MID_GNE_COMMONVIEWOPTIONS_SHOWGRID, GNEApplicationWindow::ToolbarsGrip::modeOptions, myViewNet, and GNEViewNet::myViewParent.
Referenced by GNEViewNet::buildEditModeControls().
void GNEViewNetHelper::CommonViewOptions::getVisibleCommonMenuCommands | ( | std::vector< FXMenuCheck *> & | commands | ) | const |
get visible common menu commands
Definition at line 1457 of file GNEViewNetHelper.cpp.
References menuCheckShowGrid.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
void GNEViewNetHelper::CommonViewOptions::hideCommonViewOptionsMenuChecks | ( | ) |
hide all options menu checks
Definition at line 1451 of file GNEViewNetHelper.cpp.
References menuCheckShowGrid.
Referenced by GNEViewNet::updateNetworkModeSpecificControls().
|
privatedelete |
Invalidated assignment operator.
FXMenuCheck* GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid |
menu check to show grid button
Definition at line 350 of file GNEViewNetHelper.h.
Referenced by buildCommonViewOptionsMenuChecks(), GNEViewNet::doPaintGL(), getVisibleCommonMenuCommands(), hideCommonViewOptionsMenuChecks(), GNEApplicationWindow::onCmdToogleEditOptions(), GNEApplicationWindow::onCmdToogleGrid(), GNEViewNet::onCmdToogleShowGrid(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
private |
pointer to viewNet
Definition at line 354 of file GNEViewNetHelper.h.
Referenced by buildCommonViewOptionsMenuChecks().