Skip to content

Add a WinUI3 mode to LottieGen. - #331

Merged
simeoncran merged 8 commits into
masterfrom
WinUI3Switch
Aug 17, 2020
Merged

simeoncran merged 8 commits into
masterfrom
WinUI3Switch

Conversation

@simeoncran

Copy link
Copy Markdown
Contributor

This switch is intended to exist only until we fork LottieGen to be WinUI3 only. Until then it is a convenient way to have the code generator output code that needs little hand tweaking to work with WinUI3.

This switch is intended to exist only until we fork LottieGen to be WinUI3 only. Until then it is a convenient way to have the code generator output code that needs little hand tweaking to work with WinUI3.
@simeoncran
simeoncran requested a review from a team as a code owner August 5, 2020 21:28
Simeon Cran added 4 commits August 5, 2020 14:48
WinUI3 implies the runtime is the latest version.
We don't need the CanvasGeometry class type anyway, but the motivation for this change is to make WinUI3 codegen work better while we don't have an officially supported Win2D.
if (Info.WinUi3)
{
WriteInstantiateAndReturnAnimatedVisual(builder, Info.AnimatedVisualInfos.First());
}

@derobinsMSFT derobinsMSFT Aug 13, 2020 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant. #Closed

readonly string _interface;
readonly string _sourceInterface;
readonly string _winUiNamespace;
readonly string _winui3CastHack;

@derobinsMSFT derobinsMSFT Aug 13, 2020 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

u [](start = 28, length = 1)

Nit: can this be capitalized (for consistency)? #Closed

derobinsMSFT
derobinsMSFT previously approved these changes Aug 13, 2020

@derobinsMSFT derobinsMSFT left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

scott-moore-ms
scott-moore-ms previously approved these changes Aug 13, 2020

@scott-moore-ms scott-moore-ms left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

… different machine.

Getting errors in the pipeline build that seem to be a problem with a machine. I'm hoping this change will cause use to switch machines.
@simeoncran
simeoncran dismissed stale reviews from scott-moore-ms and derobinsMSFT via cf405c6 August 14, 2020 16:54

@derobinsMSFT derobinsMSFT left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@simeoncran
simeoncran merged commit bca0aa3 into master Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants