SmileyAdd plugin for Miranda IM
=====================================================================
A plugin that adds smileys to the standard message dialog. 
Features:
- Customizable smiley support
- Alpha blended icons support on Windows XP
- Plugin support
- Smiley 'selecttoolwindow' button during messaging
- Translation support

Remarks:
"Send smileys as pictures so my buddies see them" will not be 
implemented... (if they wanna see smileys, they will probably 
have enabled it already). Furthermore it is technically impossible.

Author: Rein-Peter de Boer (peacow)
Email: peacow@users.sourceforge.net
Date: june 30, 2003


Installation Instructions
=========================
Extract the zip file in the miranda homedir. This will create a directory
'Smileys' with the default smileypack. And the smileyadd.dll will go in the
plugins directory. 
Or you can copy this by hand from the zipfile. Note: to make the default work,
the smiley stuff has to be in the 'Smileys' directory.


Smiley libraries
================
Customization in *.MSL files. Check the example file 
"smileyadd_example_libfile.msl" for the correct syntax.


Bugs
====
No guarantees, but probably there are some bugs. If you find something, and would 
like to see this fixed then send me via EMAIL a detailed as possible report on the bug 
(version numbers, OS, how to reproduce it) and i will get back on that.


Source
======
I will publish the sources on the Miranda site, but will do it when i see fit. 
That will probably be when there is a fully functional stable tested release.


X-Mouse feature
===============
If you use the xmouse feature then there is a change that the smileyselect
window will dissappear before you reach it when you press the button.
You can solve this:
- get the database editor plugin
- add a BYTE value to the CurrentUser->SmileyAdd section
- Name this value "XmouseToolOffset" and give it the value of 5 or so.
- Now the the smileyselectwindow will be placed lower and 'overlap' the 
button.
Maybe i'll add it to the options page later or create a different fix. ;)


Developers
==========
There is also some smiley support for plugins... There is something remotely 
resembling documentation in "m_smileyadd.h". Contact me if you have questions. 
At this moment you can: - replace smileys in a richedit with only supplying 
                          the richedit handle
                        - retrieve a smileyicon by supplying the emoticon text, i.e. ":)"
                        - contact me if you need more support


Thanks to:
==========
- MatriX       For helping out with the icons and other stuff!
- Pixador      For some bugtracking :)
- Wessln      For even more enhancing the standard message dialog and 
               fine tuning my subclass routines.. :)
- Miranda crew for Miranda IM... :)
- Everyone pointing out bugs to me!
- Creators of all the smileypacks for SmileyAdd :)            


Changelog
=========
0.1.2.3
-------
- Fixed incompatibility (2) with message dialog in nightly build of 30-06-2003 
0.1.2.2
-------
- Fixed incompatibility with message dialog in nightly build of 30-06-2003

0.1.2.1
-------
- (Small) bug with smileypack loading fixed

0.1.2.0
-------
- Ability for hidden smileys (not shown in selectwindow)
- Ability for separate tooltip text in selectwindow
- Fixed display bug in selectwindow with large smileysets
- Fixed bug with random smileys not being replaced (at least i hope so)
- Fixed bug with smiley replacement if some text was selected
- Fixed bug when using large smileytexts
- Fixed bug with (non) case sensitivity (now case sensitive)
- Fixed some buffer overflow bugs
- Other minor bugfixes


0.1.1.0
-------
- Added Support for smiley sizes other than 16x16
- Added SmileySelectWindow button
- Fixed (disabled) display of smileys in hyperlinks 
- Added 'scale to textheight' option
- Fixed GDI leakage bugs 
- Other minor bugfixes

0.1.0.0
-------
Official 1.0 release
- Support for customizable icon packs
- Standard shipment with full OG smiley pack of MatriX
- Better smiley parsing (support for 'isolated' smileys)
- Specify smileys on a 'per protocol' basis
- Smiley replacementsupport for plugins

0.0.2.0
-------
Second alpha release with OG smileys of MatriX

0.0.1.0
-------
Initial alpha (test) release with beautyfully :) styled greenish icons.


Miranda IM
==========
Miranda IM is an open source instant messenger framework that 
support plugins for many different networks; ICQ, MSN, YAHOO
AIM to mention a few (but not all). Get it at:
http://miranda-icq.sourceforge.net


Copyright and license
=====================
Copyright (C)2003  Rein-Peter de Boer (peacow)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.