Esempio n. 1
0
        public void HighlightSlot(Point pointInEffectSheet)
        {
            ClearAllHighlights();

            EffectSlotViewModel slot = EffectSlotList.GetItemAtPoint <EffectSlotViewModel>(pointInEffectSheet);

            if (slot != null)
            {
                EffectSlotList.SelectedItem = slot;
            }
        }
Esempio n. 2
0
        public EffectSlotViewModel GetEffectSlotAtPoint(Point point)
        {
            EffectSlotViewModel slot = EffectSlotList.GetItemAtPoint <EffectSlotViewModel>(point);

            if (slot != null)
            {
                return(slot);
            }

            return(null);
        }
Esempio n. 3
0
 public Rect?GetBoundingRectForItem(EffectSlotViewModel item)
 {
     return(EffectSlotList.GetBoundingRectForItem(item));
 }