Full Unicode patch with RTL Support & BiDi logic.

This commit is well documented, so no need to tell you my life story.

Full Unicode patch with RTL Support & BiDi logic.

Removed the legacy codePage, normalised to UTF8 (65001).

It also comes with:

CTRL + A : select text (highlighted)
CTRL + C : copy
CTRL + V : paste
CTRL + X : cut
CTRL + Y : redo
CTRL + Z : undo
This commit is contained in:
rtw1x1
2025-12-26 12:32:43 +00:00
parent d37607baa1
commit a955c50744
86 changed files with 4076 additions and 3839 deletions

View File

@@ -129,9 +129,11 @@ class CPythonChat : public CSingleton<CPythonChat>, public IAbstractChat
{
int m_ix;
int m_iy;
int m_iWidth;
int m_iHeight;
int m_iStep;
float m_fEndPos;
int m_iAlign;
int m_iBoardState;
std::vector<int> m_iMode;
@@ -153,8 +155,10 @@ class CPythonChat : public CSingleton<CPythonChat>, public IAbstractChat
m_ix = 0;
m_iy = 0;
m_fEndPos = 1.0f;
m_iWidth = 0;
m_iHeight = 0;
m_iStep = 15;
m_iAlign = 0;
m_iMode.clear();
m_iMode.resize(ms_iChatModeSize, 1);
@@ -182,6 +186,8 @@ class CPythonChat : public CSingleton<CPythonChat>, public IAbstractChat
void SetBoardState(DWORD dwID, int iState);
void SetPosition(DWORD dwID, int ix, int iy);
void SetHeight(DWORD dwID, int iHeight);
void SetWidth(DWORD dwID, int iWidth);
void SetAlign(DWORD dwID, int iAlign);
void SetStep(DWORD dwID, int iStep);
void ToggleChatMode(DWORD dwID, int iMode);
void EnableChatMode(DWORD dwID, int iMode);