Exemple #1
0
        /// <summary>
        /// Updates the Style List and sends it to the Search Panel.
        /// </summary>
        private void UpdateStyleList()
        {
            List <string> TileNames = new List <string>();

            for (int i = 0; i < currentTileGroup.styles.Count; i++)
            {
                string newstring = currentTileGroup.styles[i].name;

                TileNames.Add(newstring);
            }

            styleSearchWindow.SetContent(TileNames);
        }
Exemple #2
0
        /// <summary>
        /// Updates the TileGroup List and sends it to the Search Panel.
        /// </summary>
        private void UpdateGroupList()
        {
            List <string> TileNames = new List <string>();

            for (int i = 0; i < swatchReference.categories[categoryIndex].tilegroups.Count; i++)
            {
                string newstring = swatchReference.categories[categoryIndex].tilegroups[i].groupName;

                TileNames.Add(newstring);
            }

            groupSearchWindow.SetContent(TileNames);
        }