Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SamRodri committed Oct 17, 2024
1 parent a8252ad commit 1aaaee2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased

* Add `FrameBuilder::render_widgets` and `render_update_widgets` to `FrameBuilder` and `FrameUpdate` to inspect external render requests.
* Implement support for raster and svg emojis.
* Add `FontFace::ttf` to quickly access the full parsed TTF data.
* Add `has_raster_images` and `has_svg_images` method to `FontFace` and `ShapedText`.
Expand Down
5 changes: 5 additions & 0 deletions crates/zng-app/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2736,6 +2736,11 @@ impl FrameUpdate {
take_or_append(&mut self.extensions, &mut nested.extensions);
}

/// External render update requests for this frame.
pub fn render_update_widgets(&self) -> &Arc<RenderUpdates> {
&self.render_update_widgets
}

/// Finalize the update.
///
/// Returns the property updates and the new clear color if any was set.
Expand Down
1 change: 1 addition & 0 deletions crates/zng/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
//! };
//! }
//! }
//! # fn main() { }
//! ```
//!
//! # Full API
Expand Down

0 comments on commit 1aaaee2

Please sign in to comment.