Skip to content

Commit

Permalink
testbed for UI (#18091)
Browse files Browse the repository at this point in the history
# Objective

- have a testbed for UI

## Solution

- move previous `ui` example to `full_ui`
- add a testbed ui with several scenes
- `ui_layout_rounding` is one of those scenes, so remove it as a
standalone example

the previous `ui` / new `full_ui` is I think still useful as it has some
things like scroll, debug ui that are not shown anywhere else
  • Loading branch information
mockersf authored Mar 4, 2025
1 parent ff1143e commit 019a6fd
Show file tree
Hide file tree
Showing 5 changed files with 920 additions and 445 deletions.
2 changes: 0 additions & 2 deletions .github/example-run/testbed_ui.ron
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
(
events: [
(100, Screenshot),
(200, AppExit),
]
)
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4168,11 +4168,11 @@ doc-scrape-examples = true
hidden = true

[[example]]
name = "testbed_ui_layout_rounding"
path = "examples/testbed/ui_layout_rounding.rs"
name = "testbed_full_ui"
path = "examples/testbed/full_ui.rs"
doc-scrape-examples = true

[package.metadata.example.testbed_ui_layout_rounding]
[package.metadata.example.testbed_full_ui]
hidden = true

[[example]]
Expand Down
Loading

0 comments on commit 019a6fd

Please sign in to comment.