21 #ifndef __ANTARES_TOOLBOX_MAP_PANEL_INFOS_H__
22 #define __ANTARES_TOOLBOX_MAP_PANEL_INFOS_H__
26 #include "nodes/item.h"
27 #include <wx/clrpicker.h>
28 #include <wx/checkbox.h>
30 namespace Antares::Map
44 idChangeColor = 10000,
77 bool listIsEquals(
const ItemList& list)
const;
82 wxBoxSizer* createColorPicker(
const wxColour& color);
87 void countItemSpecies(
const ItemList& list,
int& nodes,
int& connections)
const;
92 wxColour findCommonColour(
const ItemList& list)
const;
97 wxCheckBoxState findConnectionOrientation(
const ItemList& list)
const;
99 void onChangeColor(wxColourPickerEvent& evt);
100 void onChangeToDefaultColor(wxCommandEvent& evt);
101 void onChangeOrientation(wxCommandEvent& evt);
102 void onChangeAreaName(wxCommandEvent& evt);
104 void layoutAddTitle(
const wxString& title);
107 void layoutNoSelection();
109 void layoutPropertiesForNodes(
const int nodeCount);
111 void layoutPropertiesForConnections(
const int connectionCount);
113 void layoutFiltersForNodes(
const int nodeCount);
115 void layoutFiltersForConnections(
const int connectionCount);
125 wxColourPickerCtrl* pColorPicker;
128 DECLARE_EVENT_TABLE()
Informations about the selected items on the map.
Definition: infos.h:36
PanelInfos(wxWindow *parent)
Default constructor.
Definition: infos.cpp:65
void refresh(ItemList &newList, const bool force=false)
Refresh all information about a list of nodes.
Definition: infos.cpp:385
IDs
IDs.
Definition: infos.h:43
std::vector< Item * > ItemList
List of item.
Definition: infos.h:39
virtual ~PanelInfos()
Destructor.
Definition: infos.cpp:75