4 #ifdef USE_DIRECTX_RENDERER 5 #include "GrowableArray.h" 13 struct GUIFontElement;
17 class CGUIIMEEditBox :
public CGUIEditBox,
public CGUIIME
26 virtual const char*
GetAttributeClassName(){
static const char name[] =
"CGUIIMEEditBox";
return name;}
30 virtual int InstallFields(CAttributeClass* pClass,
bool bOverride);
34 virtual ~CGUIIMEEditBox();
37 virtual HRESULT Render(GUIState* pGUIState,
float fElapsedTime );
41 virtual bool OnFocusIn();
42 virtual bool OnFocusOut();
43 virtual void InitObject(
const char * strObjectName,
const char * alignment,
int x,
int y,
int width,
int height);
47 virtual void PostRender(GUIState *pGUIState,
float fElapsedTime);
48 virtual void RenderCandidateReadingWindow( GUIState* pGUIState ,
bool bReading ,
float fElapsedTime);
49 virtual void RenderComposition( GUIState* pGUIState ,
float fElapsedTime );
50 virtual void RenderIndicator( GUIState* pGUIState ,
float fElapsedTime );
52 virtual IObject*
Clone()
const;
53 virtual void Clone(IObject *pobj)
const;
54 virtual const IType* GetType()
const{
return m_type;}
59 virtual bool FetchIMEString();
61 void SendKey( BYTE nVirtKey );
63 static const IType* m_type;
66 Color m_ReadingWinColor;
68 Color m_ReadingSelBkColor;
70 Color m_CandidateWinColor;
72 Color m_CandidateSelBkColor;
75 Color m_CompCaretColor;
77 Color m_CompTargetBkColor;
79 Color m_CompTargetNonBkColor;
82 Color m_IndicatorBkColor;
85 int m_nIndicatorWidth;
95 struct GUIFontElement;
112 static void Initialize(){};
113 static void Uninitialize(){};
virtual const char * GetAttributeClassDescription()
a static string, describing the attribute class object
Definition: GUIIMEEditBox.h:110
static void StaticInit()
Initialize the event mapping for the default CGUIEdit class All its inheritances should have a Static...
Definition: GUIEdit.cpp:132
virtual bool MsgProc(MSG *event)
the procedure that handles all the events.
Definition: GUIEdit.cpp:896
virtual const char * GetAttributeClassName()
a static string, describing the attribute class object's name
Definition: GUIIMEEditBox.h:108
Definition: EventBinding.h:22
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: ManagedDef.h:18
virtual IObject * Clone() const
Clone the object's contains and return a pointer to the newly created object.
Definition: GUIEdit.cpp:125
virtual int GetAttributeClassID()
attribute class ID should be identical, unless one knows how overriding rules work.
Definition: GUIIMEEditBox.h:106
virtual bool IsHideCaret()
whether caret is hidden.
Definition: GUIEdit.h:131
virtual void UpdateRects()
Definition: GUIEdit.cpp:652
IME-enabled EditBox control.
Definition: GUIIMEEditBox.h:99
virtual int InstallFields(CAttributeClass *pClass, bool bOverride)
this class should be implemented if one wants to add new attribute.
Definition: GUIEdit.cpp:1925