mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Use Rust edition 2024 (#7280)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
//! * `ui.add(Label::new("Text").text_color(color::red));`
|
||||
//! * `if ui.add(Button::new("Click me")).clicked() { … }`
|
||||
|
||||
use crate::{epaint, Response, Ui};
|
||||
use crate::{Response, Ui, epaint};
|
||||
|
||||
mod button;
|
||||
mod checkbox;
|
||||
@@ -28,8 +28,8 @@ pub use self::{
|
||||
drag_value::DragValue,
|
||||
hyperlink::{Hyperlink, Link},
|
||||
image::{
|
||||
decode_animated_image_uri, has_gif_magic_header, has_webp_header, paint_texture_at,
|
||||
FrameDurations, Image, ImageFit, ImageOptions, ImageSize, ImageSource,
|
||||
decode_animated_image_uri, has_gif_magic_header, has_webp_header, paint_texture_at,
|
||||
},
|
||||
image_button::ImageButton,
|
||||
label::Label,
|
||||
|
||||
Reference in New Issue
Block a user