mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Implement CDXUTIMEEditBox::EnableImeSystem(...)
This commit is contained in:
parent
69708b5ff5
commit
ca014a8e6c
@ -177,6 +177,21 @@ HRESULT CDXUTStatic::GetTextCopy( PCHAR strDest, UINT bufferCount )
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
// CDXUTIMEEditBox class
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
bool CDXUTIMEEditBox::s_bEnableImeSystem; // Whether the IME system is active
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
// Enable/disable the entire IME system. When disabled, the default IME handling
|
||||||
|
// kicks in.
|
||||||
|
void CDXUTIMEEditBox::EnableImeSystem( bool bEnable )
|
||||||
|
{
|
||||||
|
s_bEnableImeSystem = bEnable;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
void DXUTBlendColor::Init( D3DCOLOR defaultColor, D3DCOLOR disabledColor, D3DCOLOR hiddenColor )
|
void DXUTBlendColor::Init( D3DCOLOR defaultColor, D3DCOLOR disabledColor, D3DCOLOR hiddenColor )
|
||||||
{
|
{
|
||||||
|
@ -278,4 +278,25 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
// EditBox control
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
class CDXUTEditBox : public CDXUTControl
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
// IME-enabled EditBox control
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
class CDXUTIMEEditBox : public CDXUTEditBox
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
static void EnableImeSystem( bool bEnable );
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static bool s_bEnableImeSystem; // Whether the IME system is active
|
||||||
#endif // DXUT_GUI_H
|
#endif // DXUT_GUI_H
|
Loading…
Reference in New Issue
Block a user