-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Ui Node Borders #7795
Merged
Merged
Ui Node Borders #7795
Commits on Feb 23, 2023
-
* Added the module `border` * Added `BorderStyle` and `CalculatedBorder` types. * Added `border_style` and `calculated_border` fields to `NodeBundle` and `ButtonBundle` * Added the `extract_uinode_borders` system to the UI Render App. * Added the `calculate_borders_system` which calculates the border geometry for each node. * Added the UI example `borders` * Changed the button example to give the button a border.
Configuration menu - View commit details
-
Copy full SHA for 46b7e5e - Browse repository at this point
Copy the full SHA 46b7e5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f91e4f3 - Browse repository at this point
Copy the full SHA f91e4f3View commit details -
* Changed `calculate_borders_system` to remove the previous border geometry of degnerate nodes before continuing.
Configuration menu - View commit details
-
Copy full SHA for b485e17 - Browse repository at this point
Copy the full SHA b485e17View commit details -
Configuration menu - View commit details
-
Copy full SHA for de7c9d8 - Browse repository at this point
Copy the full SHA de7c9d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for caa72fd - Browse repository at this point
Copy the full SHA caa72fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d77ebe9 - Browse repository at this point
Copy the full SHA d77ebe9View commit details -
force inner_min <= inner_max to prevent overlap of opposite edge bord…
…ers in `calculate_borders_system`
Configuration menu - View commit details
-
Copy full SHA for df56157 - Browse repository at this point
Copy the full SHA df56157View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba63de0 - Browse repository at this point
Copy the full SHA ba63de0View commit details
Commits on Feb 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f3f9a16 - Browse repository at this point
Copy the full SHA f3f9a16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 457648c - Browse repository at this point
Copy the full SHA 457648cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2b214c - Browse repository at this point
Copy the full SHA e2b214cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51e8088 - Browse repository at this point
Copy the full SHA 51e8088View commit details
Commits on Mar 1, 2023
-
* moved `compute_matrix` out of loop * added comments to border module * removed border overflow clamping
Configuration menu - View commit details
-
Copy full SHA for 6630107 - Browse repository at this point
Copy the full SHA 6630107View commit details
Commits on Mar 3, 2023
-
* Renamed `BorderStyle` to `BorderColor` and made it a tuple-struct. * Added `BorderBundle` which contains the components needed by a node to draw a border. * Renamed the `border_style` fields of `NodeBundle` and `ButtonBundle` to `border_color`.
Configuration menu - View commit details
-
Copy full SHA for 0e7fdff - Browse repository at this point
Copy the full SHA 0e7fdffView commit details
Commits on Mar 11, 2023
-
* Removed the `borders` module. * Removed the `CalculatedBorder` type. * Removed the `calculate_borders_system * Moved the border rect calculations into `extract_uinode_borders`.
Configuration menu - View commit details
-
Copy full SHA for d806d33 - Browse repository at this point
Copy the full SHA d806d33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4202bde - Browse repository at this point
Copy the full SHA 4202bdeView commit details
Commits on Apr 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9eb6262 - Browse repository at this point
Copy the full SHA 9eb6262View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98c88b6 - Browse repository at this point
Copy the full SHA 98c88b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29e2205 - Browse repository at this point
Copy the full SHA 29e2205View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9278f - Browse repository at this point
Copy the full SHA ac9278fView commit details
Commits on Apr 18, 2023
-
Co-authored-by: Nico Burns <nico@nicoburns.com>
Configuration menu - View commit details
-
Copy full SHA for f496b54 - Browse repository at this point
Copy the full SHA f496b54View commit details -
Configuration menu - View commit details
-
Copy full SHA for e886d7b - Browse repository at this point
Copy the full SHA e886d7bView commit details -
* fixed viewport size calculation in `extract_uinode_borders` * added `viewport_debug` example
Configuration menu - View commit details
-
Copy full SHA for 4f0e38b - Browse repository at this point
Copy the full SHA 4f0e38bView commit details
Commits on May 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5dcae37 - Browse repository at this point
Copy the full SHA 5dcae37View commit details -
Configuration menu - View commit details
-
Copy full SHA for d045842 - Browse repository at this point
Copy the full SHA d045842View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1550763 - Browse repository at this point
Copy the full SHA 1550763View commit details -
* To calculate the logical size of the viewport for viewport coordinates, the physical size of the window shouldn't be multipied by the `UiScale` only the window's scale factor. * Use the viewport width to determine the border thickness for root UI nodes with percentage border values.
Configuration menu - View commit details
-
Copy full SHA for ad17940 - Browse repository at this point
Copy the full SHA ad17940View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8878cf - Browse repository at this point
Copy the full SHA f8878cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3dcf7c - Browse repository at this point
Copy the full SHA e3dcf7cView commit details
Commits on Jun 9, 2023
-
Added a comment explaining that percentage border values are calculat…
…ed from parent width.
Configuration menu - View commit details
-
Copy full SHA for af4c565 - Browse repository at this point
Copy the full SHA af4c565View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbf687e - Browse repository at this point
Copy the full SHA fbf687eView commit details
Commits on Jun 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7adbf2c - Browse repository at this point
Copy the full SHA 7adbf2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2bc8c6 - Browse repository at this point
Copy the full SHA d2bc8c6View commit details
Commits on Jun 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b34f363 - Browse repository at this point
Copy the full SHA b34f363View commit details
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.