From 1f4071514a3f75e80c539fcedc4d9603f1cb6b46 Mon Sep 17 00:00:00 2001 From: pescuma Date: Mon, 14 Apr 2008 04:48:16 +0000 Subject: Allow service calls inside .emo git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@80 c086bb3d-8645-0410-b8da-73a8550f86e7 --- Plugins/emoticons/EmoticonsSelectionLayout.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Plugins/emoticons/EmoticonsSelectionLayout.h') diff --git a/Plugins/emoticons/EmoticonsSelectionLayout.h b/Plugins/emoticons/EmoticonsSelectionLayout.h index e0b2bb7..f476ba4 100644 --- a/Plugins/emoticons/EmoticonsSelectionLayout.h +++ b/Plugins/emoticons/EmoticonsSelectionLayout.h @@ -6,6 +6,7 @@ struct EmoticonSelectionData { + HANDLE hContact; Module *module; COLORREF background; @@ -52,6 +53,9 @@ protected: HFONT GetFont(HDC hdc); void ReleaseFont(HFONT hFont); RECT CalcRect(TCHAR *txt); +#ifdef UNICODE + RECT CalcRect(char *txt); +#endif void GetEmoticonSize(Emoticon *e, int &width, int &height); @@ -64,5 +68,8 @@ protected: void DrawEmoticon(HDC hdc, int index, RECT rc); void DrawEmoticonText(HDC hdc, TCHAR *txt, RECT rc); +#ifdef UNICODE + void DrawEmoticonText(HDC hdc, char *txt, RECT rc); +#endif }; -- cgit v1.2.3