summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_itemprocess.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-15 18:00:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-15 18:00:33 +0000
commit22347e2a45e7ee6d76f33b64f65fe49ab1cf0e7d (patch)
treea176a946b708862ba44c1b564f9b6f49e43d6bd0 /plugins/HistoryPlusPlus/hpp_itemprocess.pas
parent49578f2e479df5135f36afe5ae4d6137954ed71e (diff)
removed support for mathmodule & speech
git-svn-id: http://svn.miranda-ng.org/main/trunk@9507 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_itemprocess.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_itemprocess.pas33
1 files changed, 0 insertions, 33 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_itemprocess.pas b/plugins/HistoryPlusPlus/hpp_itemprocess.pas
index c873502176..eb26a5cb68 100644
--- a/plugins/HistoryPlusPlus/hpp_itemprocess.pas
+++ b/plugins/HistoryPlusPlus/hpp_itemprocess.pas
@@ -64,7 +64,6 @@ function DoSupportBBCodesRTF(const S: AnsiString; StartColor: integer; doColorBB
function DoStripBBCodes(const S: String): String;
function DoSupportSmileys(awParam:WPARAM; alParam: LPARAM): Integer;
-function DoSupportMathModule(awParam:WPARAM; alParam: LPARAM): Integer;
function DoSupportAvatarHistory(awParam:WPARAM; alParam: LPARAM): Integer;
implementation
@@ -75,8 +74,6 @@ uses
m_api,
hpp_global, hpp_richedit, hpp_events{, RichEdit -- used for CHARRANGE and EM_EXTSETSEL};
-{$include m_mathmodule.inc}
-
const
EM_EXSETSEL = WM_USER + 55; // from RichEdit
@@ -466,36 +463,6 @@ begin
Result := 0;
end;
-function DoSupportMathModule(awParam{hRichEdit}:WPARAM; alParam{PItemRenderDetails}: LPARAM): Integer;
-var
- mrei: TMathRicheditInfo;
-begin
- mrei.hwndRichEditControl := awParam;
- mrei.sel := nil;
- mrei.disableredraw := integer(false);
- Result := CallService(MATH_RTF_REPLACE_FORMULAE,0,LPARAM(@mrei));
-end;
-
-(*
-function DoSupportAvatars(wParam:WPARAM; lParam: LPARAM): Integer;
-const
- crlf: AnsiString = '{\line }';
-var
- ird: PItemRenderDetails;
- ave: PAvatarCacheEntry;
- msglen: integer;
-begin
- ird := Pointer(lParam);
- ave := Pointer(CallService(MS_AV_GETAVATARBITMAP,ird.hContact,0));
- if (ave <> nil) and (ave.hbmPic <> 0) then begin
- msglen := SendMessage(wParam,WM_GETTEXTLENGTH,0,0);
- SendMessage(wParam,EM_SETSEL,msglen,msglen);
- SetRichRTF(wParam,crlf,True,False,True);
- InsertBitmapToRichEdit(wParam,ave.hbmPic);
- end;
- Result := 0;
-end;
-*)
function DoSupportAvatarHistory(awParam:WPARAM; alParam: LPARAM): int;
const