Packages
 Comm
 DB
 Debug
 Extension
 Input
 Interface
 Module
 Token
 User

Objects
 bitmapwidget
 databasenode
 dragdata
 textbasecontrol
 textwidget
 tokeninstance
 widget
 widgetcontainer
 windowcontrol
 windowinstance

Controls
 buttoncontrol
 buttonfield
 categoryselectioncontrol
 chatentry
 chatwindow
 databasecontrol
 diecontrol
 diefield
 formattedtextcontrol
 formattedtextfield
 genericcontrol
 imagecontrol
 numbercontrol
 numberfield
 portraitselectioncontrol
 scrollbarcontrol
 scrollercontrol
 stringcontrol
 stringfield
 subwindow
 tokenbag
 tokencontrol
 tokenfield
 windowlist
 windowreferencecontrol
 windowreferencefield

Assets and Settings
 announcement
 categoryselectionsettings
 characterdbroot
 customdie
 description
 desktopframe
 die
 diebox
 distance
 font
 framedef
 hotkeybar
 icon
 imageupdatefolder
 imagesettings
 importinfo
 importruleset
 includefile
 panel
 pollbox
 portraitset
 properties
 replaces
 script
 string
 template
 textsettings
 tokenroot
 tooltip
 windowclass



Portraitsets define details for the automatic generation of special icon resources used to represent character portraits.

Each portraitset defines a name, a base graphic and a mask graphic used to mask out a suitable shape out of the rectangular image file selected by the user.

The icon resources will be named portrait_[identity identifier]_[portraitset name] where the identity identifier is the identifier string for the identity whose portrait file is being generated, as returned by e.g. User.getCurrentIdentity.

It is also possible to generate portrait tokens based on the portrait set.



Definition

<portraitset name="..." >
<base > ... </base> The name of the icon resource that will be used as the background image
<mask > ... </mask> The name of the icon resource that will be used as a transparency mask for the portrait image
<createtoken /> If specified, a token matching the icon will be created
</portraitset>

'Fantasy Grounds' is a trademark of SmiteWorks Ltd. All other trademarks are the property of their respective owners.
© 2004-2010 SmiteWorks Ltd. ALL RIGHTS RESERVED.
Privacy policy