From a06c9ff47887df919b7cf83f1a7fd5b195e67416 Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 30 Mar 2005 10:32:23 +0000 Subject: Adding LuaConfig class. --- Dalos/Dalos.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Dalos') diff --git a/Dalos/Dalos.cc b/Dalos/Dalos.cc index 4a045ef..fb4c37d 100644 --- a/Dalos/Dalos.cc +++ b/Dalos/Dalos.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Dalos.cc,v 1.15 2005-02-24 11:30:04 pixel Exp $ */ +/* $Id: Dalos.cc,v 1.16 2005-03-30 10:32:23 pixel Exp $ */ #include #include @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -124,6 +125,8 @@ void start_lua() { LuaInput::pushconstruct(L); LuaOutput::pushconstruct(L); LuaBuffer::pushconstruct(L); + + LuaConfigFile::pushstatics(L); CD_PUSHSTATICS(L); Luapsx::pushstatics(L); @@ -316,7 +319,7 @@ virtual int startup() throw (GeneralException) { MainMenu = new mogltk::widgets::Menu(sh, MainPanel); Frame = new frame(sh, new mogltk::widgets::Frame(sh, MainPanel, 0, MainMenu->GetH(), Root->GetW() - 1, Root->GetH() - MainMenu->GetH() - 1)); - mogltk::widget * box = new mogltk::widgets::SmartBox(sh, MainPanel, 50, 50, 500, 400, "Hexview"); + mogltk::widget * box = new mogltk::widgets::SmartBoxClose(sh, MainPanel, 50, 50, 500, 400, "Hexview"); (new hexview(sh, box->InnerPanel()))->bind_handle(new Input(argv[0])); CurrentConsole = new console(sh, Root, 0, 8); -- cgit v1.2.3