mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Make DefaultStyle pub
This commit is contained in:
@@ -10,8 +10,10 @@ use crate::{
|
||||
},
|
||||
};
|
||||
|
||||
/// The default [`StyleProvider`], implementing the default egui look based on
|
||||
/// [`crate::style::WidgetVisuals`].
|
||||
#[derive(Debug, Clone)]
|
||||
pub(super) struct DefaultStyle;
|
||||
pub struct DefaultStyle;
|
||||
|
||||
impl StyleProvider<BaseStyle> for DefaultStyle {
|
||||
fn style(&mut self, modifiers: &StyleArgs<'_>) -> BaseStyle {
|
||||
|
||||
@@ -8,7 +8,7 @@ mod default_style;
|
||||
mod style_provider;
|
||||
mod themes;
|
||||
|
||||
pub use self::{style_provider::StyleProvider, themes::Themes};
|
||||
pub use self::{style_provider::StyleProvider, themes::Themes, default_style::DefaultStyle};
|
||||
|
||||
use crate::{
|
||||
Ui,
|
||||
|
||||
Reference in New Issue
Block a user