User manual

Automation Protocol Easytext Commands
Miranda Technologies Ltd Page 224
Text Box Background Settings
The following commands allow control of the backgrounds behind each text
box.
Set Text Background to Clear Z8
A coloured or gradient background may be removed with this command.
CMD Param_1 Param_2
Z8 %01x Layer No. %02x Text Box No.
Example:
void TextBgnd_Clear(int Layer, int BoxNo)
{
remote_send ("Z8%01x%02x%01x", layer, BoxNo);
}
Set Text Background to Matte Z6
This command allows a solid background behind a box to be automatically
drawn (and resized) when the box is drawn
CMD Param_
1
Param_
2
Param_
4
Param_
5
Param_
6
Param_
7
Z6 %01x
Layer
No.
%02x
Box
Number
%06x
Colour
%02x
Trans
%02x
Horiz
Border
%02x
Vert
Border
Example:
void TextBgnd_Matte(int Layer, int BoxNo, int Col,
int trans, int hborder,
int vborder)
{
remote_send ("Z6%01x%02x%06x%02x%02x%02x",
layer, BoxNo, Col, trans,
hborder, vborder);
}