summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/smileys.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-03-01 16:45:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-03-01 16:45:43 +0000
commitd5675b1834031fd7c99baa6d948fb550594fcd3a (patch)
tree1977ac3eb1162f8db55c2a7d74981cca39187a83 /plugins/SmileyAdd/src/smileys.h
parent88167d8a0f7f0e3b8fbad7c8204732995bd265be (diff)
- smileys rewritten to support true frame delays;
- code cleaning; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@16383 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/smileys.h')
-rw-r--r--plugins/SmileyAdd/src/smileys.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/smileys.h b/plugins/SmileyAdd/src/smileys.h
index a72de44491..298b0ae036 100644
--- a/plugins/SmileyAdd/src/smileys.h
+++ b/plugins/SmileyAdd/src/smileys.h
@@ -31,6 +31,8 @@ const unsigned SoundSmiley = 16;
class SmileyType
{
+ LIST<ISmileyBase> m_arSmileys;
+
protected:
unsigned m_flags;
int m_index;
@@ -51,7 +53,7 @@ public:
CMString m_ToolText;
CMString m_InsertText;
- SmileyType(void);
+ SmileyType();
~SmileyType();
const CMString& GetTriggerText(void) const { return m_TriggerText; }
@@ -71,12 +73,17 @@ public:
ImageBase* CreateCachedImage(void);
void GetSize(SIZE& size);
- int GetStaticFrame(void) const { return m_index; }
HICON GetIcon(void);
HICON GetIconDup(void);
HBITMAP GetBitmap(COLORREF bkgClr, int sizeX, int sizeY);
+ void SetFrameDelay(void);
+ void MoveToNextFrame(void);
+
+ void AddObject(ISmileyBase *pObject);
+ void RemoveObject(ISmileyBase *pObject);
+
void CallSmileyService(MCONTACT hContact);
void SetHidden(bool hid) { SetFlagsBit(HiddenSmiley, hid); }