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 1631 of file GUIDialog_ViewSettings.cpp.

Referenced by GUIDialog_ViewSettings::onCmdColorChange().

Here is the caller graph for this function:

◆ onCmdSizeChange()

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

Definition at line 1649 of file GUIDialog_ViewSettings.cpp.

References gPostDrawing, and GUIPostDrawing::recomputeBoundaries.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ update()

void GUIDialog_ViewSettings::SizePanel::update ( const GUIVisualizationSizeSettings settings)

update

Definition at line 1640 of file GUIDialog_ViewSettings.cpp.

References GUIVisualizationSizeSettings::constantSize, GUIVisualizationSizeSettings::constantSizeSelected, GUIVisualizationSizeSettings::exaggeration, and GUIVisualizationSizeSettings::minSize.

Referenced by GUIDialog_ViewSettings::onCmdNameChange().

Here is the caller graph for this function:

Field Documentation

◆ myCheck

FXCheckButton* GUIDialog_ViewSettings::SizePanel::myCheck = nullptr

check button

Definition at line 118 of file GUIDialog_ViewSettings.h.

Referenced by SizePanel().

◆ myCheckSelected

FXCheckButton* GUIDialog_ViewSettings::SizePanel::myCheckSelected = nullptr

check selected button

Definition at line 121 of file GUIDialog_ViewSettings.h.

Referenced by SizePanel().

◆ 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.

◆ myExaggerateDial

FXRealSpinner* GUIDialog_ViewSettings::SizePanel::myExaggerateDial = nullptr

exaggerate dial

Definition at line 115 of file GUIDialog_ViewSettings.h.

Referenced by SizePanel().

◆ myMinSizeDial

FXRealSpinner* GUIDialog_ViewSettings::SizePanel::myMinSizeDial = nullptr

min size dial

Definition at line 112 of file GUIDialog_ViewSettings.h.

Referenced by SizePanel().

◆ myType

GUIGlObjectType GUIDialog_ViewSettings::SizePanel::myType = GLO_NETWORK
private

GLObject type associated with this size.

Definition at line 132 of file GUIDialog_ViewSettings.h.


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