-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Text rework #15591
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
Merged
Merged
Text rework #15591
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
e782612
text rework WIP
UkoeHB 88ac373
rework WIP
UkoeHB 91be8cb
text rework WIP
UkoeHB 94b1b13
cleanup WIP
UkoeHB a1cc06d
cleanup WIP
UkoeHB 120c4a4
crates compile
UkoeHB 3045288
bevy_text tests work
UkoeHB 00ef953
ui::text example works
UkoeHB aa84ebb
TextReader/TextWriter WIP
UkoeHB f4d19ae
TextReader/TextWriter system params
UkoeHB b8df0a8
API adjustments, text_debug example
UkoeHB 6090ba0
ui examples migrated
UkoeHB 21ff426
2d examples migrated
UkoeHB 256836e
add iteration tool to TextWriter; animation examples migrated
UkoeHB 7f18c45
Update text stress tests (#4)
ickshonpe 1293b35
move font_smoothing to TextStyle; add empty() method to Text/Text2d
UkoeHB 35c2bc5
add Clone to TextBlock; remove BackgroundColor req from Text
UkoeHB 18ed641
warn if a text span entity has TextBlock
UkoeHB 6832cc9
add TextBuilderExt for EntityCommands
UkoeHB f4d3078
add spawn_text_block() extension method for Commands/EntityCommands
UkoeHB b90e158
use IntoIterator for text builders
UkoeHB 2938060
add warnings to detect_text_needs_rerender
UkoeHB 24994dd
update dev_tools; add EntityCommands::commands_mut
UkoeHB c237922
3d examples migrated
UkoeHB b4fb7ab
app/asset/async_tasks/audio/camera/ecs/games examples migrated
UkoeHB f6014f9
detect orphaned span subtrees
UkoeHB 7dcbe6f
remaining examples migrated
UkoeHB cce1470
Remove spawn_text_block and with_spans
cart 57056b0
migration fix
UkoeHB 9c1adde
rebase fixes
UkoeHB b93434d
Remove Text2d::empty()
cart 199422d
TextNEW -> Text
cart 8f55fe0
fmt
cart 8ca3ccb
More empty -> default
cart d9f12a2
Share TextSpan across contexts. Port remaining examples
cart 61a864c
Remove span generics
cart bc1008a
clippy fixes
UkoeHB da42e96
rebase fixes
UkoeHB cf90e1c
lints and lingering example migrations
UkoeHB 1092adc
doc fixes; system ambiguity fixes
UkoeHB d584d08
ambiguity fixes
UkoeHB File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.