From 22347e2a45e7ee6d76f33b64f65fe49ab1cf0e7d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Jun 2014 18:00:33 +0000 Subject: removed support for mathmodule & speech git-svn-id: http://svn.miranda-ng.org/main/trunk@9507 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryPlusPlus/hpp_itemprocess.pas | 33 ----------------------------- 1 file changed, 33 deletions(-) (limited to 'plugins/HistoryPlusPlus/hpp_itemprocess.pas') 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 -- cgit v1.2.3