summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/tabctrl.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-03 21:56:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-03 21:56:17 +0000
commitfc3091cb598ad8401fb4af2a6e3931141c9895a1 (patch)
treecdbf34b27d1ff8d5986f687a9c51e93a0099bf55 /plugins/TabSRMM/src/tabctrl.cpp
parent98ad0478550773f19712b598edc56ef7dbea2985 (diff)
- old junk removed from tabSRMM & replaced with the modern calls
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/tabctrl.cpp')
-rw-r--r--plugins/TabSRMM/src/tabctrl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/tabctrl.cpp b/plugins/TabSRMM/src/tabctrl.cpp
index b82f1c9b0e..5ddd545766 100644
--- a/plugins/TabSRMM/src/tabctrl.cpp
+++ b/plugins/TabSRMM/src/tabctrl.cpp
@@ -135,7 +135,7 @@ static void TSAPI DrawCustomTabPage(HDC hdc, RECT& rcClient)
::DeleteObject(hPen);
}
-void TSAPI FillTabBackground(const HDC hdc, int iStateId, const TWindowData* dat, RECT* rc)
+void TSAPI FillTabBackground(const HDC hdc, int iStateId, const TWindowData *dat, RECT* rc)
{
unsigned clrIndex;
@@ -157,7 +157,7 @@ void TSAPI FillTabBackground(const HDC hdc, int iStateId, const TWindowData* dat
* icon handle in dat->hTabIcon
*/
-static void DrawItem(TabControlData *tabdat, HDC dc, RECT *rcItem, int nHint, int nItem, TWindowData* dat)
+static void DrawItem(TabControlData *tabdat, HDC dc, RECT *rcItem, int nHint, int nItem, TWindowData *dat)
{
int iSize = 16;
DWORD dwTextFlags = DT_SINGLELINE | DT_VCENTER/* | DT_NOPREFIX*/;
@@ -245,7 +245,7 @@ static void DrawItem(TabControlData *tabdat, HDC dc, RECT *rcItem, int nHint, in
static RECT rcTabPage = {0};
-static void DrawItemRect(struct TabControlData *tabdat, HDC dc, RECT *rcItem, int nHint, int iItem, const TWindowData* dat)
+static void DrawItemRect(struct TabControlData *tabdat, HDC dc, RECT *rcItem, int nHint, int iItem, const TWindowData *dat)
{
POINT pt;
DWORD dwStyle = tabdat->dwStyle;
@@ -400,7 +400,7 @@ static int DWordAlign(int n)
return n;
}
-static HRESULT DrawThemesPartWithAero(const TabControlData *tabdat, HDC hDC, int iPartId, int iStateId, LPRECT prcBox, TWindowData* dat)
+static HRESULT DrawThemesPartWithAero(const TabControlData *tabdat, HDC hDC, int iPartId, int iStateId, LPRECT prcBox, TWindowData *dat)
{
HRESULT hResult = 0;
bool fAero = M.isAero();
@@ -452,7 +452,7 @@ static HRESULT DrawThemesPart(const TabControlData *tabdat, HDC hDC, int iPartId
* handles image mirroring for tabs at the bottom
*/
-static void DrawThemesXpTabItem(HDC pDC, int ixItem, RECT *rcItem, UINT uiFlag, struct TabControlData *tabdat, TWindowData* dat)
+static void DrawThemesXpTabItem(HDC pDC, int ixItem, RECT *rcItem, UINT uiFlag, struct TabControlData *tabdat, TWindowData *dat)
{
BOOL bBody = (uiFlag & 1) ? TRUE : FALSE;
BOOL bSel = (uiFlag & 2) ? TRUE : FALSE;
@@ -883,7 +883,7 @@ page_done:
hti.flags = 0;
hotItem = TabCtrl_HitTest(hwnd, &hti);
for (i=0; i < nCount; i++) {
- TWindowData* dat = 0;
+ TWindowData *dat = 0;
if (i != iActive) {
TabCtrl_GetItem(hwnd, i, &item);