From 113ec95cc453901d8e36294e270ac7bf20030c30 Mon Sep 17 00:00:00 2001 From: fjqisba Date: Wed, 31 Aug 2022 22:22:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=A9=E5=B1=95=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E6=94=AF=E6=8C=81=E5=BA=93=E4=BA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- E-Decompiler/E-Decompiler.vcxproj | 12 ++ E-Decompiler/E-Decompiler.vcxproj.filters | 36 ++++++ .../EAppControl/CIext2_CartoonBox.cpp | 113 ++++++++++++++++++ E-Decompiler/EAppControl/CIext2_CartoonBox.h | 15 +++ E-Decompiler/EAppControl/CIext2_IPEditBox.cpp | 57 +++++++++ E-Decompiler/EAppControl/CIext2_IPEditBox.h | 15 +++ E-Decompiler/EAppControl/CIext2_RichEdit.cpp | 81 +++++++++++++ E-Decompiler/EAppControl/CIext2_RichEdit.h | 15 +++ .../EAppControl/CIext2_SplitterBar.cpp | 57 +++++++++ E-Decompiler/EAppControl/CIext2_SplitterBar.h | 15 +++ .../EAppControl/CIext2_SuperAnimateBox.cpp | 64 ++++++++++ .../EAppControl/CIext2_SuperAnimateBox.h | 15 +++ E-Decompiler/EAppControl/CIext2_SuperBtn.cpp | 107 +++++++++++++++++ E-Decompiler/EAppControl/CIext2_SuperBtn.h | 15 +++ E-Decompiler/EAppControl/CKrnl_CheckBox.cpp | 94 +++++++-------- E-Decompiler/EAppControl/EAppControl.cpp | 33 +++++ E-Decompiler/EAppControl/EAppControl.h | 2 + .../EAppControl/EAppControlFactory.cpp | 16 ++- E-Decompiler/ELib.h | 8 ++ E-Decompiler/Module/CTreeFixer.cpp | 2 - README.md | 2 +- 21 files changed, 723 insertions(+), 51 deletions(-) create mode 100644 E-Decompiler/EAppControl/CIext2_CartoonBox.cpp create mode 100644 E-Decompiler/EAppControl/CIext2_CartoonBox.h create mode 100644 E-Decompiler/EAppControl/CIext2_IPEditBox.cpp create mode 100644 E-Decompiler/EAppControl/CIext2_IPEditBox.h create mode 100644 E-Decompiler/EAppControl/CIext2_RichEdit.cpp create mode 100644 E-Decompiler/EAppControl/CIext2_RichEdit.h create mode 100644 E-Decompiler/EAppControl/CIext2_SplitterBar.cpp create mode 100644 E-Decompiler/EAppControl/CIext2_SplitterBar.h create mode 100644 E-Decompiler/EAppControl/CIext2_SuperAnimateBox.cpp create mode 100644 E-Decompiler/EAppControl/CIext2_SuperAnimateBox.h create mode 100644 E-Decompiler/EAppControl/CIext2_SuperBtn.cpp create mode 100644 E-Decompiler/EAppControl/CIext2_SuperBtn.h diff --git a/E-Decompiler/E-Decompiler.vcxproj b/E-Decompiler/E-Decompiler.vcxproj index 85d8275..44851c4 100644 --- a/E-Decompiler/E-Decompiler.vcxproj +++ b/E-Decompiler/E-Decompiler.vcxproj @@ -113,6 +113,12 @@ + + + + + + @@ -158,6 +164,12 @@ + + + + + + diff --git a/E-Decompiler/E-Decompiler.vcxproj.filters b/E-Decompiler/E-Decompiler.vcxproj.filters index 9896dc3..8b65305 100644 --- a/E-Decompiler/E-Decompiler.vcxproj.filters +++ b/E-Decompiler/E-Decompiler.vcxproj.filters @@ -159,6 +159,24 @@ Module + + EAppControl + + + EAppControl + + + EAppControl + + + EAppControl + + + EAppControl + + + EAppControl + @@ -300,6 +318,24 @@ Module + + EAppControl + + + EAppControl + + + EAppControl + + + EAppControl + + + EAppControl + + + EAppControl + diff --git a/E-Decompiler/EAppControl/CIext2_CartoonBox.cpp b/E-Decompiler/EAppControl/CIext2_CartoonBox.cpp new file mode 100644 index 0000000..f80e556 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_CartoonBox.cpp @@ -0,0 +1,113 @@ +#include "CIext2_CartoonBox.h" + +CIext2_CartoonBox::CIext2_CartoonBox() +{ + type = iext2_CartoonBox; +} + +CIext2_CartoonBox* CIext2_CartoonBox::create() +{ + return new CIext2_CartoonBox(); +} + +std::string CIext2_CartoonBox::GetEventName(int eventIndex) +{ + switch (eventIndex) + { + case 0: + return "�������������"; + case 1: + return "�����Ҽ�������"; + case 2: + return "����������ſ�"; + case 3: + return "�����Ҽ����ſ�"; + case 4: + return "˫������"; + case 5: + return "��������"; + case 6: + return "�뿪����"; + case 7: + return "���������λ�øı�"; + case 8: + return "����λ�ý��ı�"; + case 9: + return "����λ���Ѹı�"; + case 10: + return "���彫����"; + case 11: + return "��ײ������"; + case 12: + return "��ײ���߽�"; + case 13: + return "Խ���߽�"; + case 14: + return "�Զ�ǰ��ֹͣ"; + case 15: + return "�Զ���תֹͣ"; + case 16: + return "�����������"; + case 17: + return "���Ӽ�������"; + default: + break; + } + return GetCommonEventName(eventIndex); +} + +bool CIext2_CartoonBox::InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) +{ + return true; +} + +std::string CIext2_CartoonBox::GetPropertyName(unsigned int propertyIndex) +{ + switch (propertyIndex) + { + case 0: + return "���"; + case 1: + return "����"; + case 2: + return "����"; + case 3: + return "�߶�"; + case 4: + return "���"; + case 5: + return "����"; + case 6: + return "��ֹ"; + case 7: + return "���ָ��"; + case 8: + return "�߿�"; + case 9: + return "������ɫ"; + case 10: + return "����ͼƬ"; + case 11: + return "��ʾ��ʽ"; + case 12: + return "��������"; + case 13: + return "������ʽ"; + case 14: + return "���ʴ�ϸ"; + case 15: + return "������ɫ"; + case 16: + return "ˢ������"; + case 17: + return "ˢ����ɫ"; + case 18: + return "�ı���ɫ"; + case 19: + return "�ı�������ɫ"; + case 20: + return "����"; + } + return "δ֪����"; +} + diff --git a/E-Decompiler/EAppControl/CIext2_CartoonBox.h b/E-Decompiler/EAppControl/CIext2_CartoonBox.h new file mode 100644 index 0000000..b928d20 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_CartoonBox.h @@ -0,0 +1,15 @@ +#pragma once +#include "EAppControl.h" + +//������ + +struct CIext2_CartoonBox :public EAppControl +{ +public: + CIext2_CartoonBox(); + static CIext2_CartoonBox* create(); +public: + std::string GetEventName(int eventIndex)override; + bool InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) override; + std::string GetPropertyName(unsigned int propertyIndex) override; +}; \ No newline at end of file diff --git a/E-Decompiler/EAppControl/CIext2_IPEditBox.cpp b/E-Decompiler/EAppControl/CIext2_IPEditBox.cpp new file mode 100644 index 0000000..7d05d7f --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_IPEditBox.cpp @@ -0,0 +1,57 @@ +#include "CIext2_IPEditBox.h" + +CIext2_IPEditBox::CIext2_IPEditBox() +{ + type = iext2_IPEditBox; +} + +CIext2_IPEditBox* CIext2_IPEditBox::create() +{ + return new CIext2_IPEditBox(); +} + +std::string CIext2_IPEditBox::GetEventName(int eventIndex) +{ + switch (eventIndex) + { + case 0: + return "��ַ���ı�"; + default: + break; + } + return GetCommonEventName(eventIndex); +} + +bool CIext2_IPEditBox::InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) +{ + return true; +} + +std::string CIext2_IPEditBox::GetPropertyName(unsigned int propertyIndex) +{ + switch (propertyIndex) + { + case 0: + return "���"; + case 1: + return "����"; + case 2: + return "����"; + case 3: + return "�߶�"; + case 4: + return "���"; + case 5: + return "����"; + case 6: + return "��ֹ"; + case 7: + return "���ָ��"; + case 8: + return "����"; + case 9: + return "��ַ"; + } + return "δ֪����"; +} + diff --git a/E-Decompiler/EAppControl/CIext2_IPEditBox.h b/E-Decompiler/EAppControl/CIext2_IPEditBox.h new file mode 100644 index 0000000..73f0fd1 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_IPEditBox.h @@ -0,0 +1,15 @@ +#pragma once +#include "EAppControl.h" + +//IP�༭�� + +struct CIext2_IPEditBox :public EAppControl +{ +public: + CIext2_IPEditBox(); + static CIext2_IPEditBox* create(); +public: + std::string GetEventName(int eventIndex)override; + bool InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) override; + std::string GetPropertyName(unsigned int propertyIndex) override; +}; \ No newline at end of file diff --git a/E-Decompiler/EAppControl/CIext2_RichEdit.cpp b/E-Decompiler/EAppControl/CIext2_RichEdit.cpp new file mode 100644 index 0000000..b8d3af1 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_RichEdit.cpp @@ -0,0 +1,81 @@ +#include "CIext2_RichEdit.h" + +CIext2_RichEdit::CIext2_RichEdit() +{ + type = iext2_RichEdit; +} + +CIext2_RichEdit* CIext2_RichEdit::create() +{ + return new CIext2_RichEdit(); +} + +std::string CIext2_RichEdit::GetEventName(int eventIndex) +{ + switch (eventIndex) + { + case 0: + return "���ݱ��ı�"; + case 1: + return "ѡ�������ı�"; + default: + break; + } + return GetCommonEventName(eventIndex); +} + +bool CIext2_RichEdit::InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) +{ + return true; +} + +std::string CIext2_RichEdit::GetPropertyName(unsigned int propertyIndex) +{ + switch (propertyIndex) + { + case 0: + return "���"; + case 1: + return "����"; + case 2: + return "����"; + case 3: + return "�߶�"; + case 4: + return "���"; + case 5: + return "����"; + case 6: + return "��ֹ"; + case 7: + return "���ָ��"; + case 8: + return "���ݸ�ʽ"; + case 9: + return "����"; + case 10: + return "�߿�"; + case 11: + return "������ɫ"; + case 12: + return "�Ƿ���������"; + case 13: + return "�Զ�����"; + case 14: + return "ֻ��"; + case 15: + return "����ѡ��"; + case 16: + return "�����������"; + case 17: + return "��ʼѡ��λ��"; + case 18: + return "��ѡ���ַ���"; + case 19: + return "��ѡ���ı�"; + case 20: + return "�Ƿ��Ѹ���"; + } + return "δ֪����"; +} + diff --git a/E-Decompiler/EAppControl/CIext2_RichEdit.h b/E-Decompiler/EAppControl/CIext2_RichEdit.h new file mode 100644 index 0000000..36d84ff --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_RichEdit.h @@ -0,0 +1,15 @@ +#pragma once +#include "EAppControl.h" + +//�����༭�� + +struct CIext2_RichEdit :public EAppControl +{ +public: + CIext2_RichEdit(); + static CIext2_RichEdit* create(); +public: + std::string GetEventName(int eventIndex)override; + bool InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) override; + std::string GetPropertyName(unsigned int propertyIndex) override; +}; \ No newline at end of file diff --git a/E-Decompiler/EAppControl/CIext2_SplitterBar.cpp b/E-Decompiler/EAppControl/CIext2_SplitterBar.cpp new file mode 100644 index 0000000..8a856d4 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_SplitterBar.cpp @@ -0,0 +1,57 @@ +#include "CIext2_SplitterBar.h" + +CIext2_SplitterBar::CIext2_SplitterBar() +{ + type = iext2_SplitterBar; +} + +CIext2_SplitterBar* CIext2_SplitterBar::create() +{ + return new CIext2_SplitterBar(); +} + +std::string CIext2_SplitterBar::GetEventName(int eventIndex) +{ + switch (eventIndex) + { + case 0: + return "���϶�"; + default: + break; + } + return GetCommonEventName(eventIndex); +} + +bool CIext2_SplitterBar::InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) +{ + return true; +} + +std::string CIext2_SplitterBar::GetPropertyName(unsigned int propertyIndex) +{ + switch (propertyIndex) + { + case 0: + return "���"; + case 1: + return "����"; + case 2: + return "����"; + case 3: + return "�߶�"; + case 4: + return "���"; + case 5: + return "����"; + case 6: + return "��ֹ"; + case 7: + return "���ָ��"; + case 8: + return "������ɫ"; + case 9: + return "����"; + } + return "δ֪����"; +} + diff --git a/E-Decompiler/EAppControl/CIext2_SplitterBar.h b/E-Decompiler/EAppControl/CIext2_SplitterBar.h new file mode 100644 index 0000000..7ac7492 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_SplitterBar.h @@ -0,0 +1,15 @@ +#pragma once +#include "EAppControl.h" + +//�ָ��� + +struct CIext2_SplitterBar :public EAppControl +{ +public: + CIext2_SplitterBar(); + static CIext2_SplitterBar* create(); +public: + std::string GetEventName(int eventIndex)override; + bool InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) override; + std::string GetPropertyName(unsigned int propertyIndex) override; +}; \ No newline at end of file diff --git a/E-Decompiler/EAppControl/CIext2_SuperAnimateBox.cpp b/E-Decompiler/EAppControl/CIext2_SuperAnimateBox.cpp new file mode 100644 index 0000000..a857701 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_SuperAnimateBox.cpp @@ -0,0 +1,64 @@ +#include "CIext2_SuperAnimateBox.h" + +CIext2_SuperAnimateBox::CIext2_SuperAnimateBox() +{ + type = iext2_SuperAnimateBox; +} + +CIext2_SuperAnimateBox* CIext2_SuperAnimateBox::create() +{ + return new CIext2_SuperAnimateBox(); +} + +std::string CIext2_SuperAnimateBox::GetEventName(int eventIndex) +{ + return GetCommonEventName(eventIndex); +} + +bool CIext2_SuperAnimateBox::InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) +{ + return true; +} + +std::string CIext2_SuperAnimateBox::GetPropertyName(unsigned int propertyIndex) +{ + switch (propertyIndex) + { + case 0: + return "���"; + case 1: + return "����"; + case 2: + return "����"; + case 3: + return "�߶�"; + case 4: + return "���"; + case 5: + return "����"; + case 6: + return "��ֹ"; + case 7: + return "���ָ��"; + case 8: + return "����λ��"; + case 9: + return "Ӱ���ļ���"; + case 10: + return "�����ٶ�"; + case 11: + return "������ɫ"; + case 12: + return "͸����ɫ"; + case 13: + return "����"; + case 14: + return "������һ��"; + case 15: + return "��ǰ֡"; + case 16: + return "ȫ��֡��"; + } + return "δ֪����"; +} + diff --git a/E-Decompiler/EAppControl/CIext2_SuperAnimateBox.h b/E-Decompiler/EAppControl/CIext2_SuperAnimateBox.h new file mode 100644 index 0000000..cc80e72 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_SuperAnimateBox.h @@ -0,0 +1,15 @@ +#pragma once +#include "EAppControl.h" + +//�߼�Ӱ��� + +struct CIext2_SuperAnimateBox :public EAppControl +{ +public: + CIext2_SuperAnimateBox(); + static CIext2_SuperAnimateBox* create(); +public: + std::string GetEventName(int eventIndex)override; + bool InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) override; + std::string GetPropertyName(unsigned int propertyIndex) override; +}; \ No newline at end of file diff --git a/E-Decompiler/EAppControl/CIext2_SuperBtn.cpp b/E-Decompiler/EAppControl/CIext2_SuperBtn.cpp new file mode 100644 index 0000000..fdfbaec --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_SuperBtn.cpp @@ -0,0 +1,107 @@ +#include "CIext2_SuperBtn.h" + +CIext2_SuperBtn::CIext2_SuperBtn() +{ + type = iext2_SuperBtn; +} + +CIext2_SuperBtn* CIext2_SuperBtn::create() +{ + return new CIext2_SuperBtn(); +} + +std::string CIext2_SuperBtn::GetEventName(int eventIndex) +{ + switch (eventIndex) + { + case 0: + return "������"; + default: + break; + } + return GetCommonEventName(eventIndex); +} + +bool CIext2_SuperBtn::InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) +{ + return true; +} + +std::string CIext2_SuperBtn::GetPropertyName(unsigned int propertyIndex) +{ + switch (propertyIndex) + { + case 0: + return "���"; + case 1: + return "����"; + case 2: + return "����"; + case 3: + return "�߶�"; + case 4: + return "���"; + case 5: + return "����"; + case 6: + return "��ֹ"; + case 7: + return "���ָ��"; + case 8: + return "��ť���"; + case 9: + return "ѡ���ʽ"; + case 10: + return "ѡ��"; + case 11: + return "���뷽ʽ"; + case 12: + return "ѹ�뷽ʽ"; + case 13: + return "���Ʊ߿�"; + case 14: + return "���ƽ���"; + case 15: + return "ͨ��ͼƬ"; + case 16: + return "ͨ��ͼƬ͸��ɫ"; + case 17: + return "��ȼͼƬ"; + case 18: + return "��ȼͼƬ͸��ɫ"; + case 19: + return "��ֹͼƬ"; + case 20: + return "��ֹͼƬ͸��ɫ"; + case 21: + return "����"; + case 22: + return "����"; + case 23: + return "ʹ��Ĭ��ɫ"; + case 24: + return "ͨ��ǰ��ɫ"; + case 25: + return "ͨ������ɫ"; + case 26: + return "��ȼǰ��ɫ"; + case 27: + return "��ȼ����ɫ"; + case 28: + return "����ǰ��ɫ"; + case 29: + return "���㱳��ɫ"; + case 30: + return "��׼����ʾ"; + case 31: + return "������ʾ��"; + case 32: + return "������ʾ��"; + case 33: + return "��ʾ�ı�"; + case 34: + return "Ĭ������"; + } + return "δ֪�¼�"; +} + diff --git a/E-Decompiler/EAppControl/CIext2_SuperBtn.h b/E-Decompiler/EAppControl/CIext2_SuperBtn.h new file mode 100644 index 0000000..01d0f84 --- /dev/null +++ b/E-Decompiler/EAppControl/CIext2_SuperBtn.h @@ -0,0 +1,15 @@ +#pragma once +#include "EAppControl.h" + +//������ť + +struct CIext2_SuperBtn :public EAppControl +{ +public: + CIext2_SuperBtn(); + static CIext2_SuperBtn* create(); +public: + std::string GetEventName(int eventIndex)override; + bool InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) override; + std::string GetPropertyName(unsigned int propertyIndex) override; +}; \ No newline at end of file diff --git a/E-Decompiler/EAppControl/CKrnl_CheckBox.cpp b/E-Decompiler/EAppControl/CKrnl_CheckBox.cpp index 64b1364..2778654 100644 --- a/E-Decompiler/EAppControl/CKrnl_CheckBox.cpp +++ b/E-Decompiler/EAppControl/CKrnl_CheckBox.cpp @@ -1,4 +1,4 @@ -#include "CKrnl_CheckBox.h" +#include "CKrnl_CheckBox.h" CKrnl_CheckBox::CKrnl_CheckBox() { @@ -12,52 +12,52 @@ CKrnl_CheckBox* CKrnl_CheckBox::create() std::string CKrnl_CheckBox::GetEventName(int eventIndex) { - std::string ret; - switch (eventIndex) - { - case 0: - ret = "������"; - break; - case -1: - ret = "������������"; - break; - case -2: - ret = "���������ſ�"; - break; - case -3: - ret = "��˫��"; - break; - case -4: - ret = "����Ҽ�������"; - break; - case -5: - ret = "����Ҽ����ſ�"; - break; - case -6: - ret = "���λ�ñ��ƶ�"; - break; - case -7: - ret = "��ý���"; - break; - case -8: - ret = "ʧȥ����"; - break; - case -9: - ret = "����ij��"; - break; - case -10: - ret = "�ſ�ij��"; - break; - case -11: - ret = "�ַ�����"; - break; - case -12: - ret = "���ֱ�����"; - default: - ret = "δ֪�¼�"; - break; - } - + std::string ret; + switch (eventIndex) + { + case 0: + ret = "������"; + break; + case -1: + ret = "������������"; + break; + case -2: + ret = "���������ſ�"; + break; + case -3: + ret = "��˫��"; + break; + case -4: + ret = "����Ҽ�������"; + break; + case -5: + ret = "����Ҽ����ſ�"; + break; + case -6: + ret = "���λ�ñ��ƶ�"; + break; + case -7: + ret = "��ý���"; + break; + case -8: + ret = "ʧȥ����"; + break; + case -9: + ret = "����ij��"; + break; + case -10: + ret = "�ſ�ij��"; + break; + case -11: + ret = "�ַ�����"; + break; + case -12: + ret = "���ֱ�����"; + default: + ret = "δ֪�¼�"; + break; + } + return ret; } diff --git a/E-Decompiler/EAppControl/EAppControl.cpp b/E-Decompiler/EAppControl/EAppControl.cpp index 6358685..c2011a3 100644 --- a/E-Decompiler/EAppControl/EAppControl.cpp +++ b/E-Decompiler/EAppControl/EAppControl.cpp @@ -4,3 +4,36 @@ bool EAppControl::InitControlExtraData(unsigned int propertyAddr, unsigned int p { return true; } + +std::string EAppControl::GetCommonEventName(int eventIndex) +{ + switch (eventIndex) + { + case -1: + return "������������"; + case -2: + return "���������ſ�"; + case -3: + return "��˫��"; + case -4: + return "����Ҽ�������"; + case -5: + return "����Ҽ����ſ�"; + case -6: + return "���λ�ñ��ƶ�"; + case -7: + return "��ý���"; + case -8: + return "ʧȥ����"; + case -9: + return "����ij��"; + case -10: + return "�ſ�ij��"; + case -11: + return "�ַ�����"; + case -12: + return "���ֱ�����"; + } + return "δ֪�¼�"; + +} diff --git a/E-Decompiler/EAppControl/EAppControl.h b/E-Decompiler/EAppControl/EAppControl.h index ae7ef3a..96a3a7b 100644 --- a/E-Decompiler/EAppControl/EAppControl.h +++ b/E-Decompiler/EAppControl/EAppControl.h @@ -12,6 +12,8 @@ struct EAppControl virtual bool InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize); //��ȡ�������� virtual std::string GetPropertyName(unsigned int propertyIndex) = 0; + //�����¼����� + std::string GetCommonEventName(int eventIndex); public: eSymbol_ControlType type; //�ؼ���������ID diff --git a/E-Decompiler/EAppControl/EAppControlFactory.cpp b/E-Decompiler/EAppControl/EAppControlFactory.cpp index ff53d1e..2ea4519 100644 --- a/E-Decompiler/EAppControl/EAppControlFactory.cpp +++ b/E-Decompiler/EAppControl/EAppControlFactory.cpp @@ -21,6 +21,12 @@ #include "CKrnl_SliderBar.h" #include "CKrnl_Tab.h" #include "CKrnl_Timer.h" +#include "CIext2_CartoonBox.h" +#include "CIext2_IPEditBox.h" +#include "CIext2_RichEdit.h" +#include "CIext2_SplitterBar.h" +#include "CIext2_SuperAnimateBox.h" +#include "CIext2_SuperBtn.h" EAppControlFactory& EAppControlFactory::Instance() { @@ -54,6 +60,7 @@ void EAppControlFactory::RegisterEAppControl(std::string eControlLibInfo,unsigne tmpControlMap["d09f2340818511d396f6aaf844c7e325������"] = fCreateEAppControl(CKrnl_SliderBar::create); tmpControlMap["d09f2340818511d396f6aaf844c7e325ѡ���"] = fCreateEAppControl(CKrnl_Tab::create); tmpControlMap["d09f2340818511d396f6aaf844c7e325Ӱ���"] = fCreateEAppControl(CKrnl_AnimateBox::create); + //tmpControlMap["d09f2340818511d396f6aaf844c7e325���ڿ�"] = krnl_DatePicker; //tmpControlMap["d09f2340818511d396f6aaf844c7e325����"] = krnl_MonthCalendar; //tmpControlMap["d09f2340818511d396f6aaf844c7e325��������"] = krnl_DriverBox; @@ -77,6 +84,13 @@ void EAppControlFactory::RegisterEAppControl(std::string eControlLibInfo,unsigne //tmpControlMap["d09f2340818511d396f6aaf844c7e325�ⲿ���ݿ�"] = krnl_ODBCDB; //tmpControlMap["d09f2340818511d396f6aaf844c7e325�ⲿ�����ṩ��"] = krnl_ODBCProvider; //tmpControlMap["{9DA96BF9CEBD45c5BFCF94CBE61671F5}�ϷŶ���"] = krnl_DropTarget; + + tmpControlMap["AF6AD80AA4244A59AFB3D83ECF5173CC������ť"] = fCreateEAppControl(CIext2_SuperBtn::create); + tmpControlMap["AF6AD80AA4244A59AFB3D83ECF5173CC�߼�Ӱ���"] = fCreateEAppControl(CIext2_SuperAnimateBox::create); + tmpControlMap["AF6AD80AA4244A59AFB3D83ECF5173CC�ָ���"] = fCreateEAppControl(CIext2_SplitterBar::create); + tmpControlMap["AF6AD80AA4244A59AFB3D83ECF5173CC�����༭��"] = fCreateEAppControl(CIext2_RichEdit::create); + tmpControlMap["AF6AD80AA4244A59AFB3D83ECF5173CCIP�༭��"] = fCreateEAppControl(CIext2_IPEditBox::create); + tmpControlMap["AF6AD80AA4244A59AFB3D83ECF5173CC������"] = fCreateEAppControl(CIext2_CartoonBox::create); } std::map::iterator it = tmpControlMap.find(eControlLibInfo); @@ -105,7 +119,7 @@ EAppControl_Unknow* EAppControl_Unknow::create() std::string EAppControl_Unknow::GetEventName(int eventIndex) { - return ""; + return "δ֪�¼�"; } bool EAppControl_Unknow::InitControlExtraData(unsigned int propertyAddr, unsigned int propertySize) diff --git a/E-Decompiler/ELib.h b/E-Decompiler/ELib.h index f1c1244..279febf 100644 --- a/E-Decompiler/ELib.h +++ b/E-Decompiler/ELib.h @@ -58,4 +58,12 @@ enum eSymbol_ControlType krnl_ODBCDB, //�ⲿ���ݿ� krnl_ODBCProvider,//�ⲿ�����ṩ�� krnl_DropTarget, //�ϷŶ��� + + + iext2_CartoonBox, + iext2_IPEditBox, + iext2_RichEdit, + iext2_SplitterBar, + iext2_SuperAnimateBox, + iext2_SuperBtn, }; \ No newline at end of file diff --git a/E-Decompiler/Module/CTreeFixer.cpp b/E-Decompiler/Module/CTreeFixer.cpp index b6bbc56..5273c0a 100644 --- a/E-Decompiler/Module/CTreeFixer.cpp +++ b/E-Decompiler/Module/CTreeFixer.cpp @@ -9,7 +9,6 @@ //�ţ��ֽ׶�Ŀ�����ô���ɶ���������ֱ�ӵ�Դ�룬���û��Ҫ�ڴ���ת��ϸ�ڽ��й����Ż� - void fix_KrnlDllCmd(cexpr_t* e, ESymbol& symbolTable) { carglist_t& argList = *(e->a); @@ -23,7 +22,6 @@ void fix_KrnlDllCmd(cexpr_t* e, ESymbol& symbolTable) cexpr_t* tmpHelper = create_helper(true, e->a->functype, "%s", symbolTable.tmpImportsApiList[order].c_str()); e->x->cleanup(); e->x->replace_by(tmpHelper); - int a = 0; } void fix_KrnlWriteProperty(cexpr_t* e, ESymbol& symbolTable) diff --git a/README.md b/README.md index b749a29..a5b928b 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ - [x] 控件的交叉引用,控件事件的展示。 - [ ] 易语言基础特征函数的优化、易语言数组操作。 - [x] DLL命令调用函数的优化。 -- [ ] 错误回调函数的优化。 +- [x] 错误回调函数的优化。 本项目完全是由个人利用业余时间开发,不定时更新。