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
00027
00028 #ifndef _FalMultiLineEditbox_h_
00029 #define _FalMultiLineEditbox_h_
00030
00031 #include "FalModule.h"
00032 #include "elements/CEGUIMultiLineEditbox.h"
00033
00034 #if defined(_MSC_VER)
00035 # pragma warning(push)
00036 # pragma warning(disable : 4251)
00037 #endif
00038
00039
00040 namespace CEGUI
00041 {
00073 class FALAGARDBASE_API FalagardMultiLineEditbox : public MultiLineEditboxWindowRenderer
00074 {
00075 public:
00076 static const utf8 TypeName[];
00077
00078 static const String UnselectedTextColourPropertyName;
00080 static const String SelectedTextColourPropertyName;
00082 static const String ActiveSelectionColourPropertyName;
00084 static const String InactiveSelectionColourPropertyName;
00085
00090 FalagardMultiLineEditbox(const String& type);
00091
00092
00093 Rect getTextRenderArea(void) const;
00094 void render();
00095
00096 protected:
00107 void cacheEditboxBaseImagery();
00108
00116 void cacheCaratImagery(const Rect& textArea);
00117
00122 void cacheTextLines(const Rect& dest_area);
00123
00132 colour getUnselectedTextColour() const;
00133
00142 colour getActiveSelectionColour() const;
00143
00152 colour getInactiveSelectionColour() const;
00153
00162 colour getSelectedTextColour() const;
00163
00173 colour getOptionalPropertyColour(const String& propertyName) const;
00174 };
00175
00176 }
00177
00178
00179 #if defined(_MSC_VER)
00180 # pragma warning(pop)
00181 #endif
00182
00183 #endif // end of guard _FalMultiLineEditbox_h_