Antares Simulator
Power System Simulator
|
Informations about the selected items on the map. More...
#include <infos.h>
Public Types | |
enum | IDs { idChangeColor = 10000 , idDefaultColor , idOrientation , idAreaName } |
IDs. | |
using | ItemList = std::vector<Item*> |
List of item. | |
Constructor & Destructor | |
PanelInfos (wxWindow *parent) | |
Default constructor. | |
virtual | ~PanelInfos () |
Destructor. | |
void | refresh (ItemList &newList, const bool force=false) |
Refresh all information about a list of nodes. | |
Informations about the selected items on the map.
Antares::Map::PanelInfos::PanelInfos | ( | wxWindow * | parent | ) |
Default constructor.
parent | The parent window |
void Antares::Map::PanelInfos::refresh | ( | PanelInfos::ItemList & | newList, |
const bool | force = false ) |
Refresh all information about a list of nodes.
The refresh will ionly occur if the list is not the same than the previous given one. This list should be a list of currently selected nodes.
newList | The new list of selected items |
force | True to force the refresh |