1 #include <irrlicht/irrlicht.h>
13 IrrlichtDevice* device =
14 createDevice(EDT_OPENGL,
15 dimension2d<u32>(640, 480), 16,
16 false, false, false, 0);
20 device->setWindowCaption(L"Dungeon Master");
22 IVideoDriver* driver = device->getVideoDriver();
23 IGUIEnvironment* env = device->getGUIEnvironment();
25 env->addStaticText(L"Dungeon Master", rect<s32>(150,20,350,40), true);
27 IGUITabControl* tab = env->addTabControl(rect<s32>(50, 60, 850, 600));
28 tab->addTab(L"First");
29 tab->addTab(L"Second");
30 tab->addTab(L"Third");
34 driver->beginScene(true, true, SColor(0, 200, 200, 200));