From 9e0ca10baba2700d19bd3a3b81500b73bd4013d0 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Sun, 15 May 2011 15:36:29 +0000 Subject: unneeded delphi folder removed git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@107 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- .../Awkward/include/reserve/m_msg_buttonsbar.inc | 116 --------------------- 1 file changed, 116 deletions(-) delete mode 100644 delphi/Awkward/include/reserve/m_msg_buttonsbar.inc (limited to 'delphi/Awkward/include/reserve/m_msg_buttonsbar.inc') diff --git a/delphi/Awkward/include/reserve/m_msg_buttonsbar.inc b/delphi/Awkward/include/reserve/m_msg_buttonsbar.inc deleted file mode 100644 index b3605d7..0000000 --- a/delphi/Awkward/include/reserve/m_msg_buttonsbar.inc +++ /dev/null @@ -1,116 +0,0 @@ -{$IFNDEF M_MSG_BUTTONSBAR} -{$DEFINE M_MSG_BUTTONSBAR} - -////////////////////////////////////////////////////////////////////////// -// Services -// -////////////////////////////////////////////////////////////////////////// -// Adding a button -// -// wParam = 0 -// lParam = (BBButton *) &description -const - MS_BB_ADDBUTTON:PAnsiChar = 'TabSRMM/ButtonsBar/AddButton'; - -////////////////////////////////////////////////////////////////////////// -// Remove button -// -// wParam = 0 -// lParam = (BBButton *) &description, only button ID and ModuleName used - MS_BB_REMOVEBUTTON:PAnsiChar = 'TabSRMM/ButtonsBar/RemoveButton'; - -////////////////////////////////////////////////////////////////////////// -// ModifyButton(global) -// -// wParam = 0 -// lParam = (BBButton *) &description - MS_BB_MODIFYBUTTON:PAnsiChar = 'TabSRMM/ButtonsBar/ModifyButton'; - - - BBSF_HIDDEN = 1; - BBSF_DISABLED = 2; - BBSF_PUSHED = 4; - BBSF_RELEASED = 8; - -////////////////////////////////////////////////////////////////////////// -// GetButtonState(local) -// -// wParam = hContact -// lParam = (BBButton *) &description , only ModuleName and ID used -// Returns BBButton struct with BBSF_ bbbFlags: -#define MS_BB_GETBUTTONSTATE "TabSRMM/ButtonsBar/GetButtonState" - -////////////////////////////////////////////////////////////////////////// -// SetButtonState (local) -// -// wParam = hContact -// lParam = (BBButton *) &description , ModuleName, ID,hIcon,Tooltip, and BBSF_ bbbFlags are used - MS_BB_SETBUTTONSTATE:PAnsiChar = 'TabSRMM/ButtonsBar/SetButtonState'; - - -//////////////////////////////////////////////////////////////// -//Events -// -/////////////////////////////////////////////////// -// ToolBar loaded event -// wParam = 0; -// lParam = 0; -// This event will be send after module loaded and after each toolbar reset -// You should add your buttons on this event - ME_MSG_TOOLBARLOADED:PAnsiChar = 'TabSRMM/ButtonsBar/ModuleLoaded'; - -/////////////////////////////////////////////////// -// ButtonClicked event -// wParam = (HANDLE)hContact; -// lParam = (CustomButtonClickData *)&CustomButtonClickData; -// catch to show a popup menu, etc. - ME_MSG_BUTTONPRESSED:PAnsiChar = 'TabSRMM/ButtonsBar/ButtonPressed'; - -//event flags - BBCF_RIGHTBUTTON = 1; - BBCF_SHIFTPRESSED = 2; - BBCF_CONTROLPRESSED = 4; - BBCF_ARROWCLICKED = 8; - -type - CustomButtonClickData = record - cbSize :int; - pt :TPOINT; // screen coordinates for menus - pszModule :PAnsiChar; // button owners name - dwButtonId:DWORD; // registered button ID - hwndFrom :HWND; // button parents HWND - hContact :THANDLE; // - flags :DWORD; // BBCF_ flags - end; - - -//button flags - BBBF_DISABLED = $0001; - BBBF_HIDDEN = $0002; - BBBF_ISPUSHBUTTON = $0004; - BBBF_ISARROWBUTTON = $0008; - BBBF_ISCHATBUTTON = $0010; - BBBF_ISIMBUTTON = $0020; - BBBF_ISLSIDEBUTTON = $0040; - BBBF_ISRSIDEBUTTON = $0080; - BBBF_CANBEHIDDEN = $0100; - BBBF_ISDUMMYBUTTON = $0200; - BBBF_ANSITOOLTIP = $0400; - BBBF_CREATEBYID = $0800; //only for tabsrmm internal use - -type - tagBBButton = record - cbSize :int; // size of structure - dwButtonID :DWORD; // your button ID, will be combined with pszModuleName for storing settings, etc... - pszModuleName:PAnsiChar; // module name without spaces and underline symbols (e.g. "tabsrmm") - szTooltip :TChar; // button's tooltip - dwDefPos :DWORD; // default order pos of button, counted from window edge (left or right) - // use value >100, because internal buttons using 10,20,30... 80, etc - iButtonWidth :int; // must be 0 - bbbFlags :DWORD; // combine of BBBF_ flags above - hIcon :HICON; // Handle to icolib registered icon, it's better to register with pszSection = "TabSRMM/Toolbar" -end; - BBButton = tagBBButton; - - -{$ENDIF} -- cgit v1.2.3