From 33e6b9627e6a46d388d46f2c5b4d15ba7e9f9904 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 18 Oct 2017 21:34:55 -0400 Subject: Started refactoring * Finished a basic server * Changed from ZMQ to nanomsg (basically the same though) * Moved some repeated code from the client/server directories into "shared" * Edited makefile to reflect new dependencies --- src/client/menuhandeler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/menuhandeler.cpp') diff --git a/src/client/menuhandeler.cpp b/src/client/menuhandeler.cpp index 830c695..53d38cc 100644 --- a/src/client/menuhandeler.cpp +++ b/src/client/menuhandeler.cpp @@ -15,7 +15,8 @@ using namespace io; using namespace gui; void loadMenu(const char* name, IrrlichtDevice* device){ - + IGUIEnvironment* env = device->getGUIEnvironment(); + IGUIWindow* window = env->addWindow(rect(0,0,200,200),true,L"Menu",0,-1); } void showMenu(const char* name, IrrlichtDevice* device){ -- cgit v1.2.3-70-g09d2