Eclipse SUMO - Simulation of Urban MObility
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 More...
 
 SizePanel (FXMatrix *parent, GUIDialog_ViewSettings *target, const GUIVisualizationSizeSettings &settings, GUIGlObjectType type)
 FOX Declaration. More...
 
void update (const GUIVisualizationSizeSettings &settings)
 update More...
 
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 More...
 
FXCheckButton * myCheckSelected = nullptr
 check selected button More...
 
FXRealSpinner * myExaggerateDial = nullptr
 exaggerate dial More...
 
FXRealSpinner * myMinSizeDial = nullptr
 min size dial More...
 

Private Attributes

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

Detailed Description

SizePanel.

Definition at line 88 of file GUIDialog_ViewSettings.h.

Constructor & Destructor Documentation

◆ SizePanel()

Member Function Documentation

◆ getSettings()

GUIVisualizationSizeSettings GUIDialog_ViewSettings::SizePanel::getSettings ( )

get settings

Definition at line 1725 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 1743 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 1734 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 117 of file GUIDialog_ViewSettings.h.

Referenced by SizePanel().

◆ myCheckSelected

FXCheckButton* GUIDialog_ViewSettings::SizePanel::myCheckSelected = nullptr

check selected button

Definition at line 120 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 128 of file GUIDialog_ViewSettings.h.

◆ myExaggerateDial

FXRealSpinner* GUIDialog_ViewSettings::SizePanel::myExaggerateDial = nullptr

exaggerate dial

Definition at line 114 of file GUIDialog_ViewSettings.h.

Referenced by SizePanel().

◆ myMinSizeDial

FXRealSpinner* GUIDialog_ViewSettings::SizePanel::myMinSizeDial = nullptr

min size dial

Definition at line 111 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 131 of file GUIDialog_ViewSettings.h.


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