From 854959cbc0a1bad2c086214be4d1a829b17a61f3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Dec 2012 13:25:11 +0000 Subject: icolib: icon creation quirks git-svn-id: http://svn.miranda-ng.org/main/trunk@2588 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/m_msg_buttonsbar.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_msg_buttonsbar.h b/plugins/ExternalAPI/m_msg_buttonsbar.h index 8a55627b40..f5bb94d173 100644 --- a/plugins/ExternalAPI/m_msg_buttonsbar.h +++ b/plugins/ExternalAPI/m_msg_buttonsbar.h @@ -99,22 +99,22 @@ typedef struct { #define BBBF_CREATEBYID (1<<11) //only for tabsrmm internal use typedef struct _tagBBButton - { - int cbSize; // size of structure +{ + int cbSize; // size of structure - DWORD dwButtonID; // your button ID, will be combined with pszModuleName for storing settings, etc... + DWORD dwButtonID; // your button ID, will be combined with pszModuleName for storing settings, etc... - char* pszModuleName; //module name without spaces and underline symbols (e.g. "tabsrmm") + char* pszModuleName; //module name without spaces and underline symbols (e.g. "tabsrmm") union{ - char* pszTooltip; //button's tooltip - TCHAR* ptszTooltip; - }; - DWORD dwDefPos; // default order pos of button, counted from window edge (left or right) - // use value >100, because internal buttons using 10,20,30... 80, etc - int iButtonWidth; // must be 0 - DWORD bbbFlags; // combine of BBBF_ flags above - HANDLE hIcon; //Handle to icolib registered icon, it's better to register with pszSection = "TabSRMM/Toolbar" - }BBButton; - + char* pszTooltip; //button's tooltip + TCHAR* ptszTooltip; + }; + DWORD dwDefPos; // default order pos of button, counted from window edge (left or right) + // use value >100, because internal buttons using 10,20,30... 80, etc + int iButtonWidth; // must be 0 + DWORD bbbFlags; // combine of BBBF_ flags above + HANDLE hIcon; // Handle to icolib registered icon, it's better to register with pszSection = "TabSRMM/Toolbar" +} + BBButton; #endif //M_MSG_BUTTONSBAR_H__ \ No newline at end of file -- cgit v1.2.3