Exemple #1
0
 public static TooltipManager GetInstance()
 {
     if (instance == null)
     {
         instance = new TooltipManager();
     }
     return(instance);
 }
Exemple #2
0
        public Tooltip(Element contents, Element targetElement)
        {
            _manager = TooltipManager.GetInstance();

            _container = new Container(contents);
            _container.SetOrigin(AlignInternal.Center);
            _targetElement = targetElement;
            _container.SetTouchable(Touchable.Disabled);
        }