From 4b4ee650bf57c907b6fcecfb5890776253c84d85 Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Sat, 29 Jun 2024 11:52:24 +0900 Subject: [PATCH] Update output.rs --- crates/egui/src/data/output.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/crates/egui/src/data/output.rs b/crates/egui/src/data/output.rs index d3dcc8bfe51..f9acce36d1f 100644 --- a/crates/egui/src/data/output.rs +++ b/crates/egui/src/data/output.rs @@ -70,6 +70,15 @@ impl FullOutput { #[derive(Copy, Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] pub struct IMEOutput { + /// is visible IME? + pub visible: bool, + + /// is allowed IME? + pub allowed_ime: bool, + + /// Indicates whether the IME is currently active. + pub ime_enabled: bool, + /// Where the [`crate::TextEdit`] is located on screen. pub rect: crate::Rect,