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

Migrate from LegacyColor to bevy_color::Color #12163

Merged
merged 58 commits into from
Feb 29, 2024

Commits on Feb 27, 2024

  1. Initial port of bevy_gizmos

    Alice Cecile committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    b684a2a View commit details
    Browse the repository at this point in the history
  2. Use impl Into<Color> args in gizmo builder methods

    Alice Cecile committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    138e26c View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Configuration menu
    Copy the full SHA
    fa8ad85 View commit details
    Browse the repository at this point in the history
  2. Use new convenience method in aabb.rs

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    21de265 View commit details
    Browse the repository at this point in the history
  3. Fix color constants in gizmo docs tests

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    e00b6bd View commit details
    Browse the repository at this point in the history
  4. Remove unused import

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    c07ec86 View commit details
    Browse the repository at this point in the history
  5. Add Color::srgba_u8

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    d0dedbd View commit details
    Browse the repository at this point in the history
  6. Add Alpha::set_alpha method

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    9d1f0d5 View commit details
    Browse the repository at this point in the history
  7. Port over fog

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    3829efd View commit details
    Browse the repository at this point in the history
  8. Port over ClearColor

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    ba58dc9 View commit details
    Browse the repository at this point in the history
  9. Add new deprecated Color convenience methods

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    8bc6c4f View commit details
    Browse the repository at this point in the history
  10. Port wireframes

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    8e8d237 View commit details
    Browse the repository at this point in the history
  11. Port sprites

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1df0713 View commit details
    Browse the repository at this point in the history
  12. Port text

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1b46fd1 View commit details
    Browse the repository at this point in the history
  13. Add Alpha::is_fully_transparent and is_fully_opaque

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    0cfe96f View commit details
    Browse the repository at this point in the history
  14. Port bevy_ui

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    c6806fa View commit details
    Browse the repository at this point in the history
  15. Add Mul and Div for LinearRgba

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    2ae656c View commit details
    Browse the repository at this point in the history
  16. Port standard material

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    0621f62 View commit details
    Browse the repository at this point in the history
  17. Port lights

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    5d8212e View commit details
    Browse the repository at this point in the history
  18. Register color types

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    fe75eac View commit details
    Browse the repository at this point in the history
  19. Fix some doc tests

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    a6b8fb4 View commit details
    Browse the repository at this point in the history
  20. Port ColorMaterial and MaterialMesh2d

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    00616e2 View commit details
    Browse the repository at this point in the history
  21. Port UI outlines

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    80cb407 View commit details
    Browse the repository at this point in the history
  22. Add RED/GREEN/BLUE color constants

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b7598cd View commit details
    Browse the repository at this point in the history
  23. to_array -> to_f32_array

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    edd6988 View commit details
    Browse the repository at this point in the history
  24. Add LinearRgba::as_u32

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    d88b2fa View commit details
    Browse the repository at this point in the history
  25. Eliminate remaining uses of LegacyColor

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    58c2eab View commit details
    Browse the repository at this point in the history
  26. Remove LegacyColor

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    c2f52b0 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    1fb2f55 View commit details
    Browse the repository at this point in the history
  28. Use to_f32_array for fog code

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    a094530 View commit details
    Browse the repository at this point in the history
  29. Use WHITE constant

    Co-authored-by: Afonso Lage <lage.afonso@gmail.com>
    alice-i-cecile and afonsolage authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    0dd2ba4 View commit details
    Browse the repository at this point in the history
  30. set_alpha for Oklcha

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    6b50ac6 View commit details
    Browse the repository at this point in the history
  31. Fix fog typo

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    948c1ee View commit details
    Browse the repository at this point in the history
  32. Port over newly added code

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    6d2848e View commit details
    Browse the repository at this point in the history
  33. Merge branch 'color-externals' of https://github.com/alice-i-cecile/bevy

     into color-externals
    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    ca5f22f View commit details
    Browse the repository at this point in the history
  34. Undo Color::NONE -> Color::TRANSPARENT

    Alice Cecile committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    fd6616f View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Clippy

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    6a03503 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66833d4 View commit details
    Browse the repository at this point in the history
  3. Add deprecated rgb_linear methods to ease migration

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    07500da View commit details
    Browse the repository at this point in the history
  4. Fix doc tests failing in CI

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    86614a9 View commit details
    Browse the repository at this point in the history
  5. Clean up redundant import

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    5e52c49 View commit details
    Browse the repository at this point in the history
  6. Tidy up examples

    rparrett committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3d7f8d2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    76567a6 View commit details
    Browse the repository at this point in the history
  8. More CI failures

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    2072eee View commit details
    Browse the repository at this point in the history
  9. Merge branch 'color-externals' of https://github.com/alice-i-cecile/bevy

     into color-externals
    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    4f3115d View commit details
    Browse the repository at this point in the history
  10. Fixup bad rebase

    rparrett committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    d2a8e12 View commit details
    Browse the repository at this point in the history
  11. Fix clippy

    rparrett committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    c06d915 View commit details
    Browse the repository at this point in the history
  12. Use .into where possible

    rparrett committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    8181762 View commit details
    Browse the repository at this point in the history
  13. Use color mixing in example

    Co-authored-by: Zachary Harrold <zac@harrold.com.au>
    alice-i-cecile and bushrat011899 authored Feb 29, 2024
    Configuration menu
    Copy the full SHA
    cf8c4c7 View commit details
    Browse the repository at this point in the history
  14. Improve rgb_from_array

    Co-authored-by: Zachary Harrold <zac@harrold.com.au>
    alice-i-cecile and bushrat011899 authored Feb 29, 2024
    Configuration menu
    Copy the full SHA
    075600b View commit details
    Browse the repository at this point in the history
  15. Merge pull request #165 from rparrett/color-externals-clippy

    More example tidying
    alice-i-cecile authored Feb 29, 2024
    Configuration menu
    Copy the full SHA
    1503719 View commit details
    Browse the repository at this point in the history
  16. Fix more doc tests

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    13584c7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    502f9d6 View commit details
    Browse the repository at this point in the history
  18. Typo in doc test

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    246e65a View commit details
    Browse the repository at this point in the history
  19. Use LinearRgba in more rendering doc tests

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    03fdefc View commit details
    Browse the repository at this point in the history
  20. Fix doc test

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ced8cd4 View commit details
    Browse the repository at this point in the history
  21. Remove Add and Sub from LinearRgba

    Alice Cecile committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    c7fd5e3 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. More doc tests

    Alice Cecile committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    d400acb View commit details
    Browse the repository at this point in the history