Eclipse SUMO - Simulation of Urban MObility
GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel Class Reference

The canvas for the visualisation of phases. More...

#include <GUITLLogicPhasesTrackerWindow.h>

Inheritance diagram for GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel:
[legend]
Collaboration diagram for GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel:
[legend]

Public Member Functions

 GUITLLogicPhasesTrackerPanel (FXComposite *c, GUIMainWindow &app, GUITLLogicPhasesTrackerWindow &parent)
 Constructor. More...
 
 ~GUITLLogicPhasesTrackerPanel ()
 Destructor. More...
 

Friends

class GUITLLogicPhasesTrackerWindow
 needed to update More...
 

FOX-callbacks

{

GUITLLogicPhasesTrackerWindowmyParent
 The parent window. More...
 
Position myMousePos
 
long onConfigure (FXObject *, FXSelector, void *)
 called on size change More...
 
long onPaint (FXObject *, FXSelector, void *)
 called if the widget shall be repainted More...
 
long onMouseMove (FXObject *, FXSelector, void *)
 called on mouse movement (for updating tooltip) More...
 
const PositiongetMousePos () const
 } More...
 
 GUITLLogicPhasesTrackerPanel ()
 protected constructor for FOX More...
 

Detailed Description

The canvas for the visualisation of phases.

The drawing itself id done by the parent.

Definition at line 144 of file GUITLLogicPhasesTrackerWindow.h.

Constructor & Destructor Documentation

◆ GUITLLogicPhasesTrackerPanel() [1/2]

GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::GUITLLogicPhasesTrackerPanel ( FXComposite *  c,
GUIMainWindow app,
GUITLLogicPhasesTrackerWindow parent 
)

Constructor.

Parameters
[in]cThe container for this panel
[in]appThe main application window
[in]parentThis panel's logial parent

Definition at line 69 of file GUITLLogicPhasesTrackerWindow.cpp.

◆ ~GUITLLogicPhasesTrackerPanel()

GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::~GUITLLogicPhasesTrackerPanel ( )

Destructor.

Definition at line 77 of file GUITLLogicPhasesTrackerWindow.cpp.

◆ GUITLLogicPhasesTrackerPanel() [2/2]

GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::GUITLLogicPhasesTrackerPanel ( )
inlineprotected

protected constructor for FOX

Definition at line 187 of file GUITLLogicPhasesTrackerWindow.h.

Member Function Documentation

◆ getMousePos()

const Position & GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::getMousePos ( ) const
inline

}

Definition at line 175 of file GUITLLogicPhasesTrackerWindow.h.

References myMousePos.

Referenced by GUITLLogicPhasesTrackerWindow::drawAdditionalStates().

Here is the caller graph for this function:

◆ onConfigure()

long GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::onConfigure ( FXObject *  ,
FXSelector  ,
void *   
)

called on size change

Definition at line 81 of file GUITLLogicPhasesTrackerWindow.cpp.

Referenced by FXDEFMAP(), and GUITLLogicPhasesTrackerWindow::onConfigure().

Here is the caller graph for this function:

◆ onMouseMove()

long GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::onMouseMove ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

called on mouse movement (for updating tooltip)

Definition at line 136 of file GUITLLogicPhasesTrackerWindow.cpp.

References GUITLLogicPhasesTrackerWindow::onPaint().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onPaint()

long GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::onPaint ( FXObject *  ,
FXSelector  ,
void *   
)

called if the widget shall be repainted

Definition at line 104 of file GUITLLogicPhasesTrackerWindow.cpp.

Referenced by FXDEFMAP(), and GUITLLogicPhasesTrackerWindow::onPaint().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ GUITLLogicPhasesTrackerWindow

needed to update

Definition at line 159 of file GUITLLogicPhasesTrackerWindow.h.

Field Documentation

◆ myMousePos

Position GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::myMousePos
private

Definition at line 183 of file GUITLLogicPhasesTrackerWindow.h.

Referenced by getMousePos().

◆ myParent

GUITLLogicPhasesTrackerWindow* GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::myParent
private

The parent window.

Definition at line 181 of file GUITLLogicPhasesTrackerWindow.h.


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