diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-09 16:28:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-09 16:28:38 +0000 |
commit | f24df8d7c43d0bd1e4f8036a1f9d886ccdc3680c (patch) | |
tree | 5c64d24932839487d9e836491f9ca32ab7bd2ddc /plugins/Clist_nicer/src/clcutils.cpp | |
parent | ddd6c8f83ee10e7312458985c4ff624e68abf75b (diff) |
part II:
- extra icons masks killed from the nicer+ cache;
- some minor glitches in options
git-svn-id: http://svn.miranda-ng.org/main/trunk@2261 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clcutils.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clcutils.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Clist_nicer/src/clcutils.cpp b/plugins/Clist_nicer/src/clcutils.cpp index 79a7eda987..98a7f81fe2 100644 --- a/plugins/Clist_nicer/src/clcutils.cpp +++ b/plugins/Clist_nicer/src/clcutils.cpp @@ -145,8 +145,7 @@ int RTL_HitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, ClcContact for (i = EXTRA_ICON_COUNT-1; i >= 0; i--) {
if (hitcontact->iExtraImage[i] == EMPTY_EXTRA_ICON)
continue;
- if (!((1 << i) & cfg::eCache[hitcontact->extraCacheEntry].dwXMask))
- continue;
+
images_present++;
if (testx < right - (rightOffset - (cfg::dat.exIconScale + 2) * images_present) && testx > right - (rightOffset - (cfg::dat.exIconScale + 2) * images_present + (cfg::dat.exIconScale))) {
if (flags)
@@ -301,8 +300,7 @@ int HitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, ClcContact **c for (i = EXTRA_ICON_COUNT; i >= 0; i--) {
if (hitcontact->iExtraImage[i] == EMPTY_EXTRA_ICON)
continue;
- if (!((1 << i) & cfg::eCache[hitcontact->extraCacheEntry].dwXMask))
- continue;
+
images_present++;
if (testx > (rightOffset - (cfg::dat.exIconScale + 2) * images_present) && testx < (rightOffset - (cfg::dat.exIconScale + 2) * images_present + (cfg::dat.exIconScale))) {
if (flags)
|