16 #include <vrvUtil/DtVirtualBaseClass.h>
17 #include <vrvUtil/signalslib.h>
21 #include <vrvCore/DtObserverSettingsManager.h>
22 #include <vrvCore/DtSharedSettings.h>
23 #include <vrvUtil/event_signal.h>
24 #include <vrvUtil/DtUnicode.h>
26 #include <vrvCore/DtDe.h>
30 class DtRecordSettingsBackupInterface;
31 class DtEventQueueInterface;
32 class DtSharedSettingsManager;
37 const makVrv::DtObserverSettingsManager::ObserverSetting
DtVrfGuiRangeRingsShowType = makVrv::DtObserverSettingsManager::ObserverSetting(200);
49 friend class makVrv::DtSharedSettingsManager;
54 static std::string className();
59 virtual void setFill2D(
bool);
60 virtual bool fill2D()
const;
62 virtual void setShowRangeSphere(
bool);
63 virtual bool showRangeSphere()
const;
65 virtual void setShowWeaponNameLabel(
bool );
66 virtual bool showWeaponNameLabel()
const;
68 virtual void setShowEntityNameLabel(
bool );
69 virtual bool showEntityNameLabel()
const;
71 virtual void setShowRangeValueLabel(
bool );
72 virtual bool showRangeValueLabel()
const;
77 virtual void getColor(
int type,
int force,
float& r,
float& g,
float& b,
float& a, makVrv::DtUnicode&)
const;
78 virtual void setColor(
int type,
int color,
const makVrv::DtUnicode&);
79 virtual void removeColorOption(
int type);
85 virtual void colorFromForce(
int force,
float& r,
float& g,
float& b);
114 virtual void loadDefaults(
bool fromFactory =
false);
117 virtual void saveAsDefaults();
119 const makVrv::DtRecordSettingsBackupInterface* settingsBackup()
const
121 return mySettingsBackup;
124 makVrv::DtRecordSettingsBackupInterface* settingsBackup()
126 return mySettingsBackup;
130 void exportSettings(
const std::string& fileName);
133 void importSettings(
const std::string& fileName);
135 void setAutoSave(
bool b);
136 bool autoSave()
const;
141 virtual void setFill2D(
bool b);
142 virtual bool fill2D()
const;
144 virtual void setShowRangeSphere(
bool onOff );
145 virtual bool showRangeSphere()
const;
147 virtual void setShowWeaponNameLabel(
bool );
148 virtual bool showWeaponNameLabel()
const;
150 virtual void setShowEntityNameLabel(
bool );
151 virtual bool showEntityNameLabel()
const;
153 virtual void setShowRangeValueLabel(
bool );
154 virtual bool showRangeValueLabel()
const;
158 virtual void getColor(
int type,
int force,
float& r,
float& g,
float& b,
float& a, makVrv::DtUnicode&)
const;
159 virtual void setColor(
int type,
int color,
const makVrv::DtUnicode&);
161 virtual void removeColorOption(
int type);
164 virtual void completeSetup();
190 makVrv::DtEventQueueInterface*);