->strong(L"Note")->text(L" that it is important that all RGB values are multiplied with the alpha ")
->text(L"at all times, otherwise the compositing in the mixer will be incorrect.");
sink.para()->text(L"Solid color examples:");
- sink.example(L"PLAY 1-10 EMPTY", L"For a completely transparent frame.");
- sink.example(L"PLAY 1-10 #00000000", L"For an explicitly defined completely transparent frame.");
- sink.example(L"PLAY 1-10 #000000", L"For an explicitly defined completely opaque black frame.");
- sink.example(L"PLAY 1-10 RED", L"For a completely red frame.");
- sink.example(L"PLAY 1-10 #7F007F00",
+ sink.example(L">> PLAY 1-10 EMPTY", L"For a completely transparent frame.");
+ sink.example(L">> PLAY 1-10 #00000000", L"For an explicitly defined completely transparent frame.");
+ sink.example(L">> PLAY 1-10 #000000", L"For an explicitly defined completely opaque black frame.");
+ sink.example(L">> PLAY 1-10 RED", L"For a completely red frame.");
+ sink.example(L">> PLAY 1-10 #7F007F00",
L"For a completely green half transparent frame. "
L"Since the RGB part has been premultiplied with the A part this is 100% green.");
sink.para()->text(L"Horizontal gradient examples:");
- sink.example(L"PLAY 1-10 WHITE BLACK", L"For a gradient between white and black.");
- sink.example(L"PLAY 1-10 WHITE WHITE WHITE BLACK", L"For a gradient between white and black with the white part beings 3 times as long as the black part.");
+ sink.example(L">> PLAY 1-10 WHITE BLACK", L"For a gradient between white and black.");
+ sink.example(L">> PLAY 1-10 WHITE WHITE WHITE BLACK", L"For a gradient between white and black with the white part beings 3 times as long as the black part.");
sink.example(
- L"PLAY 1-10 RED EMPTY\n"
- L"MIXER 1-10 ANCHOR 0.5 0.5\n"
- L"MIXER 1-10 FILL 0.5 0.5 2 2\n"
- L"MIXER 1-10 ROTATION 45",
+ L">> PLAY 1-10 RED EMPTY\n"
+ L">> MIXER 1-10 ANCHOR 0.5 0.5\n"
+ L">> MIXER 1-10 FILL 0.5 0.5 2 2\n"
+ L">> MIXER 1-10 ROTATION 45",
L"For a 45 degree gradient covering the screen.");
}
->text(L"Prepares a template for displaying. It won't show until you call ")->see(L"CG PLAY")
->text(L" (unless you supply the play-on-load flag, 1 for true). Data is either inline XML or a reference to a saved dataset.");
sink.para()->text(L"Examples:");
- sink.example(L"CG 1 ADD 10 svtnews/info 1");
+ sink.example(L">> CG 1 ADD 10 svtnews/info 1");
}
std::wstring cg_add_command(command_context& ctx)
sink.syntax(L"CG [video_channel:int]{-[layer:int]|-9999} PLAY [cg_layer:int]");
sink.para()->text(L"Plays and displays the template in the specified layer.");
sink.para()->text(L"Examples:");
- sink.example(L"CG 1 PLAY 0");
+ sink.example(L">> CG 1 PLAY 0");
}
std::wstring cg_play_command(command_context& ctx)
->text(L"Stops and removes the template from the specified layer. This is different from ")->code(L"REMOVE")
->text(L" in that the template gets a chance to animate out when it is stopped.");
sink.para()->text(L"Examples:");
- sink.example(L"CG 1 STOP 0");
+ sink.example(L">> CG 1 STOP 0");
}
std::wstring cg_stop_command(command_context& ctx)
->text(LR"(Triggers a "continue" in the template on the specified layer. )")
->text(L"This is used to control animations that has multiple discreet steps.");
sink.para()->text(L"Examples:");
- sink.example(L"CG 1 NEXT 0");
+ sink.example(L">> CG 1 NEXT 0");
}
std::wstring cg_next_command(command_context& ctx)
sink.syntax(L"CG [video_channel:int]{-[layer:int]|-9999} REMOVE [cg_layer:int]");
sink.para()->text(L"Removes the template from the specified layer.");
sink.para()->text(L"Examples:");
- sink.example(L"CG 1 REMOVE 0");
+ sink.example(L">> CG 1 REMOVE 0");
}
std::wstring cg_remove_command(command_context& ctx)
sink.syntax(L"CG [video_channel:int]{-[layer:int]|-9999} CLEAR");
sink.para()->text(L"Removes all templates on a video layer. The entire cg producer will be removed.");
sink.para()->text(L"Examples:");
- sink.example(L"CG 1 CLEAR");
+ sink.example(L">> CG 1 CLEAR");
}
std::wstring cg_clear_command(command_context& ctx)
sink.syntax(L"LOCK [video_channel:int] [action:ACQUIRE,RELEASE,CLEAR] {[lock-phrase:string]}");
sink.para()->text(L"Allows for exclusive access to a channel.");
sink.para()->text(L"Examples:");
- sink.example(L"LOCK 1 ACQUIRE secret");
- sink.example(L"LOCK 1 RELEASE");
- sink.example(L"LOCK 1 CLEAR");
+ sink.example(L">> LOCK 1 ACQUIRE secret");
+ sink.example(L">> LOCK 1 RELEASE");
+ sink.example(L">> LOCK 1 CLEAR");
}
std::wstring lock_command(command_context& ctx)
->text(L"This special command modifies the AMCP protocol a little bit to prepend ")
->code(L"RES request_id")->text(L" to the response, in order to see what asynchronous response matches what request.");
sink.para()->text(L"Examples:");
- sink.example(L"REQ unique PLAY 1-0 AMB\n");
sink.example(
L">> REQ unique PLAY 1-0 AMB\n"
L"<< RES unique 202 PLAY OK");