Example #1
0
        public static void ResetIcons()
        {
            Icons = defaultIcons.ToArray().ToDictionary(kvp => kvp.Key, kvp => kvp.Value, StringComparer.InvariantCultureIgnoreCase);

            // alias names used in older action packs to new locations
            Icons["settings"]         = IconSet.GetIcon("Controls.Main.Tools.Settings");     // from use by action system..
            Icons["missioncompleted"] = IconSet.GetIcon("Journal.MissionCompleted");
            Icons["speaker"]          = IconSet.GetIcon("Legacy.speaker");
        }
Example #2
0
 private static void InitLegacyIcons()
 {
     icons["Legacy.settings"]         = IconSet.GetIcon("Controls.Main.Tools.Settings");     // from use by action system..
     icons["Legacy.missioncompleted"] = IconSet.GetIcon("Journal.MissionCompleted");
 }