cuicui_layout_bevy_sprite

Crates.iocuicui_layout_bevy_sprite
lib.rscuicui_layout_bevy_sprite
version0.12.0
sourcesrc
created_at2023-07-08 18:53:32.843775
updated_at2023-11-10 15:01:03.22308
descriptionIntegration with bevy_sprite for cuicui_layout
homepage
repositoryhttps://github.com/nicopap/cuicui_layout
max_upload_size
id911619
size21,831
Nicola Papale (nicopap)

documentation

README

cuicui_layout integration for bevy_sprite

The Book Documentation

Provide the SpriteDsl trait, extending the cuicui_layout's LayoutDsl with the following features:

  • Sprite background color
  • Sprite background image
  • Direct spawning of text and images as argument to ui.

Note that this is in addition to the methods LayoutDsl already supports.

Additionally, cuicui_layout_bevy_sprite provides a ContentSized implementation that supports Text2dBounds and Handle<Image> terminal nodes which size is determined by their content.

Check the following crates for details:

Commit count: 266

cargo fmt