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

avm2: Implement StyleSheet #16303

Merged
merged 5 commits into from
May 14, 2024
Merged

avm2: Implement StyleSheet #16303

merged 5 commits into from
May 14, 2024

Conversation

Dinnerbone
Copy link
Contributor

This does not implement TextField.stylesheet, so you can't really do anything interesting with this stylesheet once it's made. But, the class itself should be fully implemented.

All the interesting logic is extracted out so that AVM1 can share it, too.

@danielhjacobs danielhjacobs added waiting-on-review Waiting on review from a Ruffle team member avm2 AVM2 (ActionScript 3.0) issues text Issues relating to text rendering/input labels May 13, 2024
core/src/avm2/globals/flash/text/text_format.rs Outdated Show resolved Hide resolved
core/src/avm2/globals/flash/text/style_sheet.rs Outdated Show resolved Hide resolved
@Dinnerbone Dinnerbone force-pushed the stylesheet branch 3 times, most recently from 34ebadf to d62e466 Compare May 14, 2024 15:55
@Dinnerbone Dinnerbone enabled auto-merge (rebase) May 14, 2024 18:52
@Lord-McSweeney Lord-McSweeney removed the waiting-on-review Waiting on review from a Ruffle team member label May 14, 2024
@Dinnerbone Dinnerbone merged commit b5948a8 into ruffle-rs:master May 14, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
avm2 AVM2 (ActionScript 3.0) issues text Issues relating to text rendering/input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants