From: Javier Sancho Date: Wed, 24 Apr 2019 15:18:41 +0000 (+0200) Subject: Some tabs X-Git-Url: https://git.jsancho.org/?p=dungeon-master.git;a=commitdiff_plain;h=4f1840da0753c2e3e9d94cceb4127c7fee77dcb4 Some tabs --- 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));