source: OGRE/trunk/ogrenew/Dependencies/include/CEGUI/elements/CEGUITabPane.h @ 657

Revision 657, 3.9 KB checked in by mattausch, 19 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1/************************************************************************
2        filename:       CEGUITabPane.h
3        created:        8/8/2004
4        author:         Steve Streeting
5       
6        purpose:        Defines interface for the content area of a tab control
7*************************************************************************/
8/*************************************************************************
9    Crazy Eddie's GUI System (http://www.cegui.org.uk)
10    Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
11
12    This library is free software; you can redistribute it and/or
13    modify it under the terms of the GNU Lesser General Public
14    License as published by the Free Software Foundation; either
15    version 2.1 of the License, or (at your option) any later version.
16
17    This library is distributed in the hope that it will be useful,
18    but WITHOUT ANY WARRANTY; without even the implied warranty of
19    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20    Lesser General Public License for more details.
21
22    You should have received a copy of the GNU Lesser General Public
23    License along with this library; if not, write to the Free Software
24    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25*************************************************************************/
26#ifndef _CEGUITabPane_h_
27#define _CEGUITabPane_h_
28
29#include "elements/CEGUIStatic.h"
30
31
32#if defined(_MSC_VER)
33#       pragma warning(push)
34#       pragma warning(disable : 4251)
35#endif
36
37
38// Start of CEGUI namespace section
39namespace CEGUI
40{
41/*!
42\brief
43        Base class for a tab pane.
44*/
45class CEGUIEXPORT TabPane : public Static
46{
47public:
48        /*************************************************************************
49                Construction and Destruction
50        *************************************************************************/
51        /*!
52        \brief
53                Constructor for tab pane widgets.
54        */
55    TabPane(const String& type, const String& name) : Static(type, name) {}
56
57
58        /*!
59        \brief
60                Destructor for tab pane widgets.
61        */
62    virtual ~TabPane(void) {}
63
64
65        /*************************************************************************
66                Accessors
67        *************************************************************************/
68
69        /*************************************************************************
70                Manipulators
71        *************************************************************************/
72
73protected:
74        /*************************************************************************
75                Overridden from base class
76        *************************************************************************/
77
78    /*************************************************************************
79                Implementation methods
80        *************************************************************************/
81        /*!
82        \brief
83                Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.
84
85        \param class_name
86                The class name that is to be checked.
87
88        \return
89                true if this window was inherited from \a class_name. false if not.
90        */
91        virtual bool    testClassName_impl(const String& class_name) const
92        {
93                if (class_name==(const utf8*)"Tabpane") return true;
94                return Static::testClassName_impl(class_name);
95        }
96
97        /*************************************************************************
98                Implementation Data
99        *************************************************************************/
100
101private:
102        /*************************************************************************
103                Static Properties for this class
104        *************************************************************************/
105
106
107        /*************************************************************************
108                Private methods
109        *************************************************************************/
110};
111
112} // End of  CEGUI namespace section
113
114#if defined(_MSC_VER)
115#       pragma warning(pop)
116#endif
117
118#endif  // end of guard _CEGUITabPane_h_
Note: See TracBrowser for help on using the repository browser.