CEGUITreeProperties.h

00001 /***********************************************************************
00002 filename:   CEGUITreeProperties.h
00003 created:        5-13-07
00004 author:         Jonathan Welch (Based on Code by David Durant)
00005 *************************************************************************/
00006 /***************************************************************************
00007 *   Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team
00008 *
00009 *   Permission is hereby granted, free of charge, to any person obtaining
00010 *   a copy of this software and associated documentation files (the
00011 *   "Software"), to deal in the Software without restriction, including
00012 *   without limitation the rights to use, copy, modify, merge, publish,
00013 *   distribute, sublicense, and/or sell copies of the Software, and to
00014 *   permit persons to whom the Software is furnished to do so, subject to
00015 *   the following conditions:
00016 *
00017 *   The above copyright notice and this permission notice shall be
00018 *   included in all copies or substantial portions of the Software.
00019 *
00020 *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00021 *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00022 *   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00023 *   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
00024 *   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
00025 *   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
00026 *   OTHER DEALINGS IN THE SOFTWARE.
00027 ***************************************************************************/
00028 #ifndef _CEGUITreeProperties_h_
00029 #define _CEGUITreeProperties_h_
00030 
00031 #include "CEGUIProperty.h"
00032 
00033 
00034 // Start of CEGUI namespace section
00035 namespace CEGUI
00036 {
00037 
00038 // Start of TreeProperties namespace section
00043 namespace TreeProperties
00044 {
00057 class Sort : public Property
00058 {
00059 public:
00060         Sort() : Property(
00061                 "Sort",
00062                 "Property to get/set the sort setting of the list box.  Value is either \"True\" or \"False\".",
00063                 "False")
00064         {}
00065 
00066         String  get(const PropertyReceiver* receiver) const;
00067         void    set(PropertyReceiver* receiver, const String& value);
00068 };
00069 
00070 
00083 class MultiSelect : public Property
00084 {
00085 public:
00086         MultiSelect() : Property(
00087                 "MultiSelect",
00088                 "Property to get/set the multi-select setting of the list box.  Value is either \"True\" or \"False\".",
00089                 "False")
00090         {}
00091 
00092         String  get(const PropertyReceiver* receiver) const;
00093         void    set(PropertyReceiver* receiver, const String& value);
00094 };
00095 
00096 
00109 class ForceVertScrollbar : public Property
00110 {
00111 public:
00112         ForceVertScrollbar() : Property(
00113                 "ForceVertScrollbar",
00114                 "Property to get/set the 'always show' setting for the vertical scroll bar of the list box.  Value is either \"True\" or \"False\".",
00115                 "False")
00116         {}
00117 
00118         String  get(const PropertyReceiver* receiver) const;
00119         void    set(PropertyReceiver* receiver, const String& value);
00120 };
00121 
00122 
00135 class ForceHorzScrollbar : public Property
00136 {
00137 public:
00138         ForceHorzScrollbar() : Property(
00139                 "ForceHorzScrollbar",
00140                 "Property to get/set the 'always show' setting for the horizontal scroll bar of the list box.  Value is either \"True\" or \"False\".",
00141                 "False")
00142         {}
00143 
00144         String  get(const PropertyReceiver* receiver) const;
00145         void    set(PropertyReceiver* receiver, const String& value);
00146 };
00147 
00160 class ItemTooltips : public Property
00161 {
00162 public:
00163         ItemTooltips() : Property(
00164                 "ItemTooltips",
00165                 "Property to access the show item tooltips setting of the list box.  Value is either \"True\" or \"False\".",
00166                 "False")
00167         {}
00168 
00169         String  get(const PropertyReceiver* receiver) const;
00170         void    set(PropertyReceiver* receiver, const String& value);
00171 };
00172 
00173 } // End of  TreeProperties namespace section
00174 
00175 } // End of  CEGUI namespace section
00176 
00177 #endif  // end of guard _CEGUITreeProperties_h_

Generated on Sat Jun 28 14:35:44 2008 for Crazy Eddies GUI System by  doxygen 1.5.4