Packages
Comm
DB
Debug
Input
Interface
Module
Token
User

Objects
bitmapwidget
databasenode
dragdata
textwidget
tokeninstance
widget
widgetcontainer

Elements
buttoncontrol
categoryselectioncontrol
chatentry
chatwindow
databasecontrol
diecontrol
diefield
formattedtextcontrol
formattedtextfield
genericcontrol
imagecontrol
numbercontrol
numberfield
portraitselectioncontrol
script
scrollbarcontrol
scrollercontrol
stringcontrol
stringfield
subwindow
textbasecontrol
tokenbag
tokencontrol
tokenfield
windowclass
windowcontrol
windowinstance
windowlist
windowreferencecontrol
windowreferencefield

Components
categoryselectionsettings
customdie
desktopframe
die
distance
font
framedef
hotkeybar
icon
imageupdatefolder
importinfo
includefile
panel
portraitset
properties
replaces
template
tokenroot
tooltip



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