mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Add doclinks to egui_extras::RetainedImage
This commit is contained in:
@@ -1513,8 +1513,8 @@ impl Ui {
|
|||||||
|
|
||||||
/// Show an image here with the given size.
|
/// Show an image here with the given size.
|
||||||
///
|
///
|
||||||
/// In order to display an image you must first acquire a [`TextureHandle`]
|
/// In order to display an image you must first acquire a [`TextureHandle`].
|
||||||
/// using [`Context::load_texture`].
|
/// This is best done with [`egui_extras::RetainedImage`](https://docs.rs/egui_extras/latest/egui_extras/image/struct.RetainedImage.html) or [`Context::load_texture`].
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// struct MyImage {
|
/// struct MyImage {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ use emath::Rot2;
|
|||||||
|
|
||||||
/// An widget to show an image of a given size.
|
/// An widget to show an image of a given size.
|
||||||
///
|
///
|
||||||
/// In order to display an image you must first acquire a [`TextureHandle`]
|
/// In order to display an image you must first acquire a [`TextureHandle`].
|
||||||
/// using [`Context::load_texture`].
|
/// This is best done with [`egui_extras::RetainedImage`](https://docs.rs/egui_extras/latest/egui_extras/image/struct.RetainedImage.html) or [`Context::load_texture`].
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// struct MyImage {
|
/// struct MyImage {
|
||||||
|
|||||||
Reference in New Issue
Block a user