Reference for the Mosaic unit Resources

Class Overview
Core::Resource
Resources::Bitmap
Resources::ExternBitmap
Resources::ExternVideo
Resources::Font
Resources::ExternFont
Enumerations
Resources::ExternVideoError
Resources::ExternVideoState
Constants
Resources::AM
Resources::April
Resources::AprilAbbr
Resources::August
Resources::AugustAbbr
Resources::December
Resources::DecemberAbbr
Resources::February
Resources::FebruaryAbbr
Resources::Friday
Resources::FridayAbbr
Resources::January
Resources::JanuaryAbbr
Resources::July
Resources::JulyAbbr
Resources::June
Resources::JuneAbbr
Resources::March
Resources::MarchAbbr
Resources::May
Resources::MayAbbr
Resources::Monday
Resources::MondayAbbr
Resources::November
Resources::NovemberAbbr
Resources::October
Resources::OctoberAbbr
Resources::PM
Resources::Saturday
Resources::SaturdayAbbr
Resources::September
Resources::SeptemberAbbr
Resources::Sunday
Resources::SundayAbbr
Resources::Thursday
Resources::ThursdayAbbr
Resources::Tuesday
Resources::TuesdayAbbr
Resources::Wednesday
Resources::WednesdayAbbr
Resources
Resources::DefaultBitmap
Resources::DefaultFont
Resources::DefaultFrame
Resources::FontExtraLarge
Resources::FontLarge
Resources::FontMedium
Resources::FontSmall
Resources::KeyIconsExtraLarge
Resources::KeyIconsLarge
Resources::KeyIconsMedium
Resources::KeyIconsSmall
Resources::NavigationIconsExtraLarge
Resources::NavigationIconsLarge
Resources::NavigationIconsMedium
Resources::NavigationIconsSmall
Resources::PlayerIconsExtraLarge
Resources::PlayerIconsLarge
Resources::PlayerIconsMedium
Resources::PlayerIconsSmall
Resources::SymbolIconsExtraLarge
Resources::SymbolIconsLarge
Resources::SymbolIconsMedium
Resources::SymbolIconsSmall
Auto Objects
Resources::DefaultAttrSet
Resources::DefaultPath

The unit 'Resources' provides few fundamental classes needed to handle bitmaps and fonts created at the design time in the Embedded Wizard environment:

enum ExternVideoError
{
item None;
item NameNotFound = 1;
item AccessError = 2;
item ContentError = 3;
item OtherError = 4;
}

The definition Resources::ExternVideoError enumerates the possible errors the extern video decoder represented by the class Resources::ExternVideo may report at its runtime.

Items Description
AccessError The Resources::ExternVideo object failed to read the extern video content. Possibly file or network access error.
ContentError The Resources::ExternVideo object failed to process the extern video content. The format of the video content is incorrect or it is not supported.
NameNotFound The name specified in the Resources::ExternVideo object does not identify any existing video content. File or network resource couldn't be found. See the object's property 'Name'.
None No error in the extern video decoder.
OtherError The Resources::ExternVideo object failed to decode the extern video content. More details can be queried by using the method Resources::ExternVideo.GetError().

 

enum ExternVideoState
{
item Undefined;
item Buffering = 1;
item Ready = 2;
item Resuming = 3;
item Playing = 4;
item Paused = 5;
item EndOfStreamReached = 6;
item Error = 7;
item NoNameSpecified = 10;
}

The definition Resources::ExternVideoState enumerates the possible states the extern video decoder represented by the class Resources::ExternVideo may assume at its runtime.

Items Description
Buffering The extern video decoder is actually loading and buffering video data.
EndOfStreamReached The extern video decoding has been finalized. There is no more content to display.
Error The extern video decoding is failed due to an error. More details can be queried by using the method Resources::ExternVideo.GetError() and Resources::ExternVideo.GetErrorCode().
NoNameSpecified The Resources::ExternVideo object is not configured with any name for the video content to decode. See the object's property 'Name'.
Paused The extern video decoding is actually paused.
Playing The extern video decoder is playing the video contents.
Ready The extern video decoder has received sufficient data and is ready for decoding the video contents.
Resuming The extern video decoder is resuming the video playback after being paused.
Undefined The extern video decoder state is not defined.

 

const string AM = "AM";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string April = "April";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string AprilAbbr = "Apr";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string August = "August";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string AugustAbbr = "Aug";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string December = "December";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string DecemberAbbr = "Dec";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string February = "February";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string FebruaryAbbr = "Feb";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string Friday = "Friday";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string FridayAbbr = "Fri";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string January = "January";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string JanuaryAbbr = "Jan";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string July = "July";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string JulyAbbr = "Jul";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string June = "June";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string JuneAbbr = "Jun";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string March = "March";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string MarchAbbr = "Mar";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string May = "May";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string MayAbbr = "May";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string Monday = "Monday";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string MondayAbbr = "Mon";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string November = "November";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string NovemberAbbr = "Nov";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string October = "October";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string OctoberAbbr = "Oct";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string PM = "PM";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string Saturday = "Saturday";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string SaturdayAbbr = "Sat";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string September = "September";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string SeptemberAbbr = "Sep";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string Sunday = "Sunday";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string SundayAbbr = "Sun";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string Thursday = "Thursday";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string ThursdayAbbr = "Thu";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string Tuesday = "Tuesday";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string TuesdayAbbr = "Tue";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string Wednesday = "Wednesday";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

const string WednesdayAbbr = "Wed";

Constant string used by Core::Time class to format time and date. Per default the constant is initialized in English language. If necessary, you can derive a variant from the interesting constant, store the variant in one of your project units and initialize it with other eventually multi-lingual localized text.

resource Resources::Bitmap DefaultBitmap
{
attr bitmapfile FileName = .\Res\DefaultBitmap.png;
attr framesize FrameSize;
attr framedelay FrameDelay;
attr bitmapformat Format = Native;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource used per default by 'Image', 'Wallpaper' and 'Warp Image' views to ensure that new views don't remain empty on the screen.

resource Resources::Font DefaultFont
{
attr fontname FontName = Arial;
attr fontheight Height = 12;
attr fontquality Quality = Low;
attr fontranges Ranges = 0x20-0x7F;
attr fontaspectratio AspectRatio = 1.0;
attr fontbold Bold = false;
attr fontitalic Italic = false;
attr fontkerning Kerning = true;
attr fontheightmode HeightMode = Compatible;
attr fontrowdistance RowDistance;
}

Font resource used per default by 'Text' and 'Attributed Text' views to ensure that new views don't remain empty on the screen.

resource Resources::Bitmap DefaultFrame
{
attr bitmapfile FileName = .\Res\DefaultFrame.png;
attr framesize FrameSize;
attr framedelay FrameDelay;
attr bitmapformat Format = Native;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource used per default by the 'Bitmap Frame' view to ensure that new views don't remain empty on the screen.

resource Resources::Font FontExtraLarge
{
attr fontname FontName = Roboto;
attr fontheight Height = 54;
attr fontquality Quality = High;
attr fontranges Ranges = 0x20-0xFF;
attr fontaspectratio AspectRatio = 1.0;
attr fontbold Bold = false;
attr fontitalic Italic = false;
attr fontkerning Kerning = true;
attr fontheightmode HeightMode = Compatible;
attr fontrowdistance RowDistance;
}

The extra large version of the default font resource. The resource is using 'Roboto' TrueType font with 54 pixel height.

resource Resources::Font FontLarge
{
attr fontname FontName = Roboto;
attr fontheight Height = 36;
attr fontquality Quality = High;
attr fontranges Ranges = 0x20-0xFF;
attr fontaspectratio AspectRatio = 1.0;
attr fontbold Bold = false;
attr fontitalic Italic = false;
attr fontkerning Kerning = true;
attr fontheightmode HeightMode = Compatible;
attr fontrowdistance RowDistance;
}

The large version of the default font resource. The resource is using 'Roboto' TrueType font with 36 pixel height.

resource Resources::Font FontMedium
{
attr fontname FontName = Roboto;
attr fontheight Height = 24;
attr fontquality Quality = High;
attr fontranges Ranges = 0x20-0xFF;
attr fontaspectratio AspectRatio = 1.0;
attr fontbold Bold = false;
attr fontitalic Italic = false;
attr fontkerning Kerning = true;
attr fontheightmode HeightMode = Compatible;
attr fontrowdistance RowDistance;
}

The medium version of the default font resource. The resource is using 'Roboto' TrueType font with 24 pixel height.

resource Resources::Font FontSmall
{
attr fontname FontName = Roboto;
attr fontheight Height = 18;
attr fontquality Quality = High;
attr fontranges Ranges = 0x20-0xFF;
attr fontaspectratio AspectRatio = 1.0;
attr fontbold Bold = false;
attr fontitalic Italic = false;
attr fontkerning Kerning = true;
attr fontheightmode HeightMode = Compatible;
attr fontrowdistance RowDistance;
}

The small version of the default font resource. The resource is using 'Roboto' TrueType font with 18 pixel height.

resource Resources::Bitmap KeyIconsExtraLarge
{
attr bitmapfile FileName = .\Res\KeyIconsExtraLarge.png;
attr framesize FrameSize = <84,84>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. Usually the icons are used to represent keys within a virtual keyboard. The icons have the size 84x84 pixel.

resource Resources::Bitmap KeyIconsLarge
{
attr bitmapfile FileName = .\Res\KeyIconsLarge.png;
attr framesize FrameSize = <54,54>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. Usually the icons are used to represent keys within a virtual keyboard. The icons have the size 54x54 pixel.

resource Resources::Bitmap KeyIconsMedium
{
attr bitmapfile FileName = .\Res\KeyIconsMedium.png;
attr framesize FrameSize = <36,36>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. Usually the icons are used to represent keys within a virtual keyboard. The icons have the size 36x36 pixel.

resource Resources::Bitmap KeyIconsSmall
{
attr bitmapfile FileName = .\Res\KeyIconsSmall.png;
attr framesize FrameSize = <24,24>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. Usually the icons are used to represent keys within a virtual keyboard. The icons have the size 24x24 pixel.

resource Resources::Bitmap PlayerIconsExtraLarge
{
attr bitmapfile FileName = .\Res\PlayerIconsExtraLarge.png;
attr framesize FrameSize = <84,84>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. Usually the icons are used to implement media player applications, etc.. The icons have the size 84x84 pixel.

resource Resources::Bitmap PlayerIconsLarge
{
attr bitmapfile FileName = .\Res\PlayerIconsLarge.png;
attr framesize FrameSize = <54,54>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. Usually the icons are used to implement media player applications, etc.. The icons have the size 54x54 pixel.

resource Resources::Bitmap PlayerIconsMedium
{
attr bitmapfile FileName = .\Res\PlayerIconsMedium.png;
attr framesize FrameSize = <36,36>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. Usually the icons are used to implement media player applications, etc.. The icons have the size 36x36 pixel.

resource Resources::Bitmap PlayerIconsSmall
{
attr bitmapfile FileName = .\Res\PlayerIconsSmall.png;
attr framesize FrameSize = <24,24>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. Usually the icons are used to implement media player applications, etc.. The icons have the size 24x24 pixel.

resource Resources::Bitmap SymbolIconsExtraLarge
{
attr bitmapfile FileName = .\Res\SymbolIconsExtraLarge.png;
attr framesize FrameSize = <84,84>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. The icons have the size 84x84 pixel.

resource Resources::Bitmap SymbolIconsLarge
{
attr bitmapfile FileName = .\Res\SymbolIconsLarge.png;
attr framesize FrameSize = <54,54>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. The icons have the size 54x54 pixel.

resource Resources::Bitmap SymbolIconsMedium
{
attr bitmapfile FileName = .\Res\SymbolIconsMedium.png;
attr framesize FrameSize = <36,36>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. The icons have the size 36x36 pixel.

resource Resources::Bitmap SymbolIconsSmall
{
attr bitmapfile FileName = .\Res\SymbolIconsSmall.png;
attr framesize FrameSize = <24,24>;
attr framedelay FrameDelay;
attr bitmapformat Format = Alpha8;
attr bitmapdithering Dithering = Auto;
attr bitmapmode Mode = Default;
}

Bitmap resource containing diverse icons you can use in your project. The icons have the size 24x24 pixel.

autoobject Graphics::AttrSet DefaultAttrSet;

Data object used per default by the 'Attributed Text' view to ensure that new views don't remain empty on the screen.

autoobject Graphics::ArcPath DefaultPath
{
preset EndAngle = 90.0;
preset RadiusY = 90.0;
preset RadiusX = 90.0;
preset Style = Graphics::ArcStyle.Pie;
}

Data object used per default by the 'Filled Path' and 'Stroked Path' view to ensure that new views don't remain empty on the screen.