6 #include "CallbackCollection.h"
10 #include "ILabelOptionsModel.h"
35 const std::vector<std::string>& fontNames,
36 bool platformConfigLabelsEnabled,
42 void Update(
float dt);
46 void ToggleIdentifyStyle();
47 void LabelConstraintRadiusScaleUp();
48 void LabelConstraintRadiusScaleDown();
49 void LabelFadeDurationUp();
50 void LabelFadeDurationDown();
51 void LabelCycleOcclusionMode();
52 void LabelCycleFont();
53 void LabelToggleDebugDraw();
54 void LabelToggleEnabled();
55 void LabelRestartApp();
56 void ToggleTestMarkers();
58 std::string GetCurrentStyleName()
const;
60 bool IsIdentifyStyleEnabled()
const;
61 float GetLabelAATweak()
const;
62 float GetConstraintRadiusScale()
const;
63 float GetFadeDurationScale()
const;
64 bool IsDebugDrawEnabled()
const;
65 bool IsLabelsEnabled()
const;
66 bool IsRestartRequired()
const;
67 bool IsTestMarkersEnabled()
const;
68 std::string GetFontName()
const;
70 Eegeo::Labels::OcclusionResolverMode::Type GetOcclusionMode()
const;
76 void OnLabelOptionsModelChanged();
77 void OnLabelStyleRepositoryChanged();
79 void RefreshLabelStyleNames();
81 void CreateTestMarkers();
82 void DestroyTestMarkers();
83 void UpdateMovingMarker(
float dt);
86 void SetAATweak(
float antiAliasTweak);
93 const std::vector<std::string> m_fontNames;
94 const bool m_platformConfigLabelsEnabled;
100 bool m_restartRequired;
102 bool m_testMarkersCreated;
106 int m_movingMarkerId;
107 float m_movingMarkerTimer;
108 int m_movingMarkerCounter;
110 int m_indoorMarkerId;
118 std::vector<std::string> m_labelStyleNames;
119 std::vector<int> m_testMarkerIds;
121 float m_antiAliasTweak;
123 void NotifyViewModelChanged();