3#include "GUIPropertyItemBase.h"
4#include "GUIEditBase.h"
10 class FL_EXPORT CGUIPropertyItemText :
public CGUIPropertyItemBase
13 CGUIPropertyItemText();
14 virtual ~CGUIPropertyItemText();
16 virtual CMFCPropertyGridProperty* CreateGridProperty()
override;
18 virtual bool SetValue(Base::CFLString<wchar_t> strValue,
bool bInvokeCallback =
true)
override;
19 virtual bool SetValue(Base::CFLString<wchar_t> strValue,
bool bInvokeCallback,
bool bRedraw);
20 virtual bool SetOrigValue(
const Base::CFLString<wchar_t>& strValue);
29 virtual void SetInputType(CGUIEditBase::EInputType eInputType);
38 virtual CGUIEditBase::EInputType GetInputType()
const;
43 virtual void SetUserDefinedInput(Base::CFLString<wchar_t> cstrInvalidCharSet, Base::CFLString<wchar_t> cstrValidCharSet);
52 virtual void SetToolTipText(Base::CFLString<wchar_t> cstrToolTipText);
63 virtual bool SetRealtimeEventCallback(CPropertyCallback* pCallback,
bool bAutoDestroy =
true);
72 virtual CPropertyCallback* GetRealtimeEventCallback()
const;
74 virtual void Enable(
bool bEnable)
override;
76 CGUIEditBase::EInputType m_eInputType;
77 Base::CFLString<wchar_t> m_cstrInvalidCharSet;
78 Base::CFLString<wchar_t> m_cstrValidCharSet;
79 Base::CFLString<wchar_t> m_cstrToolTipText;
81 CPropertyCallback* m_pRealtimeCallback;
82 bool m_bRealtimeCallbackAutoDestroy;
84 friend class CGUIPropertyGridPropertyText;