wgui: interactable components, rename TextLabel -> WidgetLabel
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
use crate::{
|
||||
layout::WidgetID,
|
||||
parser::{
|
||||
ParserContext, ParserFile, iter_attribs, parse_children, parse_widget_universal, style::parse_style,
|
||||
ParserContext, ParserFile, iter_attribs, parse_children, parse_widget_universal,
|
||||
style::parse_style,
|
||||
},
|
||||
widget,
|
||||
};
|
||||
@@ -17,7 +18,7 @@ pub fn parse_widget_div<'a, U1, U2>(
|
||||
|
||||
let (new_id, _) = ctx
|
||||
.layout
|
||||
.add_child(parent_id, widget::div::Div::create()?, style)?;
|
||||
.add_child(parent_id, widget::div::WidgetDiv::create()?, style)?;
|
||||
|
||||
parse_widget_universal(file, ctx, node, new_id)?;
|
||||
parse_children(file, ctx, node, new_id)?;
|
||||
|
||||
Reference in New Issue
Block a user