Implementation of Nils' UI work for updated theming, functionality and style for the editors suite

This commit is contained in:
Areloch 2023-09-08 22:44:18 -05:00
parent dc1d6e7d9d
commit 33f35d35d4
908 changed files with 15381 additions and 3065 deletions

View file

@ -1580,6 +1580,29 @@ function ShapeEdSeqFromMenu::onBrowseSelect( %this, %assetId )
ShapeEdSequences.onEditSequenceSource( %shapePath );
}
//------------------------------------------------------------------------------
function ShapeEdAnimWIndow::onWake(%this)
{
%animWindow = ShapeEdAnimWIndow;
%position = "1" SPC Canvas.extent.y - 112;
if(isObject(ShapeEdPropWindow))
{
// Fit the the whole window together with the prop and select windows
%extent = Canvas.extent.x - ShapeEdPropWindow.extent.x - 2 SPC %animWindow.extent.y;
}
else
{
// If we can't get the prop window then use a default width
// (when the order of GUI loading has changed for example)
%extent = Canvas.extent.x - 360 - 2 SPC %animWindow.extent.y;
}
// resize and position accordingly
%animWindow.resize(%position.x, %position.y, %extent.x, %extent.y);
}
//------------------------------------------------------------------------------
// Threads and Animation
//------------------------------------------------------------------------------