|
Antares Simulator
Power System Simulator
|
Information about the Area for the UI. More...
#include <ui.h>
Public Member Functions | |
| AreaUI () | |
| Default constructor. | |
| ~AreaUI () | |
| Default constructor. | |
| void | reset () |
| (Re)Initialize all properties | |
| bool | loadFromFile (const AnyString &filename) |
| Load settings from an INI file. | |
| bool | saveToFile (const AnyString &filename, bool force=false) const |
| Save the settings into a file. More... | |
| bool | modified () const |
| Get if the structure has been modified. | |
| void | markAsModified () |
| Mark the structure as modified. | |
| void | rebuildCache () |
Public Attributes | |
| int | x |
| The X-Coordinate. | |
| std::map< size_t, int > | layerX |
| int | y |
| The Y-Coordinate. | |
| std::map< size_t, int > | layerY |
| int | color [3] |
| Color of the area (RGB) | |
| std::map< size_t, int[3]> | layerColor |
| Yuni::CString< 12, false > | cacheColorHSV |
| HSV color model (only computed from the interface) | |
| std::vector< size_t > | mapLayersVisibilityList |
| The list of layers this Node will appear on. | |
Information about the Area for the UI.
| bool Antares::Data::AreaUI::saveToFile | ( | const AnyString & | filename, |
| bool | force = false |
||
| ) | const |
Save the settings into a file.
| filename | Filename |
| force | True to not rely on the modifier flag |