21#ifndef __ANTARES_LIBS_STUDY_UI_H__
22#define __ANTARES_LIBS_STUDY_UI_H__
27#include <yuni/core/string.h>
64 bool saveToFile(
const AnyString& filename,
bool force =
false)
const;
81 std::map<size_t, int> layerX;
84 std::map<size_t, int> layerY;
88 std::map<size_t, int[3]> layerColor;
99 mutable bool pModified;
Information about the Area for the UI.
Definition ui.h:37
~AreaUI()
Default constructor.
Definition ui.h:43
bool loadFromFile(const AnyString &filename)
Load settings from an INI file.
Definition ui.cpp:214
int y
The Y-Coordinate.
Definition ui.h:83
int x
The X-Coordinate.
Definition ui.h:80
void reset()
(Re)Initialize all properties
Definition ui.cpp:197
std::vector< size_t > mapLayersVisibilityList
The list of layers this Node will appear on.
Definition ui.h:95
bool modified() const
Get if the structure has been modified.
Definition ui.cpp:366
int color[3]
Color of the area (RGB)
Definition ui.h:87
void markAsModified()
Mark the structure as modified.
Definition ui.cpp:371
bool saveToFile(const AnyString &filename, bool force=false) const
Save the settings into a file.
Definition ui.cpp:313
Yuni::CString< 12, false > cacheColorHSV
HSV color model (only computed from the interface)
Definition ui.h:92
AreaUI()
Default constructor.
Definition ui.cpp:185