1
0
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:
Emil Ernerfeldt
2023-12-08 11:02:57 +01:00
committed by GitHub
parent b1721a3ce7
commit 8d4de866d4
20 changed files with 4 additions and 192 deletions

View File

@@ -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

View File

@@ -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.