Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/ceguilua/ceguilua-0.5.0/package/elements/TabControl.pkg @ 5942

Last change on this file since 5942 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • 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.