Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="customText"></param>
        /// <param name="internalName"></param>
        public CustomNativeMenu(CustomText customText, string internalName) : this()
        {
            CustomText   = customText;
            InternalName = internalName;

            Title       = GetMenuTitleInScaledText();
            Subtitle    = GetMenuSubtitle();
            Description = GetMenuDescription();
        }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="customText"></param>
 /// <param name="internalName"></param>
 /// <param name="banner"></param>
 public CustomNativeMenu(CustomText customText, string internalName, I2Dimensional banner) : this(customText, internalName)
 {
     Banner = banner;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Returns a localized description value of a list item.
 /// </summary>
 /// <param name="itemName">Item name.</param>
 /// <param name="valueName">Value name.</param>
 /// <returns>Localized description value.</returns>
 public string GetItemValueDescription(string itemName, string valueName)
 {
     return(CustomText.GetItemValueDescription(InternalName, itemName, valueName));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Returns a localized title value of a list item.
 /// </summary>
 /// <param name="itemName">Item name.</param>
 /// <param name="valueName">Value name.</param>
 /// <returns>Localized title value.</returns>
 public string GetItemValueTitle(string itemName, string valueName)
 {
     return(CustomText.GetItemValueTitle(InternalName, itemName, valueName));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Returns a localized item title.
 /// </summary>
 /// <param name="itemName">Item name to be localized.</param>
 /// <returns>Localized item name.</returns>
 public string GetItemTitle(string itemName)
 {
     return(CustomText.GetItemTitle(InternalName, itemName));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Returns the localized menu subtitle.
 /// </summary>
 /// <returns>Localized menu subtitle.</returns>
 public string GetMenuSubtitle()
 {
     return(CustomText.GetMenuSubtitle(InternalName));
 }
Exemplo n.º 7
0
 /// <summary>
 /// Returns the localized menu description.
 /// </summary>
 /// <returns>Localized menu description.</returns>
 public string GetMenuDescription()
 {
     return(CustomText.GetMenuDescription(InternalName));
 }