Crazy Eddies GUI System: CEGUITreeProperties.h Source File

Crazy Eddies GUI System 0.7.6

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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 - 2008 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
    00044 namespace TreeProperties
    00045 {
    00058 class Sort : public Property
    00059 {
    00060 public:
    00061         Sort() : Property(
    00062                 "Sort",
    00063                 "Property to get/set the sort setting of the tree.  "
    00064         "Value is either \"True\" or \"False\".",
    00065                 "False")
    00066         {}
    00067
    00068         String  get(const PropertyReceiver* receiver) const;
    00069         void    set(PropertyReceiver* receiver, const String& value);
    00070 };
    00071
    00072
    00085 class MultiSelect : public Property
    00086 {
    00087 public:
    00088         MultiSelect() : Property(
    00089                 "MultiSelect",
    00090                 "Property to get/set the multi-select setting of the tree.  "
    00091         "Value is either \"True\" or \"False\".",
    00092                 "False")
    00093         {}
    00094
    00095         String  get(const PropertyReceiver* receiver) const;
    00096         void    set(PropertyReceiver* receiver, const String& value);
    00097 };
    00098
    00099
    00114 class ForceVertScrollbar : public Property
    00115 {
    00116 public:
    00117         ForceVertScrollbar() : Property(
    00118                 "ForceVertScrollbar",
    00119                 "Property to get/set the 'always show' setting for the vertical scroll "
    00120         "bar of the tree.  Value is either \"True\" or \"False\".",
    00121                 "False")
    00122         {}
    00123
    00124         String  get(const PropertyReceiver* receiver) const;
    00125         void    set(PropertyReceiver* receiver, const String& value);
    00126 };
    00127
    00128
    00144 class ForceHorzScrollbar : public Property
    00145 {
    00146 public:
    00147         ForceHorzScrollbar() : Property(
    00148                 "ForceHorzScrollbar",
    00149                 "Property to get/set the 'always show' setting for the horizontal "
    00150         "scroll bar of the tree.  Value is either \"True\" or \"False\".",
    00151                 "False")
    00152         {}
    00153
    00154         String  get(const PropertyReceiver* receiver) const;
    00155         void    set(PropertyReceiver* receiver, const String& value);
    00156 };
    00157
    00171 class ItemTooltips : public Property
    00172 {
    00173 public:
    00174         ItemTooltips() : Property(
    00175                 "ItemTooltips",
    00176                 "Property to access the show item tooltips setting of the tree.  "
    00177         "Value is either \"True\" or \"False\".",
    00178                 "False")
    00179         {}
    00180
    00181         String  get(const PropertyReceiver* receiver) const;
    00182         void    set(PropertyReceiver* receiver, const String& value);
    00183 };
    00184
    00185 } // End of  TreeProperties namespace section
    00186
    00187 } // End of  CEGUI namespace section
    00188
    00189 #endif  // end of guard _CEGUITreeProperties_h_