loading ui from files

This commit is contained in:
Eduardo Bart
2011-04-10 04:34:52 -03:00
parent 150afa86f3
commit 792d661dad
15 changed files with 276 additions and 12 deletions

View File

@@ -26,6 +26,12 @@
#include "../fonts.h"
#include "../font.h"
void UIButton::load(const YAML::Node& node)
{
UIElement::load(node);
node["text"] >> m_text;
}
void UIButton::render()
{
UIElement::render();