mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
[uxtheme]
- Fix the size of the caption buttons. Now they have the correct size with themes like Luna Inspirat or clear looks svn path=/branches/GSoC_2011/ThemesSupport/; revision=52679
This commit is contained in:
parent
1c0a0fa28e
commit
099b4c9363
|
@ -229,8 +229,8 @@ ThemeDrawCaptionButton(PDRAW_CONTEXT pcontext,
|
||||||
RECT rcPart;
|
RECT rcPart;
|
||||||
INT ButtonWidth, ButtonHeight, iPartId;
|
INT ButtonWidth, ButtonHeight, iPartId;
|
||||||
|
|
||||||
ButtonHeight = GetThemeSysSize(pcontext->theme, pcontext->wi.dwExStyle & WS_EX_TOOLWINDOW ? SM_CYSMSIZE : SM_CYSIZE);
|
ButtonHeight = GetSystemMetrics( pcontext->wi.dwExStyle & WS_EX_TOOLWINDOW ? SM_CYSMSIZE : SM_CYSIZE);
|
||||||
ButtonWidth = GetThemeSysSize(pcontext->theme, pcontext->wi.dwExStyle & WS_EX_TOOLWINDOW ? SM_CXSMSIZE : SM_CXSIZE);
|
ButtonWidth = GetSystemMetrics( pcontext->wi.dwExStyle & WS_EX_TOOLWINDOW ? SM_CXSMSIZE : SM_CXSIZE);
|
||||||
|
|
||||||
switch(buttonId)
|
switch(buttonId)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue