diff options
Diffstat (limited to 'Dalos/Dalos.cc')
-rw-r--r-- | Dalos/Dalos.cc | 7 |
1 files changed, 5 insertions, 2 deletions
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 <SDL.h> #include <SDL_thread.h> @@ -30,6 +30,7 @@ #include <Buffer.h> #include <BLua.h> #include <LuaHandle.h> +#include <LuaConfigFile.h> #include <engine.h> #include <glbase.h> @@ -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); |