mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Kinetic windows
This commit is contained in:
@@ -55,8 +55,8 @@ impl Label {
|
||||
/// Usage: label!("Foo: {}", bar)
|
||||
#[macro_export]
|
||||
macro_rules! label {
|
||||
($fmt:expr) => (Label::new($fmt));
|
||||
($fmt:expr, $($arg:tt)*) => (Label::new(format!($fmt, $($arg)*)));
|
||||
($fmt:expr) => ($crate::widgets::Label::new($fmt));
|
||||
($fmt:expr, $($arg:tt)*) => ($crate::widgets::Label::new(format!($fmt, $($arg)*)));
|
||||
}
|
||||
|
||||
impl Widget for Label {
|
||||
|
||||
Reference in New Issue
Block a user