Browse Source

Update document.

Aster Jian 12 years ago
parent
commit
247947f2b1
2 changed files with 19 additions and 0 deletions
  1. 15 0
      Docs/LuaScriptAPI.dox
  2. 4 0
      Docs/ScriptAPI.dox

+ 15 - 0
Docs/LuaScriptAPI.dox

@@ -549,6 +549,9 @@ section LuaScriptAPI_GlobalConstants Global constants
 - int VA_TOP
 - int VA_TOP
 - int VA_CENTER
 - int VA_CENTER
 - int VA_BOTTOM
 - int VA_BOTTOM
+- int TE_NONE
+- int TE_SHADOW
+- int TE_STROKE
 - int C_TOPLEFT
 - int C_TOPLEFT
 - int C_TOPRIGHT
 - int C_TOPRIGHT
 - int C_BOTTOMLEFT
 - int C_BOTTOMLEFT
@@ -4331,6 +4334,8 @@ Methods:<br>
 - void ClearSelection()
 - void ClearSelection()
 - void SetSelectionColor(const Color& color)
 - void SetSelectionColor(const Color& color)
 - void SetHoverColor(const Color& color)
 - void SetHoverColor(const Color& color)
+- void SetTextEffect(TextEffect textEffect)
+- void SetEffectColor(const Color& effectColor)
 - Font* GetFont() const
 - Font* GetFont() const
 - int GetFontSize() const
 - int GetFontSize() const
 - const String& GetText() const
 - const String& GetText() const
@@ -4341,6 +4346,8 @@ Methods:<br>
 - unsigned GetSelectionLength() const
 - unsigned GetSelectionLength() const
 - const Color& GetSelectionColor() const
 - const Color& GetSelectionColor() const
 - const Color& GetHoverColor() const
 - const Color& GetHoverColor() const
+- TextEffect GetTextEffect() const
+- const Color& GetEffectColor() const
 - int GetRowHeight() const
 - int GetRowHeight() const
 - unsigned GetNumRows() const
 - unsigned GetNumRows() const
 - void SetFontAttr(ResourceRef value)
 - void SetFontAttr(ResourceRef value)
@@ -4357,6 +4364,8 @@ Properties:<br>
 - unsigned selectionLength (readonly)
 - unsigned selectionLength (readonly)
 - Color& selectionColor
 - Color& selectionColor
 - Color& hoverColor
 - Color& hoverColor
+- TextEffect textEffect
+- Color& effectColor
 - int rowHeight (readonly)
 - int rowHeight (readonly)
 - unsigned numRows (readonly)
 - unsigned numRows (readonly)
 - ResourceRef fontAttr
 - ResourceRef fontAttr
@@ -4377,6 +4386,8 @@ Methods:<br>
 - void SetTextAlignment(HorizontalAlignment align)
 - void SetTextAlignment(HorizontalAlignment align)
 - void SetRowSpacing(float spacing)
 - void SetRowSpacing(float spacing)
 - void SetWordwrap(bool enable)
 - void SetWordwrap(bool enable)
+- void SetTextEffect(TextEffect textEffect)
+- void SetEffectColor(const Color& effectColor)
 - void SetWidth(int width)
 - void SetWidth(int width)
 - void SetColor(const Color& color)
 - void SetColor(const Color& color)
 - void SetColor(Corner corner, const Color& color)
 - void SetColor(Corner corner, const Color& color)
@@ -4391,6 +4402,8 @@ Methods:<br>
 - VerticalAlignment GetVerticalAlignment() const
 - VerticalAlignment GetVerticalAlignment() const
 - float GetRowSpacing() const
 - float GetRowSpacing() const
 - bool GetWordwrap() const
 - bool GetWordwrap() const
+- TextEffect GetTextEffect() const
+- const Color& GetEffectColor() const
 - int GetWidth() const
 - int GetWidth() const
 - int GetRowHeight() const
 - int GetRowHeight() const
 - unsigned GetNumRows() const
 - unsigned GetNumRows() const
@@ -4413,6 +4426,8 @@ Properties:<br>
 - VerticalAlignment verticalAlignment
 - VerticalAlignment verticalAlignment
 - float rowSpacing
 - float rowSpacing
 - bool wordwrap
 - bool wordwrap
+- TextEffect textEffect
+- Color& effectColor
 - int width
 - int width
 - int rowHeight (readonly)
 - int rowHeight (readonly)
 - unsigned numRows (readonly)
 - unsigned numRows (readonly)

+ 4 - 0
Docs/ScriptAPI.dox

@@ -4986,6 +4986,8 @@ Properties:<br>
 - uint selectionLength (readonly)
 - uint selectionLength (readonly)
 - Color selectionColor
 - Color selectionColor
 - Color hoverColor
 - Color hoverColor
+- TextEffect textEffect
+- Color effectColor
 - uint numRows (readonly)
 - uint numRows (readonly)
 - int rowHeight (readonly)
 - int rowHeight (readonly)
 
 
@@ -5049,6 +5051,8 @@ Properties:<br>
 - VerticalAlignment verticalAlignment
 - VerticalAlignment verticalAlignment
 - float rowSpacing
 - float rowSpacing
 - bool wordwrap
 - bool wordwrap
+- TextEffect textEffect
+- Color effectColor
 - int width
 - int width
 - Color color (writeonly)
 - Color color (writeonly)
 - Color[] colors
 - Color[] colors