[][src]Module imgui_ext::image_button

image_button(...) docs.

Params

  • size path to a function that returns the size of the image.

Optional params

  • background path to a function that returns the background color to be used.
  • tint path to a function that returns a color to tint the image with.
  • frame_padding an i32.
  • uv0 path to a function that returns the first uv coordinate to be used. The default value is [0.0, 0.0].
  • uv0 path to a function that returns the second uv coordinate. The default value is [1.0, 1.0].

Example

Result

Structs

ImageButtonParams

Traits

ImageButton