mirror of
https://github.com/edubart/otclient.git
synced 2025-12-15 05:09:46 +01:00
UI tweaks
This commit is contained in:
@@ -458,6 +458,13 @@ void UIWidget::unlockChild(const UIWidgetPtr& child)
|
||||
}
|
||||
}
|
||||
|
||||
void UIWidget::mergeStyle(const OTMLNodePtr& styleNode)
|
||||
{
|
||||
applyStyle(styleNode);
|
||||
m_style->merge(styleNode);
|
||||
updateStyle();
|
||||
}
|
||||
|
||||
void UIWidget::applyStyle(const OTMLNodePtr& styleNode)
|
||||
{
|
||||
if(m_destroyed)
|
||||
|
||||
Reference in New Issue
Block a user