00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _CEGUITabControlProperties_h_
00027 #define _CEGUITabControlProperties_h_
00028
00029 #include "CEGUIProperty.h"
00030
00031
00032
00033 namespace CEGUI
00034 {
00035
00036
00041 namespace TabControlProperties
00042 {
00052 class TabHeight : public Property
00053 {
00054 public:
00055 TabHeight() : Property(
00056 "TabHeight",
00057 "Property to get/set the height of the tabs.",
00058 "")
00059 {}
00060
00061 String get(const PropertyReceiver* receiver) const;
00062 void set(PropertyReceiver* receiver, const String& value);
00063
00064
00065 bool isDefault(const PropertyReceiver* receiver) const;
00066 String getDefault(const PropertyReceiver* receiver) const;
00067 };
00068
00078 class AbsoluteTabHeight : public Property
00079 {
00080 public:
00081 AbsoluteTabHeight() : Property(
00082 "AbsoluteTabHeight",
00083 "Property to get/set the absolute height of the tabs.",
00084 "", false)
00085 {}
00086
00087 String get(const PropertyReceiver* receiver) const;
00088 void set(PropertyReceiver* receiver, const String& value);
00089
00090
00091 bool isDefault(const PropertyReceiver* receiver) const;
00092 String getDefault(const PropertyReceiver* receiver) const;
00093 };
00094
00104 class RelativeTabHeight : public Property
00105 {
00106 public:
00107 RelativeTabHeight() : Property(
00108 "RelativeTabHeight",
00109 "Property to get/set the relative height of the tabs.",
00110 "0.050000", false)
00111 {}
00112
00113 String get(const PropertyReceiver* receiver) const;
00114 void set(PropertyReceiver* receiver, const String& value);
00115 };
00116
00126 class TabTextPadding : public Property
00127 {
00128 public:
00129 TabTextPadding() : Property(
00130 "TabTextPadding",
00131 "Property to get/set the padding either side of the tab buttons.",
00132 "")
00133 {}
00134
00135 String get(const PropertyReceiver* receiver) const;
00136 void set(PropertyReceiver* receiver, const String& value);
00137
00138
00139 bool isDefault(const PropertyReceiver* receiver) const;
00140 String getDefault(const PropertyReceiver* receiver) const;
00141 };
00142
00152 class AbsoluteTabTextPadding : public Property
00153 {
00154 public:
00155 AbsoluteTabTextPadding() : Property(
00156 "AbsoluteTabTextPadding",
00157 "Property to get/set the absolute padding either side of the tab buttons.",
00158 "5", false)
00159 {}
00160
00161 String get(const PropertyReceiver* receiver) const;
00162 void set(PropertyReceiver* receiver, const String& value);
00163 };
00164
00174 class RelativeTabTextPadding : public Property
00175 {
00176 public:
00177 RelativeTabTextPadding() : Property(
00178 "RelativeTabTextPadding",
00179 "Property to get/set the relative padding either side of the tab buttons.",
00180 "", false)
00181 {}
00182
00183 String get(const PropertyReceiver* receiver) const;
00184 void set(PropertyReceiver* receiver, const String& value);
00185
00186
00187 bool isDefault(const PropertyReceiver* receiver) const;
00188 String getDefault(const PropertyReceiver* receiver) const;
00189 };
00190
00191
00192
00193
00194
00195 }
00196
00197 }
00198
00199
00200 #endif // end of guard _CEGUIListboxProperties_h_