Emveepee.Widgets.StartPage.SelectItem C# (CSharp) Method

SelectItem() private method

private SelectItem ( LinkItem item ) : void
item LinkItem
return void
        void SelectItem(LinkItem item)
        {
            if (selected_item != null)
                QueueDrawArea (selected_item.Bounds.X, selected_item.Bounds.Y, selected_item.Bounds.Width, selected_item.Bounds.Height);
            selected_item = item;
            if (selected_item != null)
                QueueDrawArea (selected_item.Bounds.X, selected_item.Bounds.Y, selected_item.Bounds.Width, selected_item.Bounds.Height);
        }