From 3b8d44fb4646951be55b3777cbe30d3280867067 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Jul 2012 15:51:11 +0000 Subject: - 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 --- plugins/ExternalAPI/m_toptoolbar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h index 11cc6e9c6a..40735aa17c 100644 --- a/plugins/ExternalAPI/m_toptoolbar.h +++ b/plugins/ExternalAPI/m_toptoolbar.h @@ -163,7 +163,9 @@ struct TTBCtrl int nButtonWidth; int nButtonHeight; int nButtonSpace; - BOOL bFlatButtons; + int nLastHeight; // fix against recursion in WM_SIZE + int nLineCount; + BOOL bFlatButtons, bAutoSize, bSingleLine; SortedList* pButtonList; -- cgit v1.2.3