SCSharp.UI.UIElement.UIElement C# (CSharp) Method

UIElement() public method

public UIElement ( SCSharp.UI.UIScreen screen, BinElement el, byte palette ) : System
screen SCSharp.UI.UIScreen
el BinElement
palette byte
return System
        public UIElement(UIScreen screen, BinElement el, byte[] palette)
        {
            this.screen = screen;
            this.el = el;
            this.x1 = el.x1;
            this.y1 = el.y1;
            this.width = el.width;
            this.height = el.height;
            this.palette = palette;
            this.sensitive = true;
            this.text = el.text;
            this.visible = (el.flags & ElementFlags.Visible) != 0;
        }

Same methods

UIElement::UIElement ( SCSharp.UI.UIScreen screen, ushort x1, ushort y1 ) : System
UIElement::UIElement ( SCSharp.UI.UIScreen screen, ushort x1, ushort y1, ushort width, ushort height ) : System