My Project
Public Member Functions | Protected Member Functions | Friends | List of all members
ParaEngine::GUIIMEDelegate Class Reference

base interface for cross-platform IME and also null implementation under win32 client. More...

#include <GUIIMEDelegate.h>

Inheritance diagram for ParaEngine::GUIIMEDelegate:
ParaEngine::CGUIEditBox ParaEngine::CGUIIMEEditBox

Public Member Functions

virtual bool attachWithIME ()
 
virtual bool detachWithIME ()
 

Protected Member Functions

virtual bool canAttachWithIME ()
 Decide if the delegate instance is ready to receive an IME message. More...
 
virtual void didAttachWithIME ()
 When the delegate detaches from the IME, this method is called by IMEDispatcher.
 
virtual bool canDetachWithIME ()
 Decide if the delegate instance can stop receiving IME messages.
 
virtual void didDetachWithIME ()
 When the delegate detaches from the IME, this method is called by IMEDispatcher.
 
virtual void insertText (const char *text, size_t len)
 Called by IMEDispatcher when text input received from the IME.
 
virtual void deleteBackward ()
 Called by IMEDispatcher after the user clicks the backward key.
 
virtual const std::string & getContentText ()
 Called by IMEDispatcher for text stored in delegate.
 
CIMEDelegateProxy * GetIMEDelegateProxy ()
 

Friends

class CIMEDelegateProxy
 

Detailed Description

base interface for cross-platform IME and also null implementation under win32 client.

this interface is similar to IMEDelegate.h in cocos2dx.

Member Function Documentation

§ canAttachWithIME()

virtual bool ParaEngine::GUIIMEDelegate::canAttachWithIME ( )
inlineprotectedvirtual

Decide if the delegate instance is ready to receive an IME message.

Called by IMEDispatcher.


The documentation for this class was generated from the following files: