Update bundled release imports

This commit is contained in:
vczh
2026-07-26 04:16:55 -07:00
parent 8eec8747a2
commit 713069dcbc
10 changed files with 2567 additions and 22 deletions
+42 -9
View File
@@ -36150,7 +36150,19 @@ GuiRemoteGraphicsRenderTarget
fontHeights.Add(key, fontHeight.height);
}
}
}
if (measuring.createdImages)
{
for (auto&& imageMetadata : *measuring.createdImages.Obj())
{
auto image = remote->imageService.GetImage(imageMetadata.id);
image->UpdateFromImageMetadata(imageMetadata);
}
}
if (measuring.fontHeights || measuring.createdImages)
{
// TODO: (enumerable) foreach:indexed(alterable(reversed))
for (vint i = renderersAskingForCache.Count() - 1; i >= 0; i--)
{
@@ -36168,15 +36180,6 @@ GuiRemoteGraphicsRenderTarget
}
}
if (measuring.createdImages)
{
for (auto&& imageMetadata : *measuring.createdImages.Obj())
{
auto image = remote->imageService.GetImage(imageMetadata.id);
image->UpdateFromImageMetadata(imageMetadata);
}
}
if (measuring.minSizes)
{
for (auto&& minSize : *measuring.minSizes.Obj())
@@ -36794,6 +36797,31 @@ Gui3DSplitterElementRenderer
{
}
void Gui3DSplitterElementRenderer::Render(Rect bounds)
{
switch (element->GetDirection())
{
case Gui3DSplitterElement::Horizontal:
if (bounds.Height() < 2)
{
auto y = bounds.y1 + bounds.Height() / 2 - 1;
bounds.y1 = y;
bounds.y2 = y + 2;
}
break;
case Gui3DSplitterElement::Vertical:
if (bounds.Width() < 2)
{
auto x = bounds.x1 + bounds.Width() / 2 - 1;
bounds.x1 = x;
bounds.x2 = x + 2;
}
break;
}
GuiRemoteProtocolElementRenderer<Gui3DSplitterElement, Gui3DSplitterElementRenderer, remoteprotocol::RendererType::SinkSplitter>::Render(bounds);
}
void Gui3DSplitterElementRenderer::SendUpdateElementMessages(bool fullContent, collections::List<remoteprotocol::OrdinaryElementDescVariant>& updatedElements)
{
ElementDesc_SinkSplitter arguments;
@@ -44112,6 +44140,11 @@ namespace vl::presentation::remote_renderer
GetCurrentController()->CallbackService()->UninstallListener(this);
}
bool GuiRemoteRendererSingle::IsDisconnectedFromCore()
{
return disconnectingFromCore;
}
void GuiRemoteRendererSingle::ForceExitByFatelError()
{
if (window)