A standard tab control. More...
#include <IGUITabControl.h>
 Inheritance diagram for irr::gui::IGUITabControl:
 Inheritance diagram for irr::gui::IGUITabControl:A standard tab control.
Definition at line 55 of file IGUITabControl.h.
| irr::gui::IGUITabControl::IGUITabControl | ( | IGUIEnvironment * | environment, | 
| IGUIElement * | parent, | ||
| s32 | id, | ||
| core::rect< s32 > | rectangle | ||
| ) |  [inline] | 
constructor
Definition at line 60 of file IGUITabControl.h.
| virtual IGUITab* irr::gui::IGUITabControl::addTab | ( | const wchar_t * | caption, | 
| s32 | id = -1 | ||
| ) |  [pure virtual] | 
Adds a tab.
| virtual void irr::gui::IGUITabControl::clear | ( | ) |  [pure virtual] | 
Clears the tabcontrol removing all tabs.
| virtual s32 irr::gui::IGUITabControl::getActiveTab | ( | ) | const  [pure virtual] | 
Returns which tab is currently active.
Returns a tab based on zero based index.
| idx,: | zero based index of tab. Is a value betwenn 0 and getTabcount()-1; | 
get the the id of the tab at the given absolute coordinates
| virtual s32 irr::gui::IGUITabControl::getTabCount | ( | ) | const  [pure virtual] | 
Returns amount of tabs in the tabcontrol.
| virtual s32 irr::gui::IGUITabControl::getTabExtraWidth | ( | ) | const  [pure virtual] | 
Get the extra width added to tabs on each side of the text.
return Returns the extra width of the tabs
| virtual s32 irr::gui::IGUITabControl::getTabHeight | ( | ) | const  [pure virtual] | 
Get the height of the tabs.
return Returns the height of the tabs
| virtual s32 irr::gui::IGUITabControl::getTabMaxWidth | ( | ) | const  [pure virtual] | 
get the maximal width of a tab
| virtual gui::EGUI_ALIGNMENT irr::gui::IGUITabControl::getTabVerticalAlignment | ( | ) | const  [pure virtual] | 
Get the alignment of the tabs.
return Returns the alignment of the tabs
| virtual IGUITab* irr::gui::IGUITabControl::insertTab | ( | s32 | idx, | 
| const wchar_t * | caption, | ||
| s32 | id = -1 | ||
| ) |  [pure virtual] | 
Insert the tab at the given index.
| virtual void irr::gui::IGUITabControl::removeTab | ( | s32 | idx | ) |  [pure virtual] | 
Removes a tab from the tabcontrol.
| virtual bool irr::gui::IGUITabControl::setActiveTab | ( | s32 | idx | ) |  [pure virtual] | 
Brings a tab to front.
| idx,: | number of the tab. | 
| virtual bool irr::gui::IGUITabControl::setActiveTab | ( | IGUITab * | tab | ) |  [pure virtual] | 
Brings a tab to front.
| tab,: | pointer to the tab. | 
| virtual void irr::gui::IGUITabControl::setTabExtraWidth | ( | s32 | extraWidth | ) |  [pure virtual] | 
Set the extra width added to tabs on each side of the text.
| virtual void irr::gui::IGUITabControl::setTabHeight | ( | s32 | height | ) |  [pure virtual] | 
Set the height of the tabs.
| virtual void irr::gui::IGUITabControl::setTabMaxWidth | ( | s32 | width | ) |  [pure virtual] | 
set the maximal width of a tab. Per default width is 0 which means "no width restriction".
| virtual void irr::gui::IGUITabControl::setTabVerticalAlignment | ( | gui::EGUI_ALIGNMENT | alignment | ) |  [pure virtual] | 
Set the alignment of the tabs.
Use EGUIA_UPPERLEFT or EGUIA_LOWERRIGHT