3 This file is part of libmspgltk
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #include "userinterface.h"
13 UserInterface::UserInterface(Resources &r, Graphics::Window &w):
18 UserInterface::Loader::Loader(UserInterface &u):
21 add("logic", &Loader::logic);
22 add("root", &Loader::root);
25 void UserInterface::Loader::logic()
27 load_sub(ui.logic, ui.widgets);
30 void UserInterface::Loader::root()
32 load_sub(ui.root, ui.widgets);