From de204b54361ce2362091faf40f9d87d0455d7591 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 6 Feb 2021 11:48:57 +0100 Subject: [PATCH] Improve documentation of style-related functions and types --- egui/src/context.rs | 14 ++++++++++++-- egui/src/style.rs | 34 +++++++++++++++++++++------------- egui/src/ui.rs | 32 ++++++++++++++++++++++++++++---- 3 files changed, 61 insertions(+), 19 deletions(-) diff --git a/egui/src/context.rs b/egui/src/context.rs index 3884f840..0c92625d 100644 --- a/egui/src/context.rs +++ b/egui/src/context.rs @@ -452,17 +452,27 @@ impl Context { self.memory().options.font_definitions = font_definitions; } - /// The [`Style`] used by all new windows, panels etc. + /// The [`Style`] used by all subsequent windows, panels etc. pub fn style(&self) -> Arc