[1812] | 1 | /************************************************************************
|
---|
| 2 | filename: CEGUIItemListBaseProperties.h
|
---|
| 3 | created: 5/4/2005
|
---|
| 4 | author: Tomas Lindquist Olsen (based on code by Paul D Turner)
|
---|
| 5 | *************************************************************************/
|
---|
| 6 | /*************************************************************************
|
---|
| 7 | Crazy Eddie's GUI System (http://www.cegui.org.uk)
|
---|
| 8 | Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
|
---|
| 9 |
|
---|
| 10 | This library is free software; you can redistribute it and/or
|
---|
| 11 | modify it under the terms of the GNU Lesser General Public
|
---|
| 12 | License as published by the Free Software Foundation; either
|
---|
| 13 | version 2.1 of the License, or (at your option) any later version.
|
---|
| 14 |
|
---|
| 15 | This library is distributed in the hope that it will be useful,
|
---|
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 18 | Lesser General Public License for more details.
|
---|
| 19 |
|
---|
| 20 | You should have received a copy of the GNU Lesser General Public
|
---|
| 21 | License along with this library; if not, write to the Free Software
|
---|
| 22 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
| 23 | *************************************************************************/
|
---|
| 24 | #ifndef _CEGUIItemListBaseProperties_h_
|
---|
| 25 | #define _CEGUIItemListBaseProperties_h_
|
---|
| 26 |
|
---|
| 27 | #include "CEGUIProperty.h"
|
---|
| 28 |
|
---|
| 29 | // Start of CEGUI namespace section
|
---|
| 30 | namespace CEGUI
|
---|
| 31 | {
|
---|
| 32 | // Start of ItemListBaseProperties namespace section
|
---|
| 33 | namespace ItemListBaseProperties
|
---|
| 34 | {
|
---|
| 35 | /*!
|
---|
| 36 | \brief
|
---|
| 37 | Property to access the state of the auto resize enabled setting.
|
---|
| 38 |
|
---|
| 39 | \par Usage:
|
---|
| 40 | - Name: AutoResizeEnabled
|
---|
| 41 | - Format: "[text]".
|
---|
| 42 |
|
---|
| 43 | \par Where [Text] is:
|
---|
| 44 | - "True" to indicate that auto resizing is enabled.
|
---|
| 45 | - "False" to indicate that auto resizing is disabled.
|
---|
| 46 | */
|
---|
| 47 | class AutoResizeEnabled : public Property
|
---|
| 48 | {
|
---|
| 49 | public:
|
---|
| 50 | AutoResizeEnabled() : Property(
|
---|
| 51 | "AutoResizeEnabled",
|
---|
| 52 | "Property to get/set the state of the auto resizing enabled setting for the ItemListBase. Value is either \"True\" or \"False\".",
|
---|
| 53 | "False")
|
---|
| 54 | {}
|
---|
| 55 |
|
---|
| 56 | String get(const PropertyReceiver* receiver) const;
|
---|
| 57 | void set(PropertyReceiver* receiver, const String& value);
|
---|
| 58 | };
|
---|
| 59 |
|
---|
| 60 | } // End of ItemListBaseProperties namespace section
|
---|
| 61 | } // End of CEGUI namespace section
|
---|
| 62 |
|
---|
| 63 | #endif // end of guard _CEGUIItemListBaseProperties_h_
|
---|