Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.5.0/package/elements/TabControl.pkg @ 2608

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

Large cleanup in CEGUILua:

  • Removed the heavy 1.7MB bind files and added the small pkg files from the CEGUI source instead
  • Those pkg files get copied version incrementally (starting with 0.5.0) to the binary dir. That saves a lot of files when having 4 different versions.
  • Added support for CEGUI 0.6.0 and 0.6.2
  • Added library info files
  • CEGUILua 0.5.0 finally supports Lua 5.1 too That means all version support both Lua 5.0 and 5.1
  • Added unified diffs with the changes to the CEGUILua source
  • 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.