![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GUICursorSubSys.h>
Static Public Member Functions | |
| static void | close () |
| close GUICursorSubSys More... | |
| static FXCursor * | getCursor (GUICursor which) |
| returns a cursor previously defined in the enum GUICursor More... | |
| static void | initCursors (FXApp *a) |
| Initiate GUICursorSubSys. More... | |
Private Member Functions | |
| GUICursorSubSys (FXApp *a) | |
| constructor is private because is called by the static function init(FXApp* a) More... | |
| ~GUICursorSubSys () | |
| destructor More... | |
Private Attributes | |
| std::map< GUICursor, FXCursor * > | myCursors |
| vector with the icons More... | |
Static Private Attributes | |
| static GUICursorSubSys * | myInstance = nullptr |
| instance of GUICursorSubSys More... | |
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.
Referenced by initCursors().
|
private |
|
static |
|
static |
returns a cursor previously defined in the enum GUICursor
| [in] | which | GUICursor enum |
Definition at line 86 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 76 of file GUICursorSubSys.cpp.
References GUICursorSubSys(), and 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().