浏览代码

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

Bengt Soderstrom 9 年之前
父节点
当前提交
73980249ee
共有 2 个文件被更改,包括 3 次插入3 次删除
  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_; }
     float GetEffectDepthBias() const { return effectDepthBias_; }
 
 
     /// Return effect shadow offset.
     /// Return effect shadow offset.
-    IntVector2 GetEffectShadowOffset() { return shadowOffset_; }
+    IntVector2 GetEffectShadowOffset() const { return shadowOffset_; }
     /// Return effect stroke thickness.
     /// Return effect stroke thickness.
-    int GetEffectStrokeThickness() { return strokeThickness_; }
+    int GetEffectStrokeThickness() const { return strokeThickness_; }
     /// Return effect round stroke.
     /// Return effect round stroke.
-    bool GetEffectRoundStroke() { return roundStroke_; }
+    bool GetEffectRoundStroke() const { return roundStroke_; }
 
 
     /// Set font attribute.
     /// Set font attribute.
     void SetFontAttr(const ResourceRef& value);
     void SetFontAttr(const ResourceRef& value);

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