Some tabs
authorJavier Sancho <jsf@jsancho.org>
Wed, 24 Apr 2019 15:18:41 +0000 (17:18 +0200)
committerJavier Sancho <jsf@jsancho.org>
Wed, 24 Apr 2019 15:18:41 +0000 (17:18 +0200)
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));