OnScreenDisplay
Events:
Default type: "OSD"
ID: <OSD text>
Event Value: Params count
Actions:
OSD( "<Text>" | "<PresetName>" [,
<Params>] [, <ConfigLine>] )
ActionPreset( <PresetName> )
Use plugin Setup to define default OSD settings for
OSD( "<Text>" [, <Params>] )
Use ActionSetup to define preset OSD.
Text may include %d and %s symbols.
%d - digits
%s - string
ConfigLine:
"<ID1>:<Value1> [<ID2>:<Value2> [<ID3>:<Value3>
[..]]]"
Available IDs:
X - hor. position (0..100)
Y - ver. position (0..100)
B - border
T - time (ms)
S - font size
A - alpha (default 255)
R - 1=transparent
C - color
BC - background color
ST - style I=Italic, B=Bold
P - image path
Examples:
RemotePlay = Hook( "REMOTE", "PLAY", true, true ){
OSD( "Remote button %s, count=%d", "Play",
RemotePlay )
Timer(5000)
OSD( "My %s message", "test", "X:5 ST:BI
R:0 T:3000 P:mypicture.bmp" )
}
|