Esempio n. 1
0
        public void addBoundsToSelected(IBounds bounds)
        {
            foreach (var bound in bounds?.getBoundsList())
            {
                var up_bound = new UpdatingVisualBounds(bound, current_left, TOP_MARGIN - scroll_height);
                up_bound.PropertyChanged += ViewPropertyChanged;

                Selected.Add(up_bound);
                Backing.Add(bound);
            }
        }
Esempio n. 2
0
        public List <IBounds> createHoverList(IBounds hover, int scroll_height, int current_left)
        {
            var list = new List <IBounds>();

            if (hover == null)
            {
                return(list);
            }
            foreach (var bound in hover.getBoundsList())
            {
                list.Add(createCorrectedBounds(bound, scroll_height, current_left));
            }
            return(list);
        }