made significant upgrades to the rendering API. now need to move all applications to the new API and deprecate the old one.

This commit is contained in:
2025-02-18 03:59:34 +00:00
parent a8b8d61112
commit c3c4633cf1
7 changed files with 172 additions and 84 deletions
-7
View File
@@ -136,13 +136,6 @@ impl Application for Grapher {
entry_widget.update(entry);
if let Ok(frame) = container.render() {
let self_widget = container.elements.get("grapher").unwrap();
let _self_clone = self_widget.fetch::<Grapher>().unwrap();
let entry = container.elements.get("entry_box").unwrap();
let _entry_clone = entry.fetch::<CgLineEdit>().unwrap();
frame.write_to_screen().map_err(|_| Error::ApplicationError(String::from("failed to write to screen")))?;
}
}