Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Data::AreaUI Class Referencefinal

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.
 
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.
 

Detailed Description

Information about the Area for the UI.

Member Function Documentation

◆ saveToFile()

bool Antares::Data::AreaUI::saveToFile ( const AnyString & filename,
bool force = false ) const

Save the settings into a file.

Parameters
filenameFilename
forceTrue to not rely on the modifier flag

The documentation for this class was generated from the following files: