View Single Post
  #2  
Unread 11-24-2004, 10:37 PM
beastnic beastnic is offline
A Weald Wolf
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Server: Unrest
Posts: 81
Default

When I was making the TKing Celtic frame I noticed a few things.

1) Each frame is made up of 9 parts -top,bottom,east,west- ne,nw,se,sw- center(this is usually a a selection of blank space to fill the window /imagelist.win_blank_space)

2) The frame is made from a style called rectangle style that identifies each of those parts in it.

3) The size of each piece seems to be hardcoded into the rectangle style. You can change your source rect but it will either stretch or shrink to fit inside the predefined frame limit.

Here is what the ui .doc says

7.5.2 RectangleStyle
Parent : Style
a style that contains 9 images and rules

North
NorthEast
NorthWest
South
SouthEast
SouthWest
East
West
Center
ImageStyle

NorthStretch - can image stretch
NorthShrink - can image shrink
SouthStretch
SouthShrink
EastStretch
EastShrink
WestStretch
WestShrink
CenterStetchH
CenterStetchV
CenterShrinkH
CenterShrinkV
bool

Color -
color

Opacity -
float (0.0 - 1.0)
__________________
The Pred-Frellnik
The SK-Reevar
Reply With Quote