Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/weaponsystem/src/ceguilua/ceguilua-0.5.0/package/elements/TabControl.pkg @ 2898

Last change on this file since 2898 was 2710, checked in by rgrieder, 16 years ago

Merged buildsystem3 containing buildsystem2 containing Adi's buildsystem branch back to the trunk.
Please update the media directory if you were not using buildsystem3 before.

  • Property svn:eol-style set to native
File size: 850 bytes
Line 
1/***********************************************************************
2        TabControl
3***********************************************************************/
4class TabControl : public Window
5{
6        unsigned int getTabCount() const;
7
8        void setSelectedTab(string name);
9        void setSelectedTab(unsigned int ID);
10        void setSelectedTabAtIndex(unsigned int index);
11
12        Window* getTabContentsAtIndex(unsigned int index) const;
13        Window* getTabContents(string name) const;
14        Window* getTabContents(unsigned int ID) const;
15
16        bool isTabContentsSelected(Window* wnd) const;
17        unsigned int getSelectedTabIndex() const;
18
19        const UDim& getTabHeight() const;
20        const UDim& getTabTextPadding() const;
21
22        void setTabHeight(const UDim& height);
23        void setTabTextPadding(const UDim& pad);
24
25        void addTab(Window* wnd);
26
27        void removeTab(unsigned int ID);
28        void removeTab(string name);
29};
Note: See TracBrowser for help on using the repository browser.