Ejemplo n.º 1
0
        public UIItem(Rectangle rect, Common.PropertySet settings = null, Common.PropertySet hoverSettings = null)
        {
            this.settings = settings;
            if (this.settings == null) this.settings = new Common.PropertySet();
            this.hoverSettings = hoverSettings;

            this.rect = rect;
            Hover = false;
        }
Ejemplo n.º 2
0
        public UIItem(Rectangle rect, Common.PropertySet settings = null, Common.PropertySet hoverSettings = null)
        {
            this.settings = settings;
            if (this.settings == null)
            {
                this.settings = new Common.PropertySet();
            }
            this.hoverSettings = hoverSettings;

            this.rect = rect;
            Hover     = false;
        }