예제 #1
0
        override public void Setup_BeforeAdd(ByteBuffer buffer, int beginPos)
        {
            base.Setup_BeforeAdd(buffer, beginPos);

            buffer.Seek(beginPos, 5);

            _layout    = (GroupLayoutType)buffer.ReadByte();
            _lineGap   = buffer.ReadInt();
            _columnGap = buffer.ReadInt();
        }
예제 #2
0
        override public void Setup_BeforeAdd(XML xml)
        {
            base.Setup_BeforeAdd(xml);

            string str;

            str = xml.GetAttribute("layout");
            if (str != null)
            {
                _layout    = FieldTypes.ParseGroupLayoutType(str);
                _lineGap   = xml.GetAttributeInt("lineGap");
                _columnGap = xml.GetAttributeInt("colGap");
            }
        }
예제 #3
0
        override public void Setup_BeforeAdd(ByteBuffer buffer, int beginPos)
        {
            base.Setup_BeforeAdd(buffer, beginPos);

            buffer.Seek(beginPos, 5);

            _layout    = (GroupLayoutType)buffer.ReadByte();
            _lineGap   = buffer.ReadInt();
            _columnGap = buffer.ReadInt();
            if (buffer.version >= 2)
            {
                _excludeInvisibles = buffer.ReadBool();
                _autoSizeDisabled  = buffer.ReadBool();
                _mainChildIndex    = buffer.ReadShort();
            }
        }