mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
implement text/nex renderer
This commit is contained in:
parent
02eb8e4a71
commit
337bf32707
7 changed files with 349 additions and 6 deletions
|
|
@ -152,6 +152,14 @@ impl Content {
|
|||
text
|
||||
}
|
||||
|
||||
/// [text/nex](https://nightfall.city/nex/info/specification.txt)
|
||||
pub fn to_text_nex(&self, base: &Uri, data: &str) -> Text {
|
||||
self.clean();
|
||||
let text = Text::nex((&self.window_action, &self.item_action), base, data);
|
||||
self.g_box.append(&text.scrolled_window);
|
||||
text
|
||||
}
|
||||
|
||||
pub fn to_directory(
|
||||
&self,
|
||||
file: &File,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue