diff options
author | Mataes <mataes2007@gmail.com> | 2018-05-16 21:48:52 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2018-05-16 21:49:13 +0300 |
commit | 650fc5a2103cedfe149500ade9c684ecf381d348 (patch) | |
tree | a7f4727baa7b298992a65d240a6017dda3a82f9a /plugins/FloatingContacts/src/fltcont.h | |
parent | f1195d51ea8094492fcf63a301f2cdc9d1173d6c (diff) |
FavContacts, FileAsMessage, Fingerprint, FloatingContacts, Folders, FTPFile: cmplugin adaptation
Diffstat (limited to 'plugins/FloatingContacts/src/fltcont.h')
-rw-r--r-- | plugins/FloatingContacts/src/fltcont.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/plugins/FloatingContacts/src/fltcont.h b/plugins/FloatingContacts/src/fltcont.h index ca4919c2fc..81afdedce5 100644 --- a/plugins/FloatingContacts/src/fltcont.h +++ b/plugins/FloatingContacts/src/fltcont.h @@ -11,15 +11,15 @@ #define WM_REFRESH_CONTACT WM_USER + 0x100
#ifndef WS_EX_LAYERED
- #define WS_EX_LAYERED 0x00080000
+#define WS_EX_LAYERED 0x00080000
#endif
#ifndef LWA_ALPHA
- #define LWA_ALPHA 0x00000002
+#define LWA_ALPHA 0x00000002
#endif
#ifndef ULW_ALPHA
- #define ULW_ALPHA 0x00000002
+#define ULW_ALPHA 0x00000002
#endif
#define TIMERID_SELECT_T 1
@@ -57,8 +57,6 @@ enum /////////////////////////////////////////////////////////////////////////////
//
-#define MODULE "FloatingContacts"
-
#define TOTOPTIME_P 1000
#define TOTOPTIME_MAX (15*(60000/TOTOPTIME_P))
#define TOTOPTIME_DEF (3*(60000/TOTOPTIME_P))
@@ -68,8 +66,6 @@ enum #define DB_POS_GETY(pos) (short)(((float)(short)(HIWORD(pos))*(float)GetSystemMetrics(SM_CYSCREEN))/MAXRCOOR+0.5)
#define DB_POS_MAKE_XY(x, y) MAKELONG((short)(((float)x*MAXRCOOR)/(float)GetSystemMetrics(SM_CXSCREEN)+0.5), (short)(((float)y*MAXRCOOR)/(float)GetSystemMetrics(SM_CYSCREEN)+0.5))
-extern HINSTANCE hInst;
-
//extern BOOL bHideOffline;
//extern BOOL bHideAll;
//extern BOOL bHideWhenFullscreen;
@@ -117,7 +113,7 @@ typedef struct _FCOptions BOOL bHideWhenCListShow;
BOOL bUseSingleClick;
BOOL bShowIdle;
-}
+}
FCOptions;
extern FCOptions fcOpt;
@@ -132,11 +128,11 @@ static __forceinline BOOL ImageList_GetIconSize_my(HIMAGELIST himl, SIZE &sz) return res;
}
-void RegHotkey ( MCONTACT hContact, HWND hwnd );
-BOOL IsStatusVisible ( int status );
-BOOL HideOnFullScreen ();
-void SendMsgDialog ( HWND hwnd, wchar_t *pText );
-void SaveContactsPos ( void );
+void RegHotkey(MCONTACT hContact, HWND hwnd);
+BOOL IsStatusVisible(int status);
+BOOL HideOnFullScreen();
+void SendMsgDialog(HWND hwnd, wchar_t *pText);
+void SaveContactsPos(void);
/////////////////////////////////////////////////////////////////////////////
|