Example #1
0
        public SubtexturesWidget()
        {
            SetDividerPosition(600);

            drawingArea = new TextureWidget();
            SetRightPaneChild(drawingArea);

            PackageManager.OnPackageLoad += (n, p) => InvokeUpdateModel();
            PackageManager.OnRootChanged += InvokeUpdateModel;
            UpdateModel();
        }
Example #2
0
        public EntriesWidget()
        {
            packages   = new Dictionary <string, PackageReference.Files>();
            typeImages = new Dictionary <EntryType, Pixbuf>()
            {
                { EntryType.Atlas, new Pixbuf("./img/atlas.png") },
                { EntryType.Bink, new Pixbuf("./img/bink.png") },
                { EntryType.BinkAtlas, new Pixbuf("./img/bink-atlas.png") },
                { EntryType.IncludePackage, new Pixbuf("./img/include-package.png") },
                { EntryType.Texture, new Pixbuf("./img/texture.png") },
                { EntryType.Texture3D, new Pixbuf("./img/texture3d.png") },
                { EntryType.Spine, new Pixbuf("./img/spine.png") }
            };
            propertyView  = new PropertyView();
            textureWidget = new TextureWidget();

            SetDividerPosition(600);
        }