Przeglądaj źródła

New text effect getters made const and removed executable status of Text and Text3D source files

Bengt Soderstrom 9 lat temu
rodzic
commit
73980249ee
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      Source/Urho3D/UI/Text.cpp
  2. 0 0
      Source/Urho3D/UI/Text3D.cpp

+ 3 - 3
Source/Urho3D/UI/Text.cpp

@@ -188,11 +188,11 @@ public:
     float GetEffectDepthBias() const { return effectDepthBias_; }
 
     /// Return effect shadow offset.
-    IntVector2 GetEffectShadowOffset() { return shadowOffset_; }
+    IntVector2 GetEffectShadowOffset() const { return shadowOffset_; }
     /// Return effect stroke thickness.
-    int GetEffectStrokeThickness() { return strokeThickness_; }
+    int GetEffectStrokeThickness() const { return strokeThickness_; }
     /// Return effect round stroke.
-    bool GetEffectRoundStroke() { return roundStroke_; }
+    bool GetEffectRoundStroke() const { return roundStroke_; }
 
     /// Set font attribute.
     void SetFontAttr(const ResourceRef& value);

+ 0 - 0
Source/Urho3D/UI/Text3D.cpp