#include <Emoticons.h>
Public Member Functions | |
CEmoticons () | |
virtual | ~CEmoticons () |
LPCTSTR | FindNext (LPCTSTR pszText, int *pnIndex) |
int | Lookup (LPCTSTR pszText, int nLen=-1) const |
LPCTSTR | GetText (int nIndex) const |
void | Draw (CDC *pDC, int nIndex, int nX, int nY, COLORREF crBack=CLR_NONE) |
CMenu * | CreateMenu () |
void | FormatText (CRichDocument *pDocument, LPCTSTR pszBody, BOOL bNewlines=FALSE) |
BOOL | Load () |
void | Clear () |
Public Attributes | |
CImageList | m_pImage |
CStringArray | m_pIndex |
LPTSTR | m_pTokens |
CUIntArray | m_pButtons |
Protected Member Functions | |
int | AddEmoticon (LPCTSTR pszText, CImageFile *pImage, CRect *pRect, COLORREF crBack, BOOL bButton) |
void | BuildTokens () |
BOOL | LoadTrillian (LPCTSTR pszFile) |
|
Definition at line 45 of file Emoticons.cpp. |
|
Definition at line 50 of file Emoticons.cpp. References Clear(). |
|
Definition at line 208 of file Emoticons.cpp. References CImageFile::m_bLoaded, CImageFile::m_nComponents, CImageFile::m_nHeight, CImageFile::m_nWidth, m_pButtons, m_pImage, CImageFile::m_pImage, and m_pIndex. Referenced by LoadTrillian(). |
|
Definition at line 256 of file Emoticons.cpp. References m_pIndex, m_pTokens, and NULL. Referenced by Load(). |
|
Definition at line 194 of file Emoticons.cpp. References m_pButtons, m_pImage, m_pIndex, m_pTokens, and NULL. Referenced by Load(), and ~CEmoticons(). |
|
Definition at line 147 of file Emoticons.cpp. References m_pButtons, and NULL. Referenced by CChatFrame::OnChatEmoticons(). |
|
Definition at line 136 of file Emoticons.cpp. References m_pImage, m_pTokens, and NULL. Referenced by CChatFrame::OnDrawItem(), and CRichFragment::Paint(). |
|
Definition at line 58 of file Emoticons.cpp. References GetText(), m_pTokens, and NULL. Referenced by FormatText(). |
|
Definition at line 349 of file Emoticons.cpp. References _tcsistr(), CRichDocument::Add(), FindNext(), GetText(), NULL, retEmoticon, retfBold, retfColour, retfItalic, retfUnderline, retLink, retNewline, and retText. Referenced by CChatFrame::AddText(), and CSearchDetailPanel::Review::Review(). |
|
Definition at line 119 of file Emoticons.cpp. References m_pTokens, and NULL. Referenced by CRichViewCtrl::CopySelection(), FindNext(), FormatText(), and CChatFrame::OnChatEmoticons(). |
|
Definition at line 176 of file Emoticons.cpp. References BuildTokens(), Clear(), CSettings::General, LoadTrillian(), m_pImage, CSettings::sGeneral::Path, and Settings. Referenced by CShareazaApp::InitInstance(). |
|
Definition at line 280 of file Emoticons.cpp. References AddEmoticon(), CImageFile::EnsureRGB(), CXMLElement::FromFile(), CXMLElement::GetAttributeValue(), CXMLElement::GetElementByName(), CXMLElement::GetElementIterator(), CXMLElement::GetNextElement(), CXMLNode::IsNamed(), CImageFile::LoadFromFile(), CImageFile::m_pImage, NULL, and CImageFile::SwapRGB(). Referenced by Load(). |
|
Definition at line 87 of file Emoticons.cpp. |
|
Definition at line 43 of file Emoticons.h. Referenced by AddEmoticon(), Clear(), and CreateMenu(). |
|
Definition at line 40 of file Emoticons.h. Referenced by AddEmoticon(), Clear(), Draw(), and Load(). |
|
Definition at line 41 of file Emoticons.h. Referenced by AddEmoticon(), BuildTokens(), and Clear(). |
|
Definition at line 42 of file Emoticons.h. Referenced by BuildTokens(), CEmoticons(), Clear(), Draw(), FindNext(), GetText(), and Lookup(). |