So sieht das bei mir aus.
Code:
class RscTitles
{
titles[] = {Bild1,Bild2}; // optional
class Bild1
{
idd = -1;
movingEnable = false;
duration = 5; // 5 second display time
fadein = 2; // 2 second fade in - 7 seconds in all.
name = "Bild1";
class ControlsBackground
{
class Background : RscText //Black background for letterboxing in case of a different aspect ratio than the image
{
x = "safeZoneX";
y = "safeZoneY";
w = "safeZoneW";
h = "safeZoneH";
colorBackground[] = {0,0,0,0};
};
};
class Controls
{
class image1: RscPicture
{
x = "safeZoneX";
y = "safeZoneY+((safeZoneH-(safeZoneW/(2048/1024)*(4/3)))/2)"; //Substitute 2048 and 1024 for the x,y dimensions of your image
w = "safeZoneW";
h = "safeZoneW/(2048/1024)*(4/3)"; //Substitute 2048 and 1024 for the x,y dimensions of your image
text = "Bild1.paa";
};
};
};
class Bild2
{
idd = -1;
movingEnable = false;
duration = 5; // 5 second display time
fadein = 2; // 2 second fade in - 7 seconds in all.
name = "Bild2";
class ControlsBackground
{
class Background : RscText //Black background for letterboxing in case of a different aspect ratio than the image
{
x = "safeZoneX";
y = "safeZoneY";
w = "safeZoneW";
h = "safeZoneH";
colorBackground[] = {0,0,0,0};
};
};
class Controls
{
class image1: RscPicture
{
x = "safeZoneX";
y = "safeZoneY+((safeZoneH-(safeZoneW/(2048/1024)*(4/3)))/2)"; //Substitute 2048 and 1024 for the x,y dimensions of your image
w = "safeZoneW";
h = "safeZoneW/(2048/1024)*(4/3)"; //Substitute 2048 and 1024 for the x,y dimensions of your image
text = "Bild2.paa";
};
};
};
};