CEGUIScrolledContainerProperties.h

00001 /************************************************************************
00002         filename:       CEGUIScrolledContainerProperties.h
00003         created:        3/3/2005
00004         author:         Paul D Turner
00005 *************************************************************************/
00006 /*************************************************************************
00007     Crazy Eddie's GUI System (http://www.cegui.org.uk)
00008     Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
00009 
00010     This library is free software; you can redistribute it and/or
00011     modify it under the terms of the GNU Lesser General Public
00012     License as published by the Free Software Foundation; either
00013     version 2.1 of the License, or (at your option) any later version.
00014 
00015     This library is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018     Lesser General Public License for more details.
00019 
00020     You should have received a copy of the GNU Lesser General Public
00021     License along with this library; if not, write to the Free Software
00022     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023 *************************************************************************/
00024 #ifndef _CEGUIScrolledContainerProperties_h_
00025 #define _CEGUIScrolledContainerProperties_h_
00026 
00027 #include "CEGUIProperty.h"
00028 
00029 // Start of CEGUI namespace section
00030 namespace CEGUI
00031 {
00032 // Start of ScrolledContainerProperties namespace section
00037 namespace ScrolledContainerProperties
00038 {
00052     class ContentPaneAutoSized : public Property
00053     {
00054     public:
00055         ContentPaneAutoSized() : Property(
00056             "ContentPaneAutoSized",
00057             "Property to get/set the setting which controls whether the content pane will auto-size itself.  Value is either \"True\" or \"False\".",
00058             "True")
00059         {}
00060 
00061         String  get(const PropertyReceiver* receiver) const;
00062         void    set(PropertyReceiver* receiver, const String& value);
00063     };
00064 
00079     class ContentArea : public Property
00080     {
00081     public:
00082         ContentArea() : Property(
00083             "ContentArea",
00084             "Property to get/set the current content area rectangle of the content pane.  Value is \"l:[float] t:[float] r:[float] b:[float]\" (where l is left, t is top, r is right, and b is bottom).",
00085             "l:0.000000 t:0.000000 r:0.000000 b:0.000000")
00086         {}
00087 
00088         String  get(const PropertyReceiver* receiver) const;
00089         void    set(PropertyReceiver* receiver, const String& value);
00090     };
00091 
00106     class ChildExtentsArea : public Property
00107     {
00108     public:
00109         ChildExtentsArea() : Property(
00110             "ChildExtentsArea",
00111             "Property to get the current content extents rectangle.  Value is \"l:[float] t:[float] r:[float] b:[float]\" (where l is left, t is top, r is right, and b is bottom).",
00112             "l:0.000000 t:0.000000 r:0.000000 b:0.000000")
00113         {}
00114 
00115         String  get(const PropertyReceiver* receiver) const;
00116         void    set(PropertyReceiver* receiver, const String& value);
00117     };
00118 
00119 } // End of  ScrolledContainerProperties namespace section
00120 } // End of  CEGUI namespace section
00121 
00122 
00123 #endif  // end of guard _CEGUIScrolledContainerProperties_h_

Generated on Sat Nov 26 10:09:55 2005 for Crazy Eddies GUI System by  doxygen 1.4.5