/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file GUICursorSubSys.h14/// @author Pablo Alvarez Lopez15/// @date Nov 201816///17// A class to manage icons of SUMO18/****************************************************************************/19#pragma once20#include <config.h>2122#include <utils/foxtools/fxheader.h>23#include <map>2425#include "GUICursors.h"262728// ===========================================================================29// class definitions30// ===========================================================================31class GUICursorSubSys {32public:33/**@brief Initiate GUICursorSubSys34* @param[in] a FOX Toolkit APP35*/36static void initCursors(FXApp* a);3738/**@brief returns a cursor previously defined in the enum GUICursor39* @param[in] which GUICursor enum40*/41static FXCursor* getCursor(GUICursor which);4243/// @brief close GUICursorSubSys44static void close();4546private:47/// @brief constructor is private because is called by the static function init(FXApp* a)48GUICursorSubSys(FXApp* a);4950/// @brief destructor51~GUICursorSubSys();5253/// @brief instance of GUICursorSubSys54static GUICursorSubSys* myInstance;5556/// @brief vector with the icons57std::map<GUICursor, FXCursor*> myCursors;58};596061