From 4f1840da0753c2e3e9d94cceb4127c7fee77dcb4 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Wed, 24 Apr 2019 17:18:41 +0200 Subject: [PATCH] Some tabs --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 0384ba5..18007c2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -44,6 +44,11 @@ int main() env->addStaticText(L"Dungeon Master", rect(150,20,350,40), true); + IGUITabControl* tab = env->addTabControl(rect(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)); -- 2.39.5