21 #ifndef __ANTARES_LIBS_STUDY_UI_H__
22 #define __ANTARES_LIBS_STUDY_UI_H__
26 #include <yuni/yuni.h>
27 #include <yuni/core/string.h>
29 namespace Antares::Data
62 bool saveToFile(
const AnyString& filename,
bool force =
false)
const;
79 std::map<size_t, int> layerX;
82 std::map<size_t, int> layerY;
86 std::map<size_t, int[3]> layerColor;
97 mutable bool pModified;
Information about the Area for the UI.
Definition: ui.h:35
~AreaUI()
Default constructor.
Definition: ui.h:41
bool loadFromFile(const AnyString &filename)
Load settings from an INI file.
Definition: ui.cpp:212
int y
The Y-Coordinate.
Definition: ui.h:81
int x
The X-Coordinate.
Definition: ui.h:78
void reset()
(Re)Initialize all properties
Definition: ui.cpp:195
std::vector< size_t > mapLayersVisibilityList
The list of layers this Node will appear on.
Definition: ui.h:93
bool modified() const
Get if the structure has been modified.
Definition: ui.cpp:364
int color[3]
Color of the area (RGB)
Definition: ui.h:85
void markAsModified()
Mark the structure as modified.
Definition: ui.cpp:369
bool saveToFile(const AnyString &filename, bool force=false) const
Save the settings into a file.
Definition: ui.cpp:311
Yuni::CString< 12, false > cacheColorHSV
HSV color model (only computed from the interface)
Definition: ui.h:90
AreaUI()
Default constructor.
Definition: ui.cpp:183