Exemplo n.º 1
0
        private void ReloadEditors(BxlytHeader activeLayout)
        {
            if (!isLoaded)
            {
                return;
            }

            if (LayoutProperties != null)
            {
                LayoutProperties.Reset();
            }
            if (LayoutHierarchy != null)
            {
                LayoutHierarchy.LoadLayout(activeLayout, ObjectSelected);
            }
            if (LayoutTextureList != null)
            {
                LayoutTextureList.LoadTextures(this, activeLayout, Textures);
            }
            if (TextConverter != null)
            {
                if (ActiveLayout.FileInfo is BFLYT)
                {
                    TextConverter.LoadLayout((BFLYT)ActiveLayout.FileInfo);
                }
            }
        }
Exemplo n.º 2
0
 private void ShowTextureList()
 {
     LayoutTextureList      = new LayoutTextureList();
     LayoutTextureList.Text = "Texture List";
     LayoutTextureList.LoadTextures(ActiveLayout);
     LayoutTextureList.Show(dockPanel1, DockState.DockRight);
 }
Exemplo n.º 3
0
        private void ShowTextureList()
        {
            if (LayoutTextureList != null)
            {
                return;
            }

            LayoutTextureList      = new LayoutTextureList();
            LayoutTextureList.Text = "Texture List";
            LayoutTextureList.LoadTextures(this, ActiveLayout, Textures);
            LayoutTextureList.Show(dockPanel1, DockState.DockRight);
        }
Exemplo n.º 4
0
 public void UpdateLayoutTextureList()
 {
     LayoutTextureList?.LoadTextures(this, ActiveLayout, Textures);
 }