From 48540940b6c28bb4378abfeb500ec45a625b37b6 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 15 May 2012 10:38:20 +0000 Subject: initial commit git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/modernb/m_api/m_skinbutton.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 plugins/modernb/m_api/m_skinbutton.h (limited to 'plugins/modernb/m_api/m_skinbutton.h') diff --git a/plugins/modernb/m_api/m_skinbutton.h b/plugins/modernb/m_api/m_skinbutton.h new file mode 100644 index 0000000000..86634cb566 --- /dev/null +++ b/plugins/modernb/m_api/m_skinbutton.h @@ -0,0 +1,30 @@ +#include "m_button.h" + +#define BUTTONSETID WM_USER+55 +#define BUTTONDRAWINPARENT WM_USER+56 +#define BUTTONSETMARGINS WM_USER+57 +#define BUTTONSETSENDONDOWN WM_USER+58 + +#define MBM_UPDATETRANSPARENTFLAG WM_USER+52 +#define MBM_SETICOLIBHANDLE WM_USER+53 +#define MBM_REFRESHICOLIBICON WM_USER+54 + +#define SBF_ALIGN_TL_RIGHT 1 +#define SBF_ALIGN_TL_HCENTER 2 +#define SBF_ALIGN_TL_BOTTOM 4 +#define SBF_ALIGN_TL_VCENTER 8 + +#define SBF_ALIGN_BR_RIGHT 16 +#define SBF_ALIGN_BR_HCENTER 32 +#define SBF_ALIGN_BR_BOTTOM 64 +#define SBF_ALIGN_BR_VCENTER 128 + +#define SBF_CALL_ON_PRESS 256 + +// Params for draw flag at Repos function +#define SBRF_DO_NOT_DRAW 0 +#define SBRF_DO_REDRAW_ALL 1 +#define SBRF_DO_ALT_DRAW 2 +#define SBRF_REDRAW ( SBRF_DO_REDRAW_ALL|SBRF_DO_ALT_DRAW ) + +#define BUTTONNEEDREDRAW 1256 \ No newline at end of file -- cgit v1.2.3