Eclipse SUMO - Simulation of Urban MObility
|
#include <GUICursorSubSys.h>
Static Public Member Functions | |
static void | close () |
close GUICursorSubSys | |
static FXCursor * | getCursor (GUICursor which) |
returns a cursor previously defined in the enum GUICursor | |
static void | initCursors (FXApp *a) |
Initiate GUICursorSubSys. | |
Private Member Functions | |
GUICursorSubSys (FXApp *a) | |
constructor is private because is called by the static function init(FXApp* a) | |
~GUICursorSubSys () | |
destructor | |
Private Attributes | |
std::map< GUICursor, FXCursor * > | myCursors |
vector with the icons | |
Static Private Attributes | |
static GUICursorSubSys * | myInstance = nullptr |
instance of GUICursorSubSys | |
Definition at line 32 of file GUICursorSubSys.h.
|
private |
constructor is private because is called by the static function init(FXApp* a)
Definition at line 44 of file GUICursorSubSys.cpp.
References DEFAULT, Delete_cursor, DELETE_CURSOR, INSPECT, Inspect_cursor, INSPECT_LANE, InspectLane_cursor, MOVEELEMENT, MoveElement_cursor, MOVEVIEW, myCursors, SELECT, Select_cursor, SELECT_LANE, and SelectLane_cursor.
|
private |
destructor
Definition at line 67 of file GUICursorSubSys.cpp.
|
static |
close GUICursorSubSys
Definition at line 94 of file GUICursorSubSys.cpp.
References myInstance.
Referenced by GNEApplicationWindow::~GNEApplicationWindow(), and GUIApplicationWindow::~GUIApplicationWindow().
|
static |
returns a cursor previously defined in the enum GUICursor
[in] | which | GUICursor enum |
Definition at line 88 of file GUICursorSubSys.cpp.
References myCursors, and myInstance.
Referenced by GUISUMOAbstractView::onMiddleBtnPress(), GUISUMOAbstractView::onMiddleBtnRelease(), and GNEViewNet::updateCursor().
|
static |
Initiate GUICursorSubSys.
[in] | a | FOX Toolkit APP |
Definition at line 78 of file GUICursorSubSys.cpp.
References myInstance.
Referenced by GNEApplicationWindow::GNEApplicationWindow(), and GUIApplicationWindow::GUIApplicationWindow().
|
private |
vector with the icons
Definition at line 58 of file GUICursorSubSys.h.
Referenced by getCursor(), GUICursorSubSys(), and ~GUICursorSubSys().
|
staticprivate |
instance of GUICursorSubSys
Definition at line 55 of file GUICursorSubSys.h.
Referenced by close(), getCursor(), and initCursors().