X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fuserinterface.cpp;h=5bbe6ca2ed6e9a521b1faecaca7275d52df01fdb;hb=HEAD;hp=7f976da5c898b33eff2a36ffb8413a87969eaf6a;hpb=86d9edd57268b4ebdc92844d65db4469d516b1d1;p=libs%2Fgltk.git diff --git a/source/userinterface.cpp b/source/userinterface.cpp deleted file mode 100644 index 7f976da..0000000 --- a/source/userinterface.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id$ - -This file is part of libmspgltk -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#include "userinterface.h" - -namespace Msp { -namespace GLtk { - -UserInterface::UserInterface(Resources &r, Graphics::Window &w): - root(r, w) -{ } - - -UserInterface::Loader::Loader(UserInterface &u): - ui(u) -{ - add("logic", &Loader::logic); - add("root", &Loader::root); -} - -void UserInterface::Loader::logic() -{ - load_sub(ui.logic, ui.widgets); -} - -void UserInterface::Loader::root() -{ - load_sub(ui.root, ui.widgets); -} - -} // namespace GLtk -} // namespace Msp