mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
@@ -1572,7 +1572,7 @@ impl Ui {
|
|||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// Se also [`crate::Image`] and [`crate::ImageButton`].
|
/// See also [`crate::Image`] and [`crate::ImageButton`].
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn image(&mut self, texture_id: impl Into<TextureId>, size: impl Into<Vec2>) -> Response {
|
pub fn image(&mut self, texture_id: impl Into<TextureId>, size: impl Into<Vec2>) -> Response {
|
||||||
Image::new(texture_id, size).ui(self)
|
Image::new(texture_id, size).ui(self)
|
||||||
|
|||||||
Reference in New Issue
Block a user