29 class DtRecordSettingsBackupInterface;
30 class DtEventQueueInterface;
31 class DtSharedSettingsManager;
53 static std::string className();
58 virtual void setFill2D(
bool);
59 virtual bool fill2D()
const;
61 virtual void setShowRangeSphere(
bool);
62 virtual bool showRangeSphere()
const;
64 virtual void setShowWeaponNameLabel(
bool );
65 virtual bool showWeaponNameLabel()
const;
67 virtual void setShowEntityNameLabel(
bool );
68 virtual bool showEntityNameLabel()
const;
70 virtual void setShowRangeValueLabel(
bool );
71 virtual bool showRangeValueLabel()
const;
73 virtual void setShowByDefault(
bool );
74 virtual bool showByDefault()
const;
76 virtual void setShowForSelected(
bool );
77 virtual bool showForSelected()
const;
79 virtual void setShowPhysicalFootprint(
bool );
80 virtual bool showPhysicalFootprint()
const;
82 virtual void setSphereOpacityModifier(
double);
83 virtual double sphereOpacityModifier()
const;
87 virtual void setAttackAnimationForRingEnabled(
const std::string&,
bool);
88 virtual bool attackAnimationForRingEnabled(
const std::string&)
const;
94 virtual bool getColor(
const std::string& type,
int force,
float& r,
float& g,
float& b,
float& a,
makVrv::DtUnicode&)
const;
95 virtual void setColor(
const std::string& type,
int color,
const makVrv::DtUnicode&);
96 virtual void removeColorOption(
const std::string& type);
102 virtual void addColorOptionIfMissing(
const std::string& option,
int color,
const makVrv::DtUnicode& label,
103 bool visible =
true);
107 virtual bool getColorByCategory(
const std::string& type,
int& color)
const;
110 virtual void setVisible(
const std::string& type,
bool);
111 virtual bool visible(
const std::string& type)
const;
112 virtual bool wasRequested(
const std::string&)
const;
114 virtual void setSectorSizeProperty(
const std::string&);
115 virtual const std::string& sectorSizeProperty()
const;
117 virtual bool hasNewOptions()
const;
118 virtual void getAndClearOptions(std::set<std::string>& newOptions, std::set<std::string>& newOptionsRequested);
121 virtual void colorFromForce(
int force,
float& r,
float& g,
float& b);
163 virtual void loadDefaults(
bool fromFactory =
false);
166 virtual void saveAsDefaults();
170 return mySettingsBackup;
175 return mySettingsBackup;
179 void exportSettings(
const std::string& fileName);
182 void importSettings(
const std::string& fileName);
184 void setAutoSave(
bool b);
185 bool autoSave()
const;
190 virtual void setFill2D(
bool b);
191 virtual bool fill2D()
const;
193 virtual void setShowRangeSphere(
bool onOff );
194 virtual bool showRangeSphere()
const;
196 virtual void setShowWeaponNameLabel(
bool );
197 virtual bool showWeaponNameLabel()
const;
199 virtual void setShowEntityNameLabel(
bool );
200 virtual bool showEntityNameLabel()
const;
202 virtual void setShowRangeValueLabel(
bool );
203 virtual bool showRangeValueLabel()
const;
205 virtual void setShowByDefault(
bool );
206 virtual bool showByDefault()
const;
208 virtual void setShowForSelected(
bool );
209 virtual bool showForSelected()
const;
211 virtual void setShowPhysicalFootprint(
bool );
212 virtual bool showPhysicalFootprint()
const;
214 virtual void setSphereOpacityModifier(
double);
215 virtual double sphereOpacityModifier()
const;
220 virtual bool getColor(
const std::string& type,
int force,
float& r,
float& g,
float& b,
float& a,
makVrv::DtUnicode&)
const;
221 virtual void setColor(
const std::string& type,
int color,
const makVrv::DtUnicode&);
222 virtual void setVisible(
const std::string& type,
bool);
223 virtual bool visible(
const std::string& type)
const;
227 virtual void setAttackAnimationForRingEnabled(
const std::string&,
bool);
228 virtual bool attackAnimationForRingEnabled(
const std::string&)
const;
230 virtual void removeColorOption(
const std::string& type);
231 virtual bool wasRequested(
const std::string&)
const;
234 virtual void addColorOptionIfMissing(
const std::string& option,
int color,
const makVrv::DtUnicode& label,
235 bool visible =
true);
239 virtual std::string sectorSizeProperty()
const;
240 virtual void setSectorSizeProperty(
const std::string&);
243 virtual void completeSetup();