View Single Post
  #1  
Unread 10-28-2004, 12:42 PM
Jethal's Avatar
Jethal Jethal is offline
A Weald Wolf
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Antonia Bayle
Posts: 80
Post * Adding Images...

Defining Images
<ImageStyle Name="youarehereDot">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map1.dds" SourceRect="168,168,210,210"/>
</ImageStyle>
--------------
Assign a name to the image
Assign a frame name/number
Define the Source Image
Define location within the source
*note: You are NOT using width and height.. but rather, where the image starts and ends.
So, an image starting 100 pixels vertical and being 50 pixels wide, would end at 150px
Vertical Start,Horizontal Start,Vertical End, Horizontal End

Placing Images
<Image Location="98,242" Name="landmark0" ScrollExtent="23,23" Size="23,23" Style="youarehereDot"/>
--------------
Location (Verticle,Horizontal)
Assign a name
Scroll Content should be the same as your size
Assign a size (width, height)
Reply With Quote