Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't edit CAAR files' color #30

Open
Shugabuga opened this issue Mar 4, 2017 · 3 comments
Open

Can't edit CAAR files' color #30

Shugabuga opened this issue Mar 4, 2017 · 3 comments

Comments

@Shugabuga
Copy link

Shugabuga commented Mar 4, 2017

In the "Raw Data" section of ThemeEngine, .CAAR files are present and, despite it being visible and having options to change orientation and blending mode, provides no way of editing their color.

@mgroth0
Copy link

mgroth0 commented Mar 13, 2017

+1

@alexzielenski
Copy link
Owner

alexzielenski commented Mar 15, 2017

.caar files correspond to CoreAnimation Archives. They are encoded versions of CALayer trees that get duplicated in your app interfaces. CoreAnimation layers just have so many properties that I did not get around to building an editor for this file type because that would be an undertaking of itself on top of even getting ThemeEngine to work.

I invite you to edit .caar files programmatically by modifying the rootLayer property on TKRawDataRendition to a new instance of CALayer. This function calls CAEncodeLayerTree which is capable of encoding your own instances of CALayer into the format or .caar.

@hoanglinh294
Copy link

I don't understand this problem, can you explain it more clearly?

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

No branches or pull requests

4 participants