using tabs

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
rogerdv
Posts: 93
Joined: Wed Aug 27, 2003 4:20 pm

using tabs

Post by rogerdv »

What is the proper way to define and use tabs? I tried adding with gui environment, but i cant see them.
ru guo ni yao ai, ni jiang bu hui shi qu
Guest

Post by Guest »

Create an IGUITabControl and have that addTab(), instead of your GUI Environment.
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Post by warui »

Check Mesh Viewer tutorial.
Tomasz Nowakowski
Openoko - www.openoko.pl
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

Post by Wolf Dreamer »

// create tab control and tabs
IGUITabControl* tab = env->addTabControl(
core::rect<s32>(2,20,640-452,480-7), wnd, true, true);
IGUITab* t1 = tab->addTab(L"Scale");
IGUITab* t2 = tab->addTab(L"Empty Tab");
Are they off screen? I tried to add more than would fit on the tool window in the meshviewer example. It depends on how long the name is.

Just play around with the numbers, and see what you can do. It is unfortunate we can't do more tabs like other Windows programs have... normally when they don't all fit in one line, another row beneath them can be made.
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
Post Reply