Changes between Version 1 and Version 2 of GUI_-_Text_Renderer


Ignore:
Timestamp:
Nov 16, 2014, 3:18:35 AM (9 years ago)
Author:
leper
Comment:

Update for r15696.

Legend:

Unmodified
Added
Removed
Modified
  • GUI_-_Text_Renderer

    v1 v2  
    2121Note that just because it's called an icon, doesn't mean it has to be small. Icons can be large images between two paragraphs, a horizontal dividing bar, whatever.
    2222
    23 To use an icon (declared in <setup.xml>; see [wiki:GUI_-_Custom_Objects#icon icon]) in text, use a ''[icon=<icon.name>]'' tag in the appropriate text. For example:
     23To use an icon (declared in <setup.xml>; see [wiki:GUI_-_Custom_Objects#icon icon]) in text, use a ''[icon="<icon.name>"]'' tag in the appropriate text. For example:
    2424
    2525{{{
    26   <object type="text">Here�s the [icon=smiley] I told you about.</object>
     26  <object type="text">Here's the [icon="smiley"] I told you about.</object>
    2727}}}
    2828
     
    3030
    3131{{{
    32   object.caption = "Here�s the [icon=smiley] I told you about."
     32  object.caption = "Here's the [icon=\"smiley\"] I told you about.";
    3333}}}
    3434
     
    3838
    3939{{{
    40   object.caption = "Here�s the [icon="smiley" displace="-4 0"] I told you about."
     40  object.caption = "Here's the [icon=\"smiley\" displace=\"-4 0\"] I told you about.";
    4141}}}
    4242
     
    4646
    4747{{{
    48   object.caption = "Here's some[imgleft="ragnarok"] text that will be [imgright="smiley"]surrounded by images"
     48  object.caption = "Here's some[imgleft=\"ragnarok\"] text that will be [imgright=\"smiley\"]surrounded by images";
    4949}}}
    5050