Reference Tables
Control Name Specification
* ^ Begin Searching from previously
created control.
* | Begin Searching from root
control.
* < Begin Searching from parent
control.
* . Seperate Control Names.
Texture Specification
Straight
from dr2 reference manual.
Image(string filename, integer x,
integer y, integer width, integer height)
filename
Required, x Required, y Requried, width Required, height Required
filename: Name of texture
image.
x, y: Pixel offset of sub
image.
width, height: Size of sub
image.
Use a portion of the texture.
ColorGroup Reference
Function(x, r, g, b, a)
X
is the number for many of the modes.
0
is unselected, unhiglit. This can be thought of as the normal, untouched mode.
1
is the selected, unhighlit.
2
is unselected, highlit. This is the mousover color.
3
is selected, highlit. This is the button pressed color.
DefineColorGroup("CONCEPT")
{
//Normal
untouched
//
unselected, unhighlit
Foreground(0,
0, 0, 255, 255);
Background(0,
191, 195, 189, 255);
Gradient(0,
191, 195, 189, 255);
//
selected, unhighlit
Foreground(1,
0, 0, 255, 255);
Background(1,
0, 213, 0, 127);
Gradient(1,
0, 213, 0, 127);
//MouseOver
//
unselected, highlit
Foreground(2,
0, 0, 255, 255);
Background(2,
0, 0, 255, 127);
Gradient(2,
0, 0, 255, 127);
//Button
Pressed
//
selected, highlit
Foreground(3,
0, 0, 255, 255);
Background(3,
255, 0, 0, 127);
Gradient(3,
255, 0, 0, 127);
}
Sound Reference
Reference
for DefaultSound Function.
Events
available for the name string of the DefaultSound function are:
MouseEnter:
For mouse rollover enter
MouseLeave: For mouse rollover leave.
ButtonPress:
No clue.
ButtonLeave:
No clue