Toolbar: Improve Button Calculation
R.J.Shearman at warwick.ac.uk
Fri Mar 12 13:32:56 CST 2004
This patch improves the code calculating how big a button should be and
where to draw the various parts. It adds support for a toolbar global
iListGap parameter (future patches will allow you to set this) and makes
the toolbar use padding supplied by applications.
It also fixes Internet Explorer's "Go" button and the Media Player
sidebar buttons. It is still not identical with the native version, but
that doesn't seem to be a problem.
- Add support for a toolbar global iListGap.
- Make TOOLBAR_CalcToolbar and TOOLBAR_DrawButton not rely on "magic
numbers" and calculate sizes and positions more like native
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9337 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040312/763838cd/toolbar_calc.bin
More information about the wine-patches