Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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.
 ~GUITLLogicPhasesTrackerPanel ()
 Destructor.

Friends

class GUITLLogicPhasesTrackerWindow
 needed to update

FOX-callbacks

{

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

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 logical parent

Definition at line 69 of file GUITLLogicPhasesTrackerWindow.cpp.

References GUITLLogicPhasesTrackerPanel(), GUITLLogicPhasesTrackerWindow, and myParent.

Referenced by GUITLLogicPhasesTrackerPanel().

Here is the caller graph for this function:

◆ ~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().

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 myMousePos, and 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.

References myParent.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ GUITLLogicPhasesTrackerWindow

Field Documentation

◆ myMousePos

Position GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::myMousePos
private

Definition at line 183 of file GUITLLogicPhasesTrackerWindow.h.

Referenced by getMousePos(), and onMouseMove().

◆ myParent

GUITLLogicPhasesTrackerWindow* GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerPanel::myParent
private

The parent window.

Definition at line 181 of file GUITLLogicPhasesTrackerWindow.h.

Referenced by GUITLLogicPhasesTrackerPanel(), and onPaint().


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