summaryrefslogtreecommitdiff
path: root/Dalos
diff options
context:
space:
mode:
authorpixel <pixel>2005-03-30 10:32:23 +0000
committerpixel <pixel>2005-03-30 10:32:23 +0000
commita06c9ff47887df919b7cf83f1a7fd5b195e67416 (patch)
tree8eda53c4ec77047f50b565cc53f20fd5cec2750f /Dalos
parent3a0e89c9257062dcc26f08fe6ea2c3392c2a722b (diff)
Adding LuaConfig class.
Diffstat (limited to 'Dalos')
-rw-r--r--Dalos/Dalos.cc7
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);