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

Rename Val evaluate to resolve and implement viewport variant support #9568

Merged
merged 13 commits into from
Aug 29, 2023

Commits on Aug 24, 2023

  1. Added marker components:

    * ExtractUiNode
    * ExtractUiNodeBorder
    * ExtractUiNodeText
    * ExtractUiNodeAtlasImage
    These are added to the relevant UI node bundles.
    
    The UI's extraction functions now have query filters that allow selective extraction of UI node entities:
    * `extract_uinode` has filter `With<ExtractUiNode>`
    * `extract_uinode_borders` has filter `With<ExtractUiNodeBorder>`
    * `extract_text_uinodes` has filter `With<ExtractUiNodeText>`
    * `extract_atlas_uinodes` has filter `With<ExtractUiNodeAtlasImage>`
    ickshonpe committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    0a88bb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. changes to bevy_ui::ui_node::Val

    * Renamed `_with_size` functions to `_with_context`
    
    * Added a `viewport_size` parameter to its methods:
    - `evaluate`
    - `try_add_with_context`
    - `try_add_assign_with_context`
    - `try_sub_with_context`
    - `try_sub_assign_with_context`
    
    * Added support for the viewport `Val` variants to `evaluate`
    ickshonpe committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    4b8a91e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59b3d65 View commit details
    Browse the repository at this point in the history
  3. Fixed doc links

    ickshonpe committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    9bae0ea View commit details
    Browse the repository at this point in the history
  4. Revert "Added marker components:"

    This reverts commit 0a88bb5.
    ickshonpe committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    04733b7 View commit details
    Browse the repository at this point in the history
  5. cargo fmt

    ickshonpe committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    f730a45 View commit details
    Browse the repository at this point in the history
  6. Renamed eval to resolve

    ickshonpe committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    cd3f7ee View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    2d53d25 View commit details
    Browse the repository at this point in the history
  2. Fixed double import

    ickshonpe committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    e93fbcd View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    6631d89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f847f8 View commit details
    Browse the repository at this point in the history
  3. Fixed vieport coord resolve, Viewport Variants are percentages not fr…

    …actions.
    
    Further tweak to comments.
    ickshonpe committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    1f142c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4c5b56 View commit details
    Browse the repository at this point in the history