9 #include <boost/serialization/access.hpp>
10 #include <boost/serialization/nvp.hpp>
11 #include <boost/serialization/list.hpp>
12 #include <boost/serialization/map.hpp>
13 #include <boost/serialization/vector.hpp>
14 #include <boost/serialization/string.hpp>
42 return !( *
this == rhs );
49 void setRangeLinesVisible(
bool enabled );
51 bool rangeLinesVisible()
const;
54 void setColor(
float r,
float g,
float b,
float a );
56 void color(
float& r,
float& g,
float& b,
float& a )
const;
59 void setRangeInfoLabelBackgroundColor(
float r,
float g,
float b,
float a );
61 void rangeInfoLabelBackgroundColor(
float& r,
float& g,
float& b,
float& a )
const;
64 void setFontColor(
float r,
float g,
float b,
float a );
66 void fontColor(
float& r,
float& g,
float& b,
float& a )
const;
69 void setFontSize(
int);
74 void setLineWidth(
int);
76 int lineWidth()
const;
79 void setHatLinesEnabled(
bool hatEnabled );
81 bool hatLinesEnabled()
const;
84 void setHatLinesOnSelectionOnly(
bool selOnly );
86 bool hatLinesOnSelectionOnly()
const;
92 friend class boost::serialization::access;
97 template<
class Archive>
98 void serialize(Archive & ar,
const unsigned int version)
100 ar & BOOST_SERIALIZATION_NVP(myColorR);
101 ar & BOOST_SERIALIZATION_NVP(myColorG);
102 ar & BOOST_SERIALIZATION_NVP(myColorB);
103 ar & BOOST_SERIALIZATION_NVP(myColorA);
104 ar & BOOST_SERIALIZATION_NVP(myLineWidth);
105 ar & BOOST_SERIALIZATION_NVP(myHatLinesEnabled);
106 ar & BOOST_SERIALIZATION_NVP(myHatLinesOnSelectionOnly);
108 ar & BOOST_SERIALIZATION_NVP(myFontColorR);
109 ar & BOOST_SERIALIZATION_NVP(myFontColorG);
110 ar & BOOST_SERIALIZATION_NVP(myFontColorB);
111 ar & BOOST_SERIALIZATION_NVP(myFontColorA);
112 ar & BOOST_SERIALIZATION_NVP( myFontSize );
114 ar & BOOST_SERIALIZATION_NVP( myRangeInfoLabelBackgroundColorR );
115 ar & BOOST_SERIALIZATION_NVP( myRangeInfoLabelBackgroundColorG );
116 ar & BOOST_SERIALIZATION_NVP( myRangeInfoLabelBackgroundColorB );
117 ar & BOOST_SERIALIZATION_NVP( myRangeInfoLabelBackgroundColorA );
119 ar & BOOST_SERIALIZATION_NVP( myRangeLinesEnabled );
int myLineWidth
Definition: rangeLineSettingsRecord.h:131
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 2)
Record class for Range Line settings.
Definition: rangeLineSettingsRecord.h:20
float myRangeInfoLabelBackgroundColorR
Definition: rangeLineSettingsRecord.h:126
int myFontSize
Definition: rangeLineSettingsRecord.h:130
bool myRangeLinesEnabled
Definition: rangeLineSettingsRecord.h:129
bool myHatLinesEnabled
Definition: rangeLineSettingsRecord.h:133
float myColorR
Definition: rangeLineSettingsRecord.h:123
float myFontColorR
Definition: rangeLineSettingsRecord.h:124
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the & operator is defined similar to <<...
Definition: rangeLineSettingsRecord.h:98
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
float myRangeInfoLabelBackgroundColorB
Definition: rangeLineSettingsRecord.h:127
float myBackgroundColorR
Definition: rangeLineSettingsRecord.h:125
bool myHatLinesOnSelectionOnly
Definition: rangeLineSettingsRecord.h:134