]> git.jsancho.org Git - dungeon-master.git/blobdiff - src/main.cpp
Some tabs
[dungeon-master.git] / src / main.cpp
index 0384ba5d957ffb9cb2e78e0c426e97b3ce05c31d..18007c215a26344ec62217f284087ad99de060ca 100644 (file)
@@ -44,6 +44,11 @@ int main()
 
   env->addStaticText(L"Dungeon Master", rect<s32>(150,20,350,40), true);
 
+  IGUITabControl* tab = env->addTabControl(rect<s32>(50, 60, 850, 600));
+  tab->addTab(L"First");
+  tab->addTab(L"Second");
+  tab->addTab(L"Third");
+
   while (device->run())
     {
       driver->beginScene(true, true, SColor(0, 200, 200, 200));