Skip to content

Commit

Permalink
Move text into reference folder (#433)
Browse files Browse the repository at this point in the history
This was imported in #241

See also [#masonry > text vs
text2](https://xi.zulipchat.com/#narrow/stream/317477-masonry/topic/text.20vs.20text2)

We do want to sort out text properly, see #337, so I'm keeping the
reference code around.
  • Loading branch information
DJMcNab authored Jul 18, 2024
1 parent 7a28bab commit 732cfa8
Show file tree
Hide file tree
Showing 34 changed files with 1,206 additions and 1,206 deletions.
2 changes: 1 addition & 1 deletion masonry/src/contexts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::action::Action;
use crate::dpi::LogicalPosition;
use crate::promise::PromiseToken;
use crate::render_root::{RenderRootSignal, RenderRootState};
use crate::text2::TextBrush;
use crate::text::TextBrush;
use crate::text_helpers::{ImeChangeSignal, TextFieldRegistration};
use crate::tree_arena::TreeArenaTokenMut;
use crate::widget::{CursorChange, WidgetMut, WidgetState};
Expand Down
2 changes: 1 addition & 1 deletion masonry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub mod app_driver;
pub mod debug_logger;
pub mod debug_values;
pub mod event_loop_runner;
pub mod text2;
pub mod text;
mod tracing_backend;
mod tree_arena;

Expand Down
2 changes: 1 addition & 1 deletion masonry/src/render_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::debug_logger::DebugLogger;
use crate::dpi::{LogicalPosition, LogicalSize, PhysicalSize};
use crate::event::{PointerEvent, TextEvent, WindowEvent};
use crate::kurbo::Point;
use crate::text2::TextBrush;
use crate::text::TextBrush;
use crate::tree_arena::TreeArena;
use crate::widget::{WidgetMut, WidgetRef, WidgetState};
use crate::{
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 732cfa8

Please sign in to comment.