summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_toolbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-11 15:51:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-11 15:51:11 +0000
commit3b8d44fb4646951be55b3777cbe30d3280867067 (patch)
tree8efa68247b8478dff4856415f06c15babf7136a7 /plugins/Clist_modern/modern_toolbar.cpp
parenta051932068d3d2b76dac5afb279310505c2e70f0 (diff)
- antiflicker effect for TTB resizing (thx to FYR for writing it)
- TTB visual part extracted to the separate module git-svn-id: http://svn.miranda-ng.org/main/trunk@904 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_toolbar.cpp')
-rw-r--r--plugins/Clist_modern/modern_toolbar.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/Clist_modern/modern_toolbar.cpp b/plugins/Clist_modern/modern_toolbar.cpp
index 91da73a04d..116f3a90d6 100644
--- a/plugins/Clist_modern/modern_toolbar.cpp
+++ b/plugins/Clist_modern/modern_toolbar.cpp
@@ -99,10 +99,6 @@ static int Modern_InitButtons(WPARAM, LPARAM)
struct ModernToolbarCtrl : public TTBCtrl
{
XPTHANDLE mtbXPTheme;
- BOOL fAutoSize;
- int nLineCount;
- WORD wLastHeight;
- BOOL fSingleLine;
};
struct MTB_BUTTONINFO
@@ -308,7 +304,6 @@ void CustomizeToolbar(HWND hwnd)
CallService(MS_SKINENG_REGISTERPAINTSUB,(WPARAM)hwnd,(LPARAM)ToolBar_LayeredPaintProc);
- pMTBInfo->nLineCount = 1;
pMTBInfo->mtbXPTheme = xpt_AddThemeHandle(hwnd, L"TOOLBAR");
}