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



This definition is used to define a bitmap frame resource. Bitmap frames are used as background elements for windows, controls and widgets.

Frames are built from blocks that comprise the corners, edges and center of the frame. The corner pieces are always drawn once, at each corner. The left, right, top and bottom edges are formed by repeating the corresponding edge piece as many times as needed to complete the frame at the specified size. The center piece is tiled, i.e. repeated both vertically and horizontally, to fill the remaining gap in the middle.



Definition

<framedef name="..." >
<bitmap > ... </bitmap> The file name of an image file containing the bitmap data from which the frame is built
<offset > ... </offset> A comma separated list of four numbers specifying the left, top, right and bottom offsets to define the nine components of the frame.
<topleft > ... </topleft> The coordinates of the top left component, in the form: x,y,width,height
<top > ... </top> The coordinates of the top component
<topright > ... </topright> The coordinates of the top right component
<left > ... </left> The coordinates of the left component
<middle > ... </middle> The coordinates of the middle component
<right > ... </right> The coordinates of the right component
<bottomleft > ... </bottomleft> The coordinates of the bottom left component
<bottom > ... </bottom> The coordinates of the bottom component
<bottomright > ... </bottomright> The coordinates of the bottom right component
<decal > ... </decal> The coordinates of the decal component
<insideoffset > ... </insideoffset> A comma separated list of four numbers specifying the left, top, right and bottom offsets applied when displaying the window resize arrows. If not specified, zero will be used for each offset.
</framedef>

'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