mirror of
https://github.com/edubart/otclient.git
synced 2025-12-24 00:47:10 +01:00
ui loader and some refactoring
This commit is contained in:
@@ -26,12 +26,6 @@
|
||||
#include "graphics/fonts.h"
|
||||
#include "graphics/font.h"
|
||||
|
||||
void UIButton::load(const YAML::Node& node)
|
||||
{
|
||||
UIElement::load(node);
|
||||
node["text"] >> m_text;
|
||||
}
|
||||
|
||||
void UIButton::render()
|
||||
{
|
||||
UIElement::render();
|
||||
|
||||
Reference in New Issue
Block a user