예제 #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();
        }
예제 #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;
 }
예제 #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));
 }
예제 #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));
 }
예제 #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));
 }
예제 #6
0
 /// <summary>
 /// Returns the localized menu subtitle.
 /// </summary>
 /// <returns>Localized menu subtitle.</returns>
 public string GetMenuSubtitle()
 {
     return(CustomText.GetMenuSubtitle(InternalName));
 }
예제 #7
0
 /// <summary>
 /// Returns the localized menu description.
 /// </summary>
 /// <returns>Localized menu description.</returns>
 public string GetMenuDescription()
 {
     return(CustomText.GetMenuDescription(InternalName));
 }