|
@ -1,13 +1,10 @@ |
|
|
use std::collections::{HashMap, HashSet}; |
|
|
use std::collections::{HashMap, HashSet}; |
|
|
|
|
|
|
|
|
use crate::{ |
|
|
use crate::{ |
|
|
area, collapsing_header, menu, |
|
|
area, collapsing_header, menu, resize, scroll_area, util::Cache, widgets::text_edit, window, |
|
|
paint::color::{Color32, Hsva}, |
|
|
Id, LayerId, Pos2, Rect, Style, |
|
|
resize, scroll_area, |
|
|
|
|
|
util::Cache, |
|
|
|
|
|
widgets::text_edit, |
|
|
|
|
|
window, Id, LayerId, Pos2, Rect, Style, |
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
use epaint::color::{Color32, Hsva}; |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
@ -68,9 +65,9 @@ pub(crate) struct Options { |
|
|
#[cfg_attr(feature = "persistence", serde(skip))] |
|
|
#[cfg_attr(feature = "persistence", serde(skip))] |
|
|
pub(crate) style: std::sync::Arc<Style>, |
|
|
pub(crate) style: std::sync::Arc<Style>, |
|
|
/// Controls the tessellator.
|
|
|
/// Controls the tessellator.
|
|
|
pub(crate) tessellation_options: crate::paint::TessellationOptions, |
|
|
pub(crate) tessellation_options: epaint::TessellationOptions, |
|
|
/// Font sizes etc.
|
|
|
/// Font sizes etc.
|
|
|
pub(crate) font_definitions: crate::paint::text::FontDefinitions, |
|
|
pub(crate) font_definitions: epaint::text::FontDefinitions, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
// ----------------------------------------------------------------------------
|
|
|