diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-06 12:10:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-06 12:10:42 +0000 |
commit | 3480ee282427850ceaee9ab38887b66c396cbf67 (patch) | |
tree | 9ae6d69ff176f0168a392546118ddf7769478561 /plugins/TabSRMM/src/msgs.h | |
parent | ecbda9bae58700987dcb77730f54dfc37b3ff9c5 (diff) |
tabSRMM: code cleaning for chat fonts/colors
git-svn-id: http://svn.miranda-ng.org/main/trunk@5243 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgs.h')
-rw-r--r-- | plugins/TabSRMM/src/msgs.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h index 0c0fb7f70c..857ea34629 100644 --- a/plugins/TabSRMM/src/msgs.h +++ b/plugins/TabSRMM/src/msgs.h @@ -31,13 +31,6 @@ #ifndef _MSGS_H
#define _MSGS_H
-#ifdef _MSC_VER
-#if _MSC_VER < 1400
-#define uintptr_t UINT_PTR
-#define _localtime32 localtime
-#define __time32_t time_t
-#endif
-#endif
/*
* required for MingW32 compatibility
*/
@@ -239,13 +232,13 @@ struct TContainerData CSideBar *SideBar;
};
-struct SESSIONINFO_TYPE;
+struct SESSION_INFO;
struct TWindowData
{
UINT cbSize;
BYTE bType;
- struct TContainerData *pContainer; // parent container description structure
+ TContainerData *pContainer; // parent container description structure
HWND hwnd;
DWORD dwFlags;
DWORD dwFlagsEx;
@@ -270,7 +263,7 @@ struct TWindowData UINT bbRSideWidth; //MAD
BYTE kstate[256];
- SESSIONINFO_TYPE* si;
+ SESSION_INFO* si;
RECT rcNick, rcUIN, rcStatus, rcPic;
HANDLE hDbEventFirst, hDbEventLast;
@@ -353,17 +346,19 @@ struct TWindowData #define MESSAGE_WINDOW_DATA_SIZE offsetof(_MessageWindowData, hdbEventFirst);
-typedef struct _recentinfo {
+struct RECENTINFO
+{
DWORD dwFirst, dwMostRecent; // timestamps
int iFirstIndex, iMostRecent; // tab indices
HWND hwndFirst, hwndMostRecent; // client window handles
-} RECENTINFO;
+};
/*
* configuration data for custom tab ctrl
*/
-struct myTabCtrl {
+struct myTabCtrl
+{
HPEN m_hPenShadow, m_hPenItemShadow, m_hPenLight;
HFONT m_hMenuFont;
COLORREF colors[10];
@@ -372,7 +367,8 @@ struct myTabCtrl { int m_bottomAdjust;
};
-struct TIconDesc {
+struct TIconDesc
+{
char *szName;
char *szDesc;
HICON *phIcon; // where the handle is saved...
@@ -380,7 +376,8 @@ struct TIconDesc { BOOL bForceSmall; // true: force 16x16
};
-struct TIconDescW {
+struct TIconDescW
+{
TCHAR *szName;
TCHAR *szDesc;
HICON *phIcon; // where the handle is saved...
@@ -417,7 +414,8 @@ struct TIconDescW { #define MIN_PANELHEIGHT 20
-struct TNewWindowData {
+struct TNewWindowData
+{
HANDLE hContact;
int isWchar;
const char* szInitialText;
|