summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-18 11:47:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-18 11:47:05 +0000
commit81fe4a0a34e8e07305381e18e449246fef822673 (patch)
treef67d76b7531445e7a18e7f0975f76f66597e8f69 /plugins/ExternalAPI
parent1be97f17884f9046e6ab45d45ea327ef00a3d095 (diff)
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@469 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_toptoolbar.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h
index f67a3f965b..c366c05169 100644
--- a/plugins/ExternalAPI/m_toptoolbar.h
+++ b/plugins/ExternalAPI/m_toptoolbar.h
@@ -1,23 +1,25 @@
-
#ifndef M_TOPTOOLBAR_H
#define M_TOPTOOLBAR_H
//button flags
#define TTBBF_DISABLED 1
-#define TTBBF_VISIBLE 2
+#define TTBBF_VISIBLE 2
#define TTBBF_PUSHED 4
#define TTBBF_SHOWTOOLTIP 8
#define TTBBF_DRAWBORDER 16
#define TTBBF_ISSEPARATOR 32
-#define TTBBF_ISLBUTTON 64
-#define TTBBF_ICONBYHANDLE 128
+#define TTBBF_ISLBUTTON 64
+#define TTBBF_ICONBYHANDLE 128
+#define TTBBF_ISSBUTTON 256
typedef struct {
int cbSize;
- char *pszServiceUp;
- char *pszServiceDown;
+ char *pszService;
DWORD dwFlags;
- LPARAM lParamUp;
+ union {
+ LPARAM lParamUp;
+ TCHAR *program;
+ };
WPARAM wParamUp;
LPARAM lParamDown;
WPARAM wParamDown;
@@ -30,8 +32,6 @@ typedef struct {
HICON hIconDn;
HANDLE hIconHandleDn;
};
- char *tooltipUp;
- char *tooltipDn;
}
TTBButton, * lpTTBButton;