mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Remove deprecated functions (#3692)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#![allow(deprecated)]
|
||||
|
||||
use egui::{mutex::Mutex, TextureFilter, TextureOptions};
|
||||
use egui::{mutex::Mutex, TextureOptions};
|
||||
|
||||
#[cfg(feature = "svg")]
|
||||
pub use usvg::FitTo;
|
||||
@@ -123,14 +123,6 @@ impl RetainedImage {
|
||||
self
|
||||
}
|
||||
|
||||
#[deprecated = "Use with_options instead"]
|
||||
pub fn with_texture_filter(self, filter: TextureFilter) -> Self {
|
||||
self.with_options(TextureOptions {
|
||||
magnification: filter,
|
||||
minification: filter,
|
||||
})
|
||||
}
|
||||
|
||||
/// The size of the image data (number of pixels wide/high).
|
||||
pub fn size(&self) -> [usize; 2] {
|
||||
self.size
|
||||
|
||||
@@ -278,11 +278,6 @@ impl<'a> TableBuilder<'a> {
|
||||
self
|
||||
}
|
||||
|
||||
#[deprecated = "Renamed to vscroll"]
|
||||
pub fn scroll(self, vscroll: bool) -> Self {
|
||||
self.vscroll(vscroll)
|
||||
}
|
||||
|
||||
/// Enables scrolling the table's contents using mouse drag (default: `true`).
|
||||
///
|
||||
/// See [`ScrollArea::drag_to_scroll`] for more.
|
||||
|
||||
Reference in New Issue
Block a user