diff options
-rw-r--r-- | Plugins/emoticons/Docs/emoticons.png | bin | 31876 -> 34654 bytes | |||
-rw-r--r-- | Plugins/emoticons/Docs/emoticons_changelog.txt | 4 | ||||
-rw-r--r-- | Plugins/emoticons/Docs/emoticons_readme.txt | 1 | ||||
-rw-r--r-- | Plugins/emoticons/Docs/emoticons_version.txt | 2 | ||||
-rw-r--r-- | Plugins/emoticons/data/Customize/Emoticons/Tango/immakingadifference.gif | bin | 0 -> 301 bytes | |||
-rw-r--r-- | Plugins/emoticons/data/Plugins/Emoticons/MSN.emo | 4 | ||||
-rw-r--r-- | Plugins/emoticons/data/Plugins/Emoticons/Tlen.emo | 258 | ||||
-rw-r--r-- | Plugins/emoticons/emoticons.cpp | 220 | ||||
-rw-r--r-- | Plugins/emoticons/emoticons.dsp | 4 | ||||
-rw-r--r-- | Plugins/emoticons/emoticons.sln | 4 | ||||
-rw-r--r-- | Plugins/emoticons/emoticons.vcproj | 63 | ||||
-rw-r--r-- | Plugins/emoticons/sdk/m_smileyadd.h | 10 |
12 files changed, 265 insertions, 305 deletions
diff --git a/Plugins/emoticons/Docs/emoticons.png b/Plugins/emoticons/Docs/emoticons.png Binary files differindex 7b78c12..dc369bb 100644 --- a/Plugins/emoticons/Docs/emoticons.png +++ b/Plugins/emoticons/Docs/emoticons.png diff --git a/Plugins/emoticons/Docs/emoticons_changelog.txt b/Plugins/emoticons/Docs/emoticons_changelog.txt index eb163e9..20a260a 100644 --- a/Plugins/emoticons/Docs/emoticons_changelog.txt +++ b/Plugins/emoticons/Docs/emoticons_changelog.txt @@ -2,6 +2,10 @@ Emoticons Changelog:
+. 0.0.2.11
+ * Fix for custom smileys
+ + Don't show custom smileys on outgoing messages
+
. 0.0.2.10
* Better handling of text in input area
* Fixed handling of URLs
diff --git a/Plugins/emoticons/Docs/emoticons_readme.txt b/Plugins/emoticons/Docs/emoticons_readme.txt index 902533a..91efa5a 100644 --- a/Plugins/emoticons/Docs/emoticons_readme.txt +++ b/Plugins/emoticons/Docs/emoticons_readme.txt @@ -49,5 +49,4 @@ To report bugs/make suggestions, go to the forum thread: http://forums.miranda-i TODO:
- Per protocol pack
- Updater support for Emoticon Packs
-- Support h++ (works using AniSmiley)
diff --git a/Plugins/emoticons/Docs/emoticons_version.txt b/Plugins/emoticons/Docs/emoticons_version.txt index 17b3639..c27b761 100644 --- a/Plugins/emoticons/Docs/emoticons_version.txt +++ b/Plugins/emoticons/Docs/emoticons_version.txt @@ -1 +1 @@ -Emoticons 0.0.2.10
\ No newline at end of file +Emoticons 0.0.2.11
\ No newline at end of file diff --git a/Plugins/emoticons/data/Customize/Emoticons/Tango/immakingadifference.gif b/Plugins/emoticons/data/Customize/Emoticons/Tango/immakingadifference.gif Binary files differnew file mode 100644 index 0000000..ee9120d --- /dev/null +++ b/Plugins/emoticons/data/Customize/Emoticons/Tango/immakingadifference.gif diff --git a/Plugins/emoticons/data/Plugins/Emoticons/MSN.emo b/Plugins/emoticons/data/Plugins/Emoticons/MSN.emo index 530377b..44a25aa 100644 --- a/Plugins/emoticons/data/Plugins/Emoticons/MSN.emo +++ b/Plugins/emoticons/data/Plugins/Emoticons/MSN.emo @@ -1,4 +1,4 @@ -# MSN protocol emoticons
+# MSN protocol emoticons
[MSN]
@@ -85,7 +85,7 @@ "cigarette" = "Cigar", "(ci)"
"handcuffs" = "Handcuffs", "(%)"
"fingers-crossed" = "Cross Fingers", "(yn)"
-"immakingadifference" = "i'm initiative", "*red+u" "*bgca" "*naf" "*hsus" "*9mil" "*mssoc" "*sierra" "*unicef" "*help" "*komen"
+"immakingadifference" = "i'm™ initiative", "*red+u" "*bgca" "*naf" "*hsus" "*9mil" "*mssoc" "*sierra" "*unicef" "*help" "*komen"
"bunny" = "Bunny", "('.')"
diff --git a/Plugins/emoticons/data/Plugins/Emoticons/Tlen.emo b/Plugins/emoticons/data/Plugins/Emoticons/Tlen.emo index 3518b05..0cdd1e9 100644 --- a/Plugins/emoticons/data/Plugins/Emoticons/Tlen.emo +++ b/Plugins/emoticons/data/Plugins/Emoticons/Tlen.emo @@ -37,143 +37,143 @@ "yes_yes" = "Tak, tak", "[taktak]" "no_no" = "Nie, nie", "[nienie]" "bye" = "Papa", "[papa]" -"beczy.gif" = "Beczy", "[beczy]" -"hihi.gif" = "Hihi", "[hihi]" -"mniam.gif" = "Mniam", "[mniam]" +"beczy = "Beczy", "[beczy]" +"hihi = "Hihi", "[hihi]" +"mniam = "Mniam", "[mniam]" "dont-know" = "Nie wiem", "[nie_wiem]" "sick" = "Bleee", "[ble]" "devilish" = "Diabeł", "[diabel]" "shock" = "Zdziwiona", "[zdziwona]" "bad" = "Niedobrze", "[niedobrze]" "fear" = "Strach", "[strach]" -"kreci.gif" = "Kręci", "[kreci]" +"kreci = "Kręci", "[kreci]" "boxing" = "Boks", "[boks]" -"luzak.gif" = "Luzak", "[luzak]" +"luzak = "Luzak", "[luzak]" "sleepy" = "Chrapie", "[chrapie]" -"tanczaca.gif" = "Tańcząca", "[tanczaca]" -"aniolek.gif" = "Aniołek", "[aniolek]" -"hura.gif" = "Huraaa!", "[hura]" -"gryz.gif" = "Gryz", "[gryz]" -"gadula.gif" = "Gaduła", "[gadula]" -"gwizd.gif" = "Gwizd", "[gwizd]" -"lezaca.gif" = "Leżąca", "[lezaca]" -"tuli.gif" = "Tuli", "[tuli]" -"caluje.gif" = "Całuje", "[caluje]" -"balwan.gif" = "Bałwan", "[balwan]" -"budzik.gif" = "Budzik", "[budzik]" -"stuk.gif" = "Stuk", "[stuk]" -"10ton.gif" = "10 Ton", "[10ton]" -"kwitnie.gif" = "Kwitnie", "[kwitnie]" -"cmok.gif" = "Cmok", "[cmok]" -"tak_.gif" = "Tak", "<yes>" -"nie_.gif" = "Nie nie", "<no>" "<nie nie>" "<nienie>" -"papa_.gif" = "Papa", "<papa>" "<pa pa>" "<pa_pa>" -"krzywy_.gif" = "Krzywy uśmiech", ":]" ":-]" -"rotfl_.gif" = "Tarzać się ze śmiechu", "<rotfl>" -"usmiech3_.gif" = "Uśmiech pełną gębą", "<:D>" "<:-D>" -"usmiech4_.gif" = "Uśmiech szczerbatego", "<:F>" "<:-F>" "<:f>" "<:-f>" -"10ton_.gif" = "10 ton", "<10ton>" "<10 ton>" -"boje_sie_.gif" = "Boję się", "<boję_się>" "<boję_sie>" "<boje_się>" "<boje_sie>" "<boje sie>" -"calus_.gif" = "Całus", "<całus>" "<calus>" "<całuje>" "<caluje>" -"cmok_.gif" = "Cmok", "<cmok>" "<cmook>" "<cmoook>" -"usta_.gif" = "Usta", "<usta>" -"roza_.gif" = "Róża", "<roża>" "<roza>" -"jupi_.gif" = "Jupi, huraaa!", "<jupi>" "<huraaa>" "<huraaa!>" "<hura>" "<yupi>" "<yupi!>" "<jupi>" "<jupi!>" -"dom_.gif" = "Dom", "<dom>" -"ok_.gif" = "OK", "<ok>" "<OK>" "<Ok>" "<spoko>" "<spox>" -"nie2_.gif" = "Nie, odpada", "<nie>" "<odpada>" -"pa_.gif" = "Pa! Do zobaczenia!", "<pa>" -"lol_.gif" = "Głośny śmiech", "<lol>" -"haha_.gif" = "Śmiech", "<hahaha>" "<smiech>" "<śmiech>" -"usmiech2_.gif" = "Uśmiech", "<wesoly>" "<uśmiech>" -"zeby_.gif" = "Piękny uśmiech mam", "<zęby>" "<zeby>" ":E" ":-E" -"stop_.gif" = "Stop! Przestań", "<stop>" "<stop!>" "<przestań>" "<przestan>" -"strach_.gif" = "Strach", "<boję się>" "<boję sie>" "<boje się>" -"list_.gif" = "Mail, list", "<list>" "<mail>" -"serduszka_.gif" = "Serduszka", "<serduszka>" "<serduszko>" "<serca>" "<serce>" -"oczko_.gif" = "Puścić oczko", "<mruga>" -"kwitnie_.gif" = "Kwitnie", "<kwiatek>" -"tancze_.gif" = "Tańcze, wesoło mi", "<tancze>" "<tańcze>" -"prezent_.gif" = "Niespodzianka, prezent", "<prezent>" "<niespodzianka>" -"piwo_.gif" = "Piwo", "<piwo>" "<stuk>" -"jezyk2_.gif" = "Mniam, pycha", "<mniam>" "<pycha>" -"tuptup_.gif" = "Idę", "<idę>" "<ide>" "<idzie>" "<tuptup>" -"faja_.gif" = "Faja", "<faja>" "<fajka>" "<palę>" "<pale>" "<pali>" "<palić>" "<palic>" -"paker_.gif" = "Paker. Taki jestem silny!", "<paker>" "<silacz>" "<siłacz>" "<silny>" -"uczen_.gif" = "Uczeń, student", "<uczeń>" "<uczen>" "<student>" -"aniolek_.gif" = "Aniołek. Jestem niewinny.", "<aniołek>" "<aniolek>" "<anioł>" "<aniol>" "<niewinny>" "<niewinna>" -"lezaca_.gif" = "Chodź do mnie!", "<leżąca>" "<leząca>" "<leżaca>" "<lezaca>" "<chodz>" "<chodź>" -"gwizd_.gif" = "Gwiżdzę sobie", "<gwizd>" -"przytul_.gif" = "Przytulanie", "<przytul>" "<przytulanie>" -"uscisk_.gif" = "Uścisk", "<uścisk>" "<uscisk>" -"soczek_.gif" = "Soczek", "<soczek>" -"zjem_.gif" = "Zjem Cię", "<zjem>" -"chytry_.gif" = "Chytry", ":>" -"cwaniak_.gif" = "Cwaniak", "<cwaniak>" "<cfaniak>" "<cool>" -"samochod_.gif" = "Bryka, auto", "<bryka>" "<auto>" "<samochód>" "<samochod>" -"czarodziej_.gif" = "Czarodziej, magik", "<czarodziej>" "<magik>" -"diabelek_.gif" = "Diabełek", "]:->" "<diabelek>" "<diabeł>" "<diabel>" -"sex_.gif" = "Seks", "<sex>" "<seks>" -"spie_.gif" = "Śpi", "<śpioch>" "<spi>" "<sen>" -"glaszcze_.gif" = "Głaszcze", "<głaszcze>" "<glaszcze>" "<cacy>" -"3m_sie_.gif" = "Trzymaj się", "<3m_się>" "<3m_sie>" "<3m się>" "<3m sie>" "<3msię>" "<3msie>" "<trzymsie>" "<trzymsię>" "<trzymaj_się>" "<trzymaj_sie>" "<trzymaj się>" "<trzymaj sie>" -"kiler_.gif" = "Kiler", "<killer>" "<kiler>" "<strzela>" -"czaszka_.gif" = "Czaszka", "<czaszka>" -"zly_.gif" = "Zły jestem. Bardzo.", "<zły>" "<zly>" -"fuck_.gif" = "Fuck", "<spadówa>" -"kreci_.gif" = "Kręci", "<kręci>" "<kreci>" -"wow_.gif" = "Wow!", "<wow>" "<wow!>" -"co_.gif" = "Co?", "<co>" "<co?>" -"slonko_.gif" = "Słonko", "<słonko>" "<slonko>" "<słońce>" "<slońce>" "<słonce>" "<slonce>" -"nie_powiem_.gif" = "Nie powiem!", "<nie_powiem>" "<nie_powiem>" "<niepowiem>" "<nie_powie>" "<milcze>" "<milczę>" -"menu_.gif" = "Menu", "<menu>" -"nie_wiem_.gif" = "Nie wiem", "<nie_wiem>" "<niewiem>" -"oczy_.gif" = "Kłamie", "<kłamie>" "<klamie>" "<kłamczuch>" "<klamczuch>" -"pytajnik_.gif" = "Znak zapytania", "<??>" -"piorun_.gif" = "Piorun", "<piorun>" -"wykrzyknik_.gif" = "Wykrzyknik", "<!!>" -"peace_.gif" = "Pokój, peace", "<peace>" "<pokój>" "<pokoj>" -"klotnia_.gif" = "Kłótnia", "<kłótnia>" "<klótnia>" "<kłotnia>" "<klotnia>" -"wsciekly_.gif" = "Wściekły", "<wściekły>" "<grr>" "<gr>" "<wściekły>" "<wsciekły>" "<wściekly>" "<wsciekly>" -"boks_.gif" = "Boks. Uważaj, bo dostaniesz!", "<boks>" "<bije>" "<bij>" -"dupa_.gif" = "[bez komentarza]", "<dupa>" "<pupa>" -"niedobrze_.gif" = "Niedobrze mi", "<niedobrze>" -"sciana_.gif" = "Głową w mur", "<mur>" "<sciana>" "<ściana>" -"pomocy_.gif" = "Pomocy! Help!", "<pomocy>" "<pomocy!>" "<help>" "<help!>" -"co_jest_.gif" = "Co jest?", "<co_jest>" "<co jest>" -"kwasny_.gif" = "Niesmak", "<zniesmaczony>" "<kwasny>" -"ysz_.gif" = "Nie rozumiem", ":|" "<nie_rozumiem>" "<nie rozumiem>" -"zmieszanie_.gif" = "Zmieszanie", "<zmieszanie>" -"zawstydzony_.gif" = "Wstyd. Wstydzę się.", "<wstydniś>" "<zawstydzony>" -"smutny_.gif" = "Smutny", "<smutny>" -"placze_.gif" = "Płacz, beksa", ";(" "<placz>" "<placze>" "<beksa>" -"telefon2_.gif" = "Telefon", "<dzwoni>" -"telefon_.gif" = "Gaduła", "<telefon>" "<gadula>" "<telefonuje>" "<telefonuję>" -"komora_.gif" = "Komóra", "<komóra>" "<komora>" -"czas_.gif" = "Czas, budzik", "<czas>" "<budzik>" -"balwan_.gif" = "Bałwan", "<bałwan>" "<balwan>" -"glupek_.gif" = "Głupek", "<głupek>" "<glupek>" -"jezyk_.gif" = "Bleee", ";P" "<blee>" "<ble>" -"prysznic_.gif" = "Prysznic", "<prysznic>" -"pisze_.gif" = "Czatownik", "<chatownik>" "<czatownik>" "<klika>" "<pisze>" "<czatuje>" -"czytaj_.gif" = "Czytaj to!", "<czytaj>" "<czytaj_to>" -"cisza_.gif" = "Cisza!", "<cisza>" "<cisza!>" -"czyta_.gif" = "Czyta, uczy się", "<czyta gazete>" "<uczy_się>" "<uczy_sie>" "<uczy>" -"jem_.gif" = "Jem", "<jem>" "<je>" -"usmiech_b.gif" = "Uśmiech", "<UŚMIECH>" "<USMIECH>" -"smutny_b.gif" = "Smutny", "<SMUTNY>" -"wsciekly_b.gif" = "Zły, wściekły", "<ZŁY>" "<ZLY>" "<WŚCIEKŁY>" "<WSCIEKŁY>" "<WŚCIEKLY>" "<WSCIEKLY>" -"spacer_b.gif" = "Spacer z psem", "<SPACER>" -"jem_b.gif" = "Jem", "<JEM>" -"mail_b.gif" = "Mail, list", "<MAIL>" "<LIST>" -"kwiatek_b.gif" = "Kwiatek", "<KWIATEK>" -"telefon_b.gif" = "Telefon", "<TELEFON>" -"usmiech1_.gif" = "He he, ironicznie", ":->" ":->" -"bicz_.gif" = "Bicz", "[bicz]" "[dawaj]" -"deszcz_.gif" = "Deszcz", "[deszcz]" -"lasic_sie_.gif" = "Głaskanie", "[glaskanie]" "[lasicsie]" -"lisc_.gif" = "W twarz !?!", "[zliscia]" "[wtwarz]" "[ozon]" -"mowic_wyzywajaco_.gif" = "Solówka", "[wyzywajaco]" +"tanczaca = "Tańcząca", "[tanczaca]" +"aniolek = "Aniołek", "[aniolek]" +"hura = "Huraaa!", "[hura]" +"gryz = "Gryz", "[gryz]" +"gadula = "Gaduła", "[gadula]" +"gwizd = "Gwizd", "[gwizd]" +"lezaca = "Leżąca", "[lezaca]" +"tuli = "Tuli", "[tuli]" +"caluje = "Całuje", "[caluje]" +"balwan = "Bałwan", "[balwan]" +"budzik = "Budzik", "[budzik]" +"stuk = "Stuk", "[stuk]" +"10ton = "10 Ton", "[10ton]" +"kwitnie = "Kwitnie", "[kwitnie]" +"cmok = "Cmok", "[cmok]" +"tak_ = "Tak", "<yes>" +"nie_ = "Nie nie", "<no>" "<nie nie>" "<nienie>" +"papa_ = "Papa", "<papa>" "<pa pa>" "<pa_pa>" +"krzywy_ = "Krzywy uśmiech", ":]" ":-]" +"rotfl_ = "Tarzać się ze śmiechu", "<rotfl>" +"usmiech3_ = "Uśmiech pełną gębą", "<:D>" "<:-D>" +"usmiech4_ = "Uśmiech szczerbatego", "<:F>" "<:-F>" "<:f>" "<:-f>" +"10ton_ = "10 ton", "<10ton>" "<10 ton>" +"boje_sie_ = "Boję się", "<boję_się>" "<boję_sie>" "<boje_się>" "<boje_sie>" "<boje sie>" +"calus_ = "Całus", "<całus>" "<calus>" "<całuje>" "<caluje>" +"cmok_ = "Cmok", "<cmok>" "<cmook>" "<cmoook>" +"usta_ = "Usta", "<usta>" +"roza_ = "Róża", "<roża>" "<roza>" +"jupi_ = "Jupi, huraaa!", "<jupi>" "<huraaa>" "<huraaa!>" "<hura>" "<yupi>" "<yupi!>" "<jupi>" "<jupi!>" +"dom_ = "Dom", "<dom>" +"ok_ = "OK", "<ok>" "<OK>" "<Ok>" "<spoko>" "<spox>" +"nie2_ = "Nie, odpada", "<nie>" "<odpada>" +"pa_ = "Pa! Do zobaczenia!", "<pa>" +"lol_ = "Głośny śmiech", "<lol>" +"haha_ = "Śmiech", "<hahaha>" "<smiech>" "<śmiech>" +"usmiech2_ = "Uśmiech", "<wesoly>" "<uśmiech>" +"zeby_ = "Piękny uśmiech mam", "<zęby>" "<zeby>" ":E" ":-E" +"stop_ = "Stop! Przestań", "<stop>" "<stop!>" "<przestań>" "<przestan>" +"strach_ = "Strach", "<boję się>" "<boję sie>" "<boje się>" +"list_ = "Mail, list", "<list>" "<mail>" +"serduszka_ = "Serduszka", "<serduszka>" "<serduszko>" "<serca>" "<serce>" +"oczko_ = "Puścić oczko", "<mruga>" +"kwitnie_ = "Kwitnie", "<kwiatek>" +"tancze_ = "Tańcze, wesoło mi", "<tancze>" "<tańcze>" +"prezent_ = "Niespodzianka, prezent", "<prezent>" "<niespodzianka>" +"piwo_ = "Piwo", "<piwo>" "<stuk>" +"jezyk2_ = "Mniam, pycha", "<mniam>" "<pycha>" +"tuptup_ = "Idę", "<idę>" "<ide>" "<idzie>" "<tuptup>" +"faja_ = "Faja", "<faja>" "<fajka>" "<palę>" "<pale>" "<pali>" "<palić>" "<palic>" +"paker_ = "Paker. Taki jestem silny!", "<paker>" "<silacz>" "<siłacz>" "<silny>" +"uczen_ = "Uczeń, student", "<uczeń>" "<uczen>" "<student>" +"aniolek_ = "Aniołek. Jestem niewinny.", "<aniołek>" "<aniolek>" "<anioł>" "<aniol>" "<niewinny>" "<niewinna>" +"lezaca_ = "Chodź do mnie!", "<leżąca>" "<leząca>" "<leżaca>" "<lezaca>" "<chodz>" "<chodź>" +"gwizd_ = "Gwiżdzę sobie", "<gwizd>" +"przytul_ = "Przytulanie", "<przytul>" "<przytulanie>" +"uscisk_ = "Uścisk", "<uścisk>" "<uscisk>" +"soczek_ = "Soczek", "<soczek>" +"zjem_ = "Zjem Cię", "<zjem>" +"chytry_ = "Chytry", ":>" +"cwaniak_ = "Cwaniak", "<cwaniak>" "<cfaniak>" "<cool>" +"samochod_ = "Bryka, auto", "<bryka>" "<auto>" "<samochód>" "<samochod>" +"czarodziej_ = "Czarodziej, magik", "<czarodziej>" "<magik>" +"diabelek_ = "Diabełek", "]:->" "<diabelek>" "<diabeł>" "<diabel>" +"sex_ = "Seks", "<sex>" "<seks>" +"spie_ = "Śpi", "<śpioch>" "<spi>" "<sen>" +"glaszcze_ = "Głaszcze", "<głaszcze>" "<glaszcze>" "<cacy>" +"3m_sie_ = "Trzymaj się", "<3m_się>" "<3m_sie>" "<3m się>" "<3m sie>" "<3msię>" "<3msie>" "<trzymsie>" "<trzymsię>" "<trzymaj_się>" "<trzymaj_sie>" "<trzymaj się>" "<trzymaj sie>" +"kiler_ = "Kiler", "<killer>" "<kiler>" "<strzela>" +"czaszka_ = "Czaszka", "<czaszka>" +"zly_ = "Zły jestem. Bardzo.", "<zły>" "<zly>" +"fuck_ = "Fuck", "<spadówa>" +"kreci_ = "Kręci", "<kręci>" "<kreci>" +"wow_ = "Wow!", "<wow>" "<wow!>" +"co_ = "Co?", "<co>" "<co?>" +"slonko_ = "Słonko", "<słonko>" "<slonko>" "<słońce>" "<slońce>" "<słonce>" "<slonce>" +"nie_powiem_ = "Nie powiem!", "<nie_powiem>" "<nie_powiem>" "<niepowiem>" "<nie_powie>" "<milcze>" "<milczę>" +"menu_ = "Menu", "<menu>" +"nie_wiem_ = "Nie wiem", "<nie_wiem>" "<niewiem>" +"oczy_ = "Kłamie", "<kłamie>" "<klamie>" "<kłamczuch>" "<klamczuch>" +"pytajnik_ = "Znak zapytania", "<??>" +"piorun_ = "Piorun", "<piorun>" +"wykrzyknik_ = "Wykrzyknik", "<!!>" +"peace_ = "Pokój, peace", "<peace>" "<pokój>" "<pokoj>" +"klotnia_ = "Kłótnia", "<kłótnia>" "<klótnia>" "<kłotnia>" "<klotnia>" +"wsciekly_ = "Wściekły", "<wściekły>" "<grr>" "<gr>" "<wściekły>" "<wsciekły>" "<wściekly>" "<wsciekly>" +"boks_ = "Boks. Uważaj, bo dostaniesz!", "<boks>" "<bije>" "<bij>" +"dupa_ = "[bez komentarza]", "<dupa>" "<pupa>" +"niedobrze_ = "Niedobrze mi", "<niedobrze>" +"sciana_ = "Głową w mur", "<mur>" "<sciana>" "<ściana>" +"pomocy_ = "Pomocy! Help!", "<pomocy>" "<pomocy!>" "<help>" "<help!>" +"co_jest_ = "Co jest?", "<co_jest>" "<co jest>" +"kwasny_ = "Niesmak", "<zniesmaczony>" "<kwasny>" +"ysz_ = "Nie rozumiem", ":|" "<nie_rozumiem>" "<nie rozumiem>" +"zmieszanie_ = "Zmieszanie", "<zmieszanie>" +"zawstydzony_ = "Wstyd. Wstydzę się.", "<wstydniś>" "<zawstydzony>" +"smutny_ = "Smutny", "<smutny>" +"placze_ = "Płacz, beksa", ";(" "<placz>" "<placze>" "<beksa>" +"telefon2_ = "Telefon", "<dzwoni>" +"telefon_ = "Gaduła", "<telefon>" "<gadula>" "<telefonuje>" "<telefonuję>" +"komora_ = "Komóra", "<komóra>" "<komora>" +"czas_ = "Czas, budzik", "<czas>" "<budzik>" +"balwan_ = "Bałwan", "<bałwan>" "<balwan>" +"glupek_ = "Głupek", "<głupek>" "<glupek>" +"jezyk_ = "Bleee", ";P" "<blee>" "<ble>" +"prysznic_ = "Prysznic", "<prysznic>" +"pisze_ = "Czatownik", "<chatownik>" "<czatownik>" "<klika>" "<pisze>" "<czatuje>" +"czytaj_ = "Czytaj to!", "<czytaj>" "<czytaj_to>" +"cisza_ = "Cisza!", "<cisza>" "<cisza!>" +"czyta_ = "Czyta, uczy się", "<czyta gazete>" "<uczy_się>" "<uczy_sie>" "<uczy>" +"jem_ = "Jem", "<jem>" "<je>" +"usmiech_b = "Uśmiech", "<UŚMIECH>" "<USMIECH>" +"smutny_b = "Smutny", "<SMUTNY>" +"wsciekly_b = "Zły, wściekły", "<ZŁY>" "<ZLY>" "<WŚCIEKŁY>" "<WSCIEKŁY>" "<WŚCIEKLY>" "<WSCIEKLY>" +"spacer_b = "Spacer z psem", "<SPACER>" +"jem_b = "Jem", "<JEM>" +"mail_b = "Mail, list", "<MAIL>" "<LIST>" +"kwiatek_b = "Kwiatek", "<KWIATEK>" +"telefon_b = "Telefon", "<TELEFON>" +"usmiech1_ = "He he, ironicznie", ":->" ":->" +"bicz_ = "Bicz", "[bicz]" "[dawaj]" +"deszcz_ = "Deszcz", "[deszcz]" +"lasic_sie_ = "Głaskanie", "[glaskanie]" "[lasicsie]" +"lisc_ = "W twarz !?!", "[zliscia]" "[wtwarz]" "[ozon]" +"mowic_wyzywajaco_ = "Solówka", "[wyzywajaco]" "solarium" = "Rozpakowany i opalony", "[solarium]" "[dres]" "[eis]" "tv" = "Oglądam mecz", "[tv]" diff --git a/Plugins/emoticons/emoticons.cpp b/Plugins/emoticons/emoticons.cpp index bb4feff..7ca9e97 100644 --- a/Plugins/emoticons/emoticons.cpp +++ b/Plugins/emoticons/emoticons.cpp @@ -30,7 +30,7 @@ PLUGININFOEX pluginInfo={ #else
"Emoticons",
#endif
- PLUGIN_MAKE_VERSION(0,0,2,10),
+ PLUGIN_MAKE_VERSION(0,0,2,11),
"Emoticons",
"Ricardo Pescuma Domenecci",
"",
@@ -48,6 +48,8 @@ PLUGININFOEX pluginInfo={ HINSTANCE hInst;
PLUGINLINK *pluginLink;
+struct MM_INTERFACE mmi;
+struct UTF8_INTERFACE utfi;
HANDLE hHooks[4] = {0};
HANDLE hServices[8] = {0};
@@ -181,6 +183,11 @@ static TCHAR *webs[] = { };
+static TCHAR *video[] = {
+ _T("http://www.youtube.com/v/")
+};
+
+
static TCHAR *urlChars = _T("qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM0123456789:/?&=%._-");
@@ -221,7 +228,8 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) pluginLink = link;
// TODO Assert results here
- init_mir_malloc();
+ mir_getMMI(&mmi);
+ mir_getUTFI(&utfi);
mir_getLI(&li);
CallService(MS_IMG_GETINTERFACE, FI_IF_VERSION, (LPARAM) &fei);
@@ -274,6 +282,29 @@ int findURLEnd(TCHAR *text, int text_len) }
+BOOL isVideo(TCHAR *text, int text_len)
+{
+ return FALSE;
+
+ // TODO
+ for (int j = 0; j < MAX_REGS(video); j++)
+ {
+ TCHAR *txt = video[j];
+ int len = lstrlen(txt);
+
+ if (text_len < len)
+ continue;
+
+ if (_tcsncmp(text, txt, len) != 0)
+ continue;
+
+ return TRUE;
+ }
+
+ return FALSE;
+}
+
+
COLORREF GetSRMMColor(char *tabsrmm, char *scriver, COLORREF def)
{
@@ -537,99 +568,10 @@ struct EmoticonFound int len;
TCHAR *text;
HBITMAP img;
+ BOOL custom;
};
-BOOL FindEmoticonBackwards(EmoticonFound &found, Contact *contact, Module *module, TCHAR *text, int text_len, int last_pos, TCHAR next_char)
-{
- found.path[0] = 0;
- found.len = -1;
- found.text = NULL;
- found.img = NULL;
-
- // Check if it is an URL
- for (int j = 0; j < MAX_REGS(webs); j++)
- {
- TCHAR *txt = webs[j];
- int len = lstrlen(txt);
- if (last_pos < len || text_len < len)
- continue;
-
- if (_tcsncmp(&text[text_len - len], txt, len) == 0)
- return FALSE;
- }
-
- // This are needed to allow 2 different emoticons that end the same way
-
- // Replace normal emoticons
- if (!opts.only_replace_isolated || next_char == _T('\0') || _istspace(next_char))
- {
- for(int i = 0; i < module->emoticons.getCount(); i++)
- {
- Emoticon *e = module->emoticons[i];
-
- for(int j = 0; j < e->texts.getCount(); j++)
- {
- TCHAR *txt = e->texts[j];
- int len = lstrlen(txt);
- if (last_pos < len || text_len < len)
- continue;
-
- if (len <= found.len)
- continue;
-
- if (_tcsncmp(&text[text_len - len], txt, len) != 0)
- continue;
-
- if (opts.only_replace_isolated && text_len > len
- && !_istspace(text[text_len - len - 1]))
- continue;
-
- if (e->img == NULL)
- found.path[0] = '\0';
- else
- mir_snprintf(found.path, MAX_REGS(found.path), "%s\\%s", e->img->pack->path, e->img->relPath);
-
- found.len = len;
- found.text = txt;
-
- if (e->img != NULL)
- {
- e->img->Load();
- found.img = e->img->img;
- }
- }
- }
- }
-
- // Replace custom smileys
- if (contact != NULL && opts.enable_custom_smileys)
- {
- for(int i = 0; i < contact->emoticons.getCount(); i++)
- {
- CustomEmoticon *e = contact->emoticons[i];
-
- TCHAR *txt = e->text;
- int len = lstrlen(txt);
- if (last_pos < len || text_len < len)
- continue;
-
- if (len <= found.len)
- continue;
-
- if (_tcsncmp(&text[text_len - len], txt, len) != 0)
- continue;
-
- mir_snprintf(found.path, MAX_REGS(found.path), "%s", e->path);
- found.len = len;
- found.text = txt;
- }
- }
-
- return (found.len > 0 && found.path[0] != '\0');
-}
-
-
BOOL FindEmoticonForwards(EmoticonFound &found, Contact *contact, Module *module, TCHAR *text, int text_len, int pos)
{
if (pos >= text_len)
@@ -639,6 +581,7 @@ BOOL FindEmoticonForwards(EmoticonFound &found, Contact *contact, Module *module found.len = -1;
found.text = NULL;
found.img = NULL;
+ found.custom = FALSE;
// Lets shit text to current pos
TCHAR prev_char = (pos == 0 ? _T('\0') : text[pos - 1]);
@@ -708,6 +651,7 @@ BOOL FindEmoticonForwards(EmoticonFound &found, Contact *contact, Module *module mir_snprintf(found.path, MAX_REGS(found.path), "%s", e->path);
found.len = len;
found.text = txt;
+ found.custom = TRUE;
}
}
@@ -777,6 +721,39 @@ int ReplaceEmoticon(RichEditCtrl &rec, int pos, EmoticonFound &found) return ret;
}
+
+int AddVideo(RichEditCtrl &rec, int pos, TCHAR *url)
+{
+ int ret = 0;
+
+ // Found ya
+ CHARRANGE sel = { pos, pos };
+ SendMessage(rec.hwnd, EM_EXSETSEL, 0, (LPARAM) &sel);
+
+ if (has_anismiley)
+ {
+ CHARFORMAT2 cf;
+ memset(&cf, 0, sizeof(CHARFORMAT2));
+ cf.cbSize = sizeof(CHARFORMAT2);
+ cf.dwMask = CFM_BACKCOLOR;
+ SendMessage(rec.hwnd, EM_GETCHARFORMAT, SCF_SELECTION, (LPARAM) &cf);
+
+ if (cf.dwEffects & CFE_AUTOBACKCOLOR)
+ {
+ cf.crBackColor = SendMessage(rec.hwnd, EM_SETBKGNDCOLOR, 0, GetSysColor(COLOR_WINDOW));
+ SendMessage(rec.hwnd, EM_SETBKGNDCOLOR, 0, cf.crBackColor);
+ }
+
+ if (InsertAnimatedSmiley(rec.hwnd, url, cf.crBackColor, 0 , url))
+ {
+ ret = 1;
+ }
+ }
+
+ return ret;
+}
+
+
void FixSelection(LONG &sel, LONG end, int dif)
{
if (sel >= end)
@@ -871,11 +848,29 @@ BOOL IsHidden(RichEditCtrl &rec, int start, int end) }
-void ReplaceAllEmoticons(RichEditCtrl &rec, Contact *contact, Module *module, TCHAR *text, int len, int start, CHARRANGE &__old_sel)
+void ReplaceAllEmoticons(RichEditCtrl &rec, Contact *contact, Module *module, TCHAR *text, int len, int start, CHARRANGE &__old_sel, BOOL inInputArea)
{
int diff = 0;
for(int i = 0; i < len; i++)
{
+ if (!inInputArea && isVideo(&text[i], len - i))
+ {
+ int len = findURLEnd(&text[i], len - i);
+
+ TCHAR *tmp = new TCHAR[len+1];
+ lstrcpyn(tmp, &text[i], len);
+ tmp[len] = 0;
+
+ i += len;
+
+ int pos = start + i + diff;
+ int this_dif = AddVideo(rec, pos, tmp);
+
+ delete[] tmp;
+
+ i += this_dif - 1;
+ continue;
+ }
if (isURL(&text[i], len - i))
{
i += findURLEnd(&text[i], len - i) - 1;
@@ -886,7 +881,7 @@ void ReplaceAllEmoticons(RichEditCtrl &rec, Contact *contact, Module *module, TC if (!FindEmoticonForwards(found, contact, module, text, len, i))
continue;
- if (found.img == NULL)
+ if (found.img == NULL && !found.custom)
continue;
int pos = start + i + diff;
@@ -905,14 +900,14 @@ void ReplaceAllEmoticons(RichEditCtrl &rec, Contact *contact, Module *module, TC }
-void ReplaceAllEmoticons(RichEditCtrl &rec, Contact *contact, Module *module, int start = 0, int end = -1)
+void ReplaceAllEmoticons(RichEditCtrl &rec, Contact *contact, Module *module, int start, int end, BOOL inInputArea)
{
STOP_RICHEDIT(rec);
TCHAR *text = GetText(rec, start, end);
int len = lstrlen(text);
- ReplaceAllEmoticons(rec, contact, module, text, len, start, __old_sel);
+ ReplaceAllEmoticons(rec, contact, module, text, len, start, __old_sel, inInputArea);
MIR_FREE(text);
@@ -1069,7 +1064,7 @@ LRESULT CALLBACK EditProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) TCHAR *text = GetText(dlg->input, start, end);
int len = lstrlen(text);
- ReplaceAllEmoticons(dlg->input, NULL, dlg->module, text, len, start, __old_sel);
+ ReplaceAllEmoticons(dlg->input, NULL, dlg->module, text, len, start, __old_sel, TRUE);
MIR_FREE(text);
@@ -1089,7 +1084,7 @@ LRESULT CALLBACK EditProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) }
if (rebuild)
- ReplaceAllEmoticons(dlg->input, NULL, dlg->module);
+ ReplaceAllEmoticons(dlg->input, NULL, dlg->module, 0, -1, TRUE);
return ret;
}
@@ -1146,7 +1141,7 @@ LRESULT CALLBACK LogProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) LRESULT ret = CallWindowProc(dlg->log.old_edit_proc, hwnd, msg, wParam, lParam);
if (rebuild)
- ReplaceAllEmoticons(dlg->log, dlg->contact, dlg->module, sel.cpMin, sel.cpMax);
+ ReplaceAllEmoticons(dlg->log, dlg->contact, dlg->module, sel.cpMin, sel.cpMax, FALSE);
return ret;
}
@@ -1167,7 +1162,7 @@ LRESULT CALLBACK SRMMLogProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) LRESULT ret = LogProc(hwnd, msg, wParam, lParam);
if (msg == EM_STREAMIN)
- ReplaceAllEmoticons(dlg->log, dlg->contact, dlg->module, stream_in_pos, -1);
+ ReplaceAllEmoticons(dlg->log, dlg->contact, dlg->module, stream_in_pos, -1, FALSE);
return ret;
}
@@ -1202,7 +1197,7 @@ LRESULT CALLBACK OwnerProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
if (!ret)
// Add emoticons again
- ReplaceAllEmoticons(dlg->input, NULL, dlg->module);
+ ReplaceAllEmoticons(dlg->input, NULL, dlg->module, 0, -1, TRUE);
dlg->log.sending = FALSE;
}
@@ -1321,7 +1316,7 @@ int MsgWindowEvent(WPARAM wParam, LPARAM lParam) if (isSRMM())
{
- ReplaceAllEmoticons(dlg->log, dlg->contact, dlg->module);
+ ReplaceAllEmoticons(dlg->log, dlg->contact, dlg->module, 0, -1, FALSE);
dlg->log.old_edit_proc = (WNDPROC) SetWindowLong(dlg->log.hwnd, GWL_WNDPROC, (LONG) SRMMLogProc);
}
@@ -2348,7 +2343,7 @@ int ReplaceEmoticonsService(WPARAM wParam, LPARAM lParam) {
Dialog *dlg = dlgit->second;
ReplaceAllEmoticons(dlg->log, dlg->contact, dlg->module, sre->rangeToReplace == NULL ? 0 : sre->rangeToReplace->cpMin,
- sre->rangeToReplace == NULL ? -1 : sre->rangeToReplace->cpMax);
+ sre->rangeToReplace == NULL ? -1 : sre->rangeToReplace->cpMax, FALSE);
}
else
{
@@ -2359,7 +2354,7 @@ int ReplaceEmoticonsService(WPARAM wParam, LPARAM lParam) RichEditCtrl rec = {0};
LoadRichEdit(&rec, sre->hwndRichEditControl);
ReplaceAllEmoticons(rec, GetContact(sre->hContact), m, sre->rangeToReplace == NULL ? 0 : sre->rangeToReplace->cpMin,
- sre->rangeToReplace == NULL ? -1 : sre->rangeToReplace->cpMax);
+ sre->rangeToReplace == NULL ? -1 : sre->rangeToReplace->cpMax, FALSE);
}
return TRUE;
@@ -3059,6 +3054,7 @@ void CreateCustomSmiley(Contact *contact, TCHAR *fullpath) ce = new CustomEmoticon();
ce->text = text;
ce->path = path;
+ ce->firstReceived = (DWORD) time(NULL);
contact->emoticons.insert(ce);
contact->lastId++;
@@ -3073,7 +3069,7 @@ void CreateCustomSmiley(Contact *contact, TCHAR *fullpath) DBWriteContactSettingString(contact->hContact, "CustomSmileys", setting, ce->path);
mir_snprintf(setting, MAX_REGS(setting), "%d_FirstReceived", contact->lastId);
- DBWriteContactSettingDword(contact->hContact, "CustomSmileys", setting, (DWORD) time(NULL));
+ DBWriteContactSettingDword(contact->hContact, "CustomSmileys", setting, ce->firstReceived);
NotifyEventHooks(hChangedEvent, (WPARAM) contact->hContact, 0);
}
@@ -3528,8 +3524,8 @@ int ParseService(SMADD_PARSE *sp, BOOL unicode) if (!FindEmoticonForwards(found, NULL, module, text, len, i))
continue;
- if (found.img == NULL)
- continue; // TODO
+ if (found.custom || found.img == NULL)
+ continue;
sp->SmileyIcon = CopyToIcon(found.img);
if (sp->SmileyIcon == NULL)
@@ -3584,6 +3580,8 @@ int BatchParseService(WPARAM wParam, LPARAM lParam) BOOL path = (bp->flag & SAFL_PATH);
BOOL unicode = (bp->flag & SAFL_UNICODE);
+ BOOL outgoing = (bp->flag & SAFL_OUTGOING);
+ BOOL custom = !(bp->flag & SAFL_NOCUSTOM) && !outgoing;
TCHAR *text;
if (unicode)
@@ -3609,6 +3607,11 @@ int BatchParseService(WPARAM wParam, LPARAM lParam) res.startChar = i;
res.size = found.len;
+ if (found.custom && !custom)
+ continue;
+ if (found.img == NULL && !found.custom)
+ continue;
+
if (path)
{
if (unicode)
@@ -3618,9 +3621,6 @@ int BatchParseService(WPARAM wParam, LPARAM lParam) }
else
{
- if (found.img == NULL)
- continue; // TODO
-
res.hIcon = CopyToIcon(found.img);
if (res.hIcon == NULL)
diff --git a/Plugins/emoticons/emoticons.dsp b/Plugins/emoticons/emoticons.dsp index b7baf04..de4716b 100644 --- a/Plugins/emoticons/emoticons.dsp +++ b/Plugins/emoticons/emoticons.dsp @@ -244,10 +244,6 @@ SOURCE=..\utils\mir_icons.cpp # End Source File
# Begin Source File
-SOURCE=..\utils\mir_memory.cpp
-# End Source File
-# Begin Source File
-
SOURCE=..\utils\mir_options.cpp
# End Source File
# Begin Source File
diff --git a/Plugins/emoticons/emoticons.sln b/Plugins/emoticons/emoticons.sln index abbbeab..fa0b74e 100644 --- a/Plugins/emoticons/emoticons.sln +++ b/Plugins/emoticons/emoticons.sln @@ -1,6 +1,6 @@
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "emoticons", "emoticons.vcproj", "{8A52EF1C-B62C-421F-BA6D-C0B3EA7B89F8}"
EndProject
Global
diff --git a/Plugins/emoticons/emoticons.vcproj b/Plugins/emoticons/emoticons.vcproj index 7556852..b7e4043 100644 --- a/Plugins/emoticons/emoticons.vcproj +++ b/Plugins/emoticons/emoticons.vcproj @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8,00"
+ Version="9,00"
Name="emoticons"
ProjectGUID="{8A52EF1C-B62C-421F-BA6D-C0B3EA7B89F8}"
RootNamespace="emoticons"
+ TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
@@ -86,6 +87,8 @@ GenerateMapFile="true"
MapFileName=".\Unicode_Release/emoticonsW.map"
BaseAddress="0x3EC20000"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
ImportLibrary=".\Unicode_Release/emoticonsW.lib"
TargetMachine="1"
/>
@@ -110,9 +113,6 @@ Name="VCAppVerifierTool"
/>
<Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
@@ -185,6 +185,8 @@ GenerateDebugInformation="true"
ProgramDatabaseFile=".\Unicode_Debug/emoticonsW.pdb"
BaseAddress="0x3EC20000"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
ImportLibrary=".\Unicode_Debug/emoticonsW.lib"
TargetMachine="1"
/>
@@ -209,9 +211,6 @@ Name="VCAppVerifierTool"
/>
<Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
@@ -287,6 +286,8 @@ GenerateMapFile="true"
MapFileName=".\Release/emoticons.map"
BaseAddress="0x3EC20000"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
ImportLibrary=".\Release/emoticons.lib"
TargetMachine="1"
/>
@@ -311,9 +312,6 @@ Name="VCAppVerifierTool"
/>
<Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
@@ -384,6 +382,8 @@ GenerateDebugInformation="true"
ProgramDatabaseFile=".\Debug/emoticons.pdb"
BaseAddress="0x3EC20000"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
ImportLibrary=".\Debug/emoticons.lib"
TargetMachine="1"
/>
@@ -408,9 +408,6 @@ Name="VCAppVerifierTool"
/>
<Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
@@ -613,46 +610,6 @@ </FileConfiguration>
</File>
<File
- RelativePath="..\utils\mir_memory.cpp"
- >
- <FileConfiguration
- Name="Unicode Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Unicode Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
RelativePath="..\utils\mir_options.cpp"
>
<FileConfiguration
diff --git a/Plugins/emoticons/sdk/m_smileyadd.h b/Plugins/emoticons/sdk/m_smileyadd.h index af2b9f5..dc72f28 100644 --- a/Plugins/emoticons/sdk/m_smileyadd.h +++ b/Plugins/emoticons/sdk/m_smileyadd.h @@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define SAFLRE_INSERTEMF 2 // insert smiley as EMF into RichEdit, otherwise bitmap inserted
// this flag allows "true" transparency
+#define SAFLRE_OUTGOING 4 // Parsing outgoing message
+#define SAFLRE_NOCUSTOM 8 // Do not use custom smileys
typedef struct
{
@@ -97,8 +99,10 @@ typedef struct //lParam = (LPARAM) 0; not used
#define ME_SMILEYADD_OPTIONSCHANGED "SmileyAdd/OptionsChanged"
-#define SAFL_PATH 1 // provide smiley file path, icon otherwise
-#define SAFL_UNICODE 2 // string fields in OPTIONSDIALOGPAGE are WCHAR*
+#define SAFL_PATH 1 // provide smiley file path, icon otherwise
+#define SAFL_UNICODE 2 // string fields in OPTIONSDIALOGPAGE are WCHAR*
+#define SAFL_OUTGOING 4 // Parsing outgoing message
+#define SAFL_NOCUSTOM 8 // Do not use custom smileys
#if defined _UNICODE || defined UNICODE
#define SAFL_TCHAR SAFL_UNICODE
@@ -279,7 +283,7 @@ typedef struct HDC hDC; // Canvas to draw on
RECT rcRect; // Valid/should be in case of FVCA_DRAW
COLORREF clrBackground; // color to fill background if fTransparent is not set
- BOOL fTransparent; // if need to fill back color
+ BOOL fTransparent; // if need to fill back color (not supported)
LPARAM lParam; // used by host window PreFire and PostFire event
} FVCNDATA_NMHDR;
|