Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIDialog_ViewSettings::SizePanel Class Reference

SizePanel. More...

#include <GUIDialog_ViewSettings.h>

Inheritance diagram for GUIDialog_ViewSettings::SizePanel:
[legend]
Collaboration diagram for GUIDialog_ViewSettings::SizePanel:
[legend]

Public Member Functions

GUIVisualizationSizeSettings getSettings ()
 get settings
 SizePanel (FXMatrix *parent, GUIDialog_ViewSettings *target, const GUIVisualizationSizeSettings &settings, GUIGlObjectType type)
 FOX Declaration.
void update (const GUIVisualizationSizeSettings &settings)
 update
FOX-callbacks

Called if something (color, width, etc.) has been changed

long onCmdSizeChange (FXObject *obj, FXSelector sel, void *ptr)

Data Fields

FXCheckButton * myCheck = nullptr
 check button
FXCheckButton * myCheckSelected = nullptr
 check selected button
FXRealSpinner * myExaggerateDial = nullptr
 exaggerate dial
FXRealSpinner * myMinSizeDial = nullptr
 min size dial

Private Attributes

GUIDialog_ViewSettingsmyDialogViewSettings = nullptr
 FOX needs this.
GUIGlObjectType myType = GLO_NETWORK
 GLObject type associated with this size.

Detailed Description

SizePanel.

Definition at line 89 of file GUIDialog_ViewSettings.h.

Constructor & Destructor Documentation

◆ SizePanel()

Member Function Documentation

◆ getSettings()

GUIVisualizationSizeSettings GUIDialog_ViewSettings::SizePanel::getSettings ( )

get settings

Definition at line 1755 of file GUIDialog_ViewSettings.cpp.

References myCheck, myCheckSelected, myExaggerateDial, and myMinSizeDial.

◆ onCmdSizeChange()

long GUIDialog_ViewSettings::SizePanel::onCmdSizeChange ( FXObject * obj,
FXSelector sel,
void * ptr )

Definition at line 1773 of file GUIDialog_ViewSettings.cpp.

References gViewObjectsHandler, myDialogViewSettings, and myType.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ update()

Field Documentation

◆ myCheck

FXCheckButton* GUIDialog_ViewSettings::SizePanel::myCheck = nullptr

check button

Definition at line 118 of file GUIDialog_ViewSettings.h.

Referenced by getSettings(), SizePanel(), and update().

◆ myCheckSelected

FXCheckButton* GUIDialog_ViewSettings::SizePanel::myCheckSelected = nullptr

check selected button

Definition at line 121 of file GUIDialog_ViewSettings.h.

Referenced by getSettings(), SizePanel(), and update().

◆ myDialogViewSettings

GUIDialog_ViewSettings* GUIDialog_ViewSettings::SizePanel::myDialogViewSettings = nullptr
private

FOX needs this.

pointer to dialog viewSettings

Definition at line 129 of file GUIDialog_ViewSettings.h.

Referenced by onCmdSizeChange(), and SizePanel().

◆ myExaggerateDial

FXRealSpinner* GUIDialog_ViewSettings::SizePanel::myExaggerateDial = nullptr

exaggerate dial

Definition at line 115 of file GUIDialog_ViewSettings.h.

Referenced by getSettings(), SizePanel(), and update().

◆ myMinSizeDial

FXRealSpinner* GUIDialog_ViewSettings::SizePanel::myMinSizeDial = nullptr

min size dial

Definition at line 112 of file GUIDialog_ViewSettings.h.

Referenced by getSettings(), SizePanel(), and update().

◆ myType

GUIGlObjectType GUIDialog_ViewSettings::SizePanel::myType = GLO_NETWORK
private

GLObject type associated with this size.

Definition at line 132 of file GUIDialog_ViewSettings.h.

Referenced by onCmdSizeChange(), and SizePanel().


The documentation for this class was generated from the following files: