iMon.XBMC.DisplayHandler.SetIcons C# (CSharp) Method

SetIcons() public method

public SetIcons ( IEnumerable iconList, bool show ) : void
iconList IEnumerable
show bool
return void
        public void SetIcons(IEnumerable<iMonLcdIcons> iconList, bool show)
        {
            foreach (iMonLcdIcons icon in iconList)
            {
                if (this.lcd)
                {
                    Logging.Log("Display Handler", "Setting LCD icon " + icon + " to " + show);
                }

                this.icons[icon] = show;
            }

            if (this.lcd)
            {
                this.imon.LCD.Icons.Set(iconList, show);
            }
        }