summaryrefslogtreecommitdiff
path: root/Plugins/emoticons/EmoticonsSelectionLayout.h
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2008-04-14 04:48:16 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2008-04-14 04:48:16 +0000
commit1f4071514a3f75e80c539fcedc4d9603f1cb6b46 (patch)
tree96504bbb586b3dd12fe07918135969c2cb906d75 /Plugins/emoticons/EmoticonsSelectionLayout.h
parent6ae86c78a2ab8ab7ee876f9caf11e5c3079284fe (diff)
Allow service calls inside .emo
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@80 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/emoticons/EmoticonsSelectionLayout.h')
-rw-r--r--Plugins/emoticons/EmoticonsSelectionLayout.h7
1 files changed, 7 insertions, 0 deletions
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
};