dmuratshin 8 years ago
parent
commit
62c1e488cf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      oxygine/src/TextField.h

+ 2 - 1
oxygine/src/TextField.h

@@ -85,7 +85,8 @@ namespace oxygine
         /**Changes text widestring*/
         /**Changes text widestring*/
         void setText(const std::wstring& str);
         void setText(const std::wstring& str);
         /**Changes text.
         /**Changes text.
-        Supports html style tags:  <br/> - break line,  <div color='FFFFFF'/>colored text </div>, <div c='FFFFFF'/>colored text</div>
+        Supports pseudo html style tags:  <br/> - break line,  <div color='FFFFFF'/>colored text </div>, <div c='FFFFFF'/>colored text</div>,
+        in pair with oxygine-freetype you may use 'opt': <div opt=123>custom option</div>, <div c='ffffff' opt=123>custom option with color</div>
         example:
         example:
         This is <div c='ff0000'/> colored text <div/>supports  <div c='00ff00AA'/>nested tags</div><br/> with broken line.
         This is <div c='ff0000'/> colored text <div/>supports  <div c='00ff00AA'/>nested tags</div><br/> with broken line.
         */
         */