Toolbar: Drawing Code Rewrite
R.J.Shearman at warwick.ac.uk
Wed Mar 10 09:45:29 CST 2004
This patch makes DrawButton a lot simpler. It splits out the drawing
functions into DrawImage which draws the button image, DrawFrame which
draws the frame around the button and DrawSepDDArrow which draws the
entire separate drop-down arrow. Not only does this make the drawing
functions easier to manage, it should also make it easier to add theming
code in the future (they are now split up into the same parts as in the
themes). We also now properly support the state CDIS_MARKED/BTNS_MARKED.
Next on the agenda is to rewrite the button size calculation code,
including integrating Dmitry's code.
Rewrite drawing code
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 24214 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040310/58cea294/toolbar_drawing.bin
More information about the wine-patches