summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/launchbt.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-10 14:46:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-10 14:46:58 +0000
commit101ca36412b3e7b8851b6b48a4f6cbc17d9f9eff (patch)
treea846c60f7c2a7df17b694deba92e7f6df3bbb882 /plugins/TopToolBar/launchbt.cpp
parenta3fdadd09f12f6b246b11a5156bf6f0358e9a5f8 (diff)
bitmap operations were removed from TopToolBar and replaced with IcoLib
git-svn-id: http://svn.miranda-ng.org/main/trunk@379 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/launchbt.cpp')
-rw-r--r--plugins/TopToolBar/launchbt.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TopToolBar/launchbt.cpp b/plugins/TopToolBar/launchbt.cpp
index 3b5678386f..fd0e15d600 100644
--- a/plugins/TopToolBar/launchbt.cpp
+++ b/plugins/TopToolBar/launchbt.cpp
@@ -82,8 +82,8 @@ INT_PTR InsertLBut(int id)
TTBButton ttb = { 0 };
ttb.cbSize = sizeof(ttb);
- ttb.hbBitmapDown = DefLDn;
- ttb.hbBitmapUp = DefLUp;
+ //ttb.hbBitmapDown = DefLDn; !!!!!!!!!!!!!!
+ //ttb.hbBitmapUp = DefLUp; !!!!!!!!!!!!!!
ttb.dwFlags = TTBBF_VISIBLE|TTBBF_ISLBUTTON;
ttb.pszServiceDown = TTB_LAUNCHSERVICE;
ttb.lParamDown = id;
@@ -120,7 +120,7 @@ int LoadAllLButs()
memset(LBUTS, 0, sizeof(LBUTS));
for (int i = 0; i < MAXLBUTS; i++) {
memset(buf1, 0, SIZEOF(buf1));
- itoa(i, buf1, 10);
+ _itoa(i, buf1, 10);
AS(fixname, "LBUT", buf1);
id = DBGetContactSettingWord(0, TTB_OPTDIR, AS(buf, fixname, ""), -1);
if (id != -1) {
@@ -145,7 +145,7 @@ int SaveAllLButs()
memset(buf, 0, SIZEOF(buf));
for (int i = 0;i<MAXLBUTS;i++) {
- itoa(i, buf1, 10);
+ _itoa(i, buf1, 10);
if (LBUTS[i].hframe != 0) {
AS(fixname, "LBUT", buf1);
DBWriteContactSettingWord(0, TTB_OPTDIR, AS(buf, fixname, ""), i);