Sync to Wine-20050830:
Kevin Koltzau <kevin@plop.org>
- Fix 'cast to pointer from integer of different size' warnings in
64bit.
Frank Richter <frank.richter@gmail.com>
- Add support for the BT_NONE background type.
- Better computations to have uniformly sized parts scaled in both
directions.
- Implement GetThemeBackgroundExtent().
- Implement DrawThemeEdge().
- Implement support for the ST_TILE background stretching mode.
- Implementation for GetThemePartSize() (not entirely equivalent to
native uxtheme, but sensibly useable).
- Enhance uxtheme to store the themed system metrics in the registry and
also backup the old metrics. That way, themed system colors are set
even uxtheme was not loaded and initialized yet, and when a theme is
deactivated, the colors prior to the activation are restored as well.
- Also, not having to set the system colors in uxtheme startup works
around weird problems where SetSystemColors() ended up being called
from inside window creation and this seemingly led to some creation
message being sent twice.
- Make GetThemeMargins() return default values (0 margin) if the
function does not succeed.
- More elaborate IsThemeBackgroundPartiallyTransparent() implementation;
also returns TRUE for theme parts with 32bpp images.
- Since theme images are reused now it's not really a good idea to
delete them in drawing functions.
- Pass around what kind of transparency an image actually needs. Use
alpha-blending for 32bpp images.
- Set some default values for truesize sizing that seem closer to
Windows.
- If a MINSIZEn property is not present, fall back to actual size of nth
image to determine whether it is suitable.
- EnumThemeColors() and EnumThemeSizes() actually do not return a single
string with the color/size name, but rather a struct containing three
strings - name, display name and tooltip.
- The default image layout is HORIZONTAL, not VERTICAL.
- Take a common computation out of two if-branches in
UXTHEME_LoadImage().
- Compare result of RegQueryValueExW() with ERROR_SUCCESS.
- Another fix to use magenta as the default transparent color.
- Implement "manual" image sharing(as opposed to using LoadImage() with
LR_SHARED) by keeping the loaded images in a list. This is needed for
proper alpha support later on since once-per-image preparations will
be needed then.
- Add support for horizontal & vertical alignment when doing truesize
sizing.
- Whatever TrueSizeStretchMark is for - it's not what Wine uxtheme used
it for. Native uxtheme always stretches "truesize" parts when the
destination is smaller than the part image size, but
TrueSizeStretchMark doesn't seem to have an influence.
svn path=/trunk/; revision=17719
2005-09-07 16:22:51 +00:00
|
|
|
# Undocumented functions - Names derived from debug symbols
|
|
|
|
1 stdcall -noname QueryThemeServices()
|
|
|
|
2 stdcall -noname OpenThemeFile(wstr wstr wstr ptr long)
|
|
|
|
3 stdcall -noname CloseThemeFile(ptr)
|
|
|
|
4 stdcall -noname ApplyTheme(ptr ptr ptr)
|
|
|
|
7 stdcall -noname GetThemeDefaults(wstr wstr long wstr long)
|
|
|
|
8 stdcall -noname EnumThemes(wstr ptr ptr)
|
|
|
|
9 stdcall -noname EnumThemeColors(wstr wstr long ptr)
|
|
|
|
10 stdcall -noname EnumThemeSizes(wstr wstr long ptr)
|
|
|
|
11 stdcall -noname ParseThemeIniFile(wstr wstr ptr ptr)
|
|
|
|
13 stub -noname DrawNCPreview
|
|
|
|
14 stub -noname RegisterDefaultTheme
|
|
|
|
15 stub -noname DumpLoadedThemeToTextFile
|
|
|
|
16 stub -noname OpenThemeDataFromFile
|
|
|
|
17 stub -noname OpenThemeFileFromData
|
|
|
|
18 stub -noname GetThemeSysSize96
|
|
|
|
19 stub -noname GetThemeSysFont96
|
|
|
|
20 stub -noname SessionAllocate
|
|
|
|
21 stub -noname SessionFree
|
|
|
|
22 stub -noname ThemeHooksOn
|
|
|
|
23 stub -noname ThemeHooksOff
|
|
|
|
24 stub -noname AreThemeHooksActive
|
|
|
|
25 stub -noname GetCurrentChangeNumber
|
|
|
|
26 stub -noname GetNewChangeNumber
|
|
|
|
27 stub -noname SetGlobalTheme
|
|
|
|
28 stub -noname GetGlobalTheme
|
|
|
|
29 stdcall -noname CheckThemeSignature(wstr)
|
|
|
|
30 stub -noname LoadTheme
|
|
|
|
31 stub -noname InitUserTheme
|
|
|
|
32 stub -noname InitUserRegistry
|
|
|
|
33 stub -noname ReestablishServerConnection
|
|
|
|
34 stub -noname ThemeHooksInstall
|
|
|
|
35 stub -noname ThemeHooksRemove
|
|
|
|
36 stub -noname RefreshThemeForTS
|
|
|
|
43 stub -noname ClassicGetSystemMetrics
|
|
|
|
44 stub -noname ClassicSystemParametersInfoA
|
|
|
|
45 stub -noname ClassicSystemParametersInfoW
|
|
|
|
46 stub -noname ClassicAdjustWindowRectEx
|
|
|
|
48 stub -noname GetThemeParseErrorInfo
|
|
|
|
60 stub -noname CreateThemeDataFromObjects
|
|
|
|
61 stub -noname OpenThemeDataEx
|
|
|
|
62 stub -noname ServerClearStockObjects
|
|
|
|
63 stub -noname MarkSelection
|
|
|
|
|
|
|
|
# Standard functions
|
|
|
|
@ stdcall CloseThemeData(ptr)
|
|
|
|
@ stdcall DrawThemeBackground(ptr ptr long long ptr ptr)
|
|
|
|
@ stdcall DrawThemeBackgroundEx(ptr ptr long long ptr ptr)
|
|
|
|
@ stdcall DrawThemeEdge(ptr ptr long long ptr long long ptr)
|
|
|
|
@ stdcall DrawThemeIcon(ptr ptr long long ptr ptr long)
|
|
|
|
@ stdcall DrawThemeParentBackground(ptr ptr ptr)
|
|
|
|
@ stdcall DrawThemeText(ptr ptr long long wstr long long long ptr)
|
|
|
|
@ stdcall EnableThemeDialogTexture(ptr long)
|
|
|
|
@ stdcall EnableTheming(long)
|
|
|
|
@ stdcall GetCurrentThemeName(wstr long wstr long wstr long)
|
|
|
|
@ stdcall GetThemeAppProperties()
|
|
|
|
@ stdcall GetThemeBackgroundContentRect(ptr ptr long long ptr ptr)
|
|
|
|
@ stdcall GetThemeBackgroundExtent(ptr ptr long long ptr ptr)
|
|
|
|
@ stdcall GetThemeBackgroundRegion(ptr ptr long long ptr ptr)
|
|
|
|
@ stdcall GetThemeBool(ptr long long long ptr)
|
|
|
|
@ stdcall GetThemeColor(ptr long long long ptr)
|
|
|
|
@ stdcall GetThemeDocumentationProperty(wstr wstr wstr long)
|
|
|
|
@ stdcall GetThemeEnumValue(ptr long long long ptr)
|
|
|
|
@ stdcall GetThemeFilename(ptr long long long wstr long)
|
|
|
|
@ stdcall GetThemeFont(ptr ptr long long long ptr)
|
|
|
|
@ stdcall GetThemeInt(ptr long long long ptr)
|
|
|
|
@ stdcall GetThemeIntList(ptr long long long ptr)
|
|
|
|
@ stdcall GetThemeMargins(ptr ptr long long long ptr ptr)
|
|
|
|
@ stdcall GetThemeMetric(ptr ptr long long long ptr)
|
|
|
|
@ stdcall GetThemePartSize(ptr ptr long long ptr long ptr)
|
|
|
|
@ stdcall GetThemePosition(ptr long long long ptr)
|
|
|
|
@ stdcall GetThemePropertyOrigin(ptr long long long ptr)
|
|
|
|
@ stdcall GetThemeRect(ptr long long long ptr)
|
|
|
|
@ stdcall GetThemeString(ptr long long long wstr long)
|
|
|
|
@ stdcall GetThemeSysBool(ptr long)
|
|
|
|
@ stdcall GetThemeSysColor(ptr long)
|
|
|
|
@ stdcall GetThemeSysColorBrush(ptr long)
|
|
|
|
@ stdcall GetThemeSysFont(ptr long ptr)
|
|
|
|
@ stdcall GetThemeSysInt(ptr long ptr)
|
|
|
|
@ stdcall GetThemeSysSize(ptr long)
|
|
|
|
@ stdcall GetThemeSysString(ptr long wstr long)
|
|
|
|
@ stdcall GetThemeTextExtent(ptr ptr long long wstr long long ptr ptr)
|
|
|
|
@ stdcall GetThemeTextMetrics(ptr ptr long long ptr)
|
|
|
|
@ stdcall GetWindowTheme(ptr)
|
2005-10-08 19:49:47 +00:00
|
|
|
@ stdcall HitTestThemeBackground(ptr long long long long ptr long double ptr)
|
Sync to Wine-20050830:
Kevin Koltzau <kevin@plop.org>
- Fix 'cast to pointer from integer of different size' warnings in
64bit.
Frank Richter <frank.richter@gmail.com>
- Add support for the BT_NONE background type.
- Better computations to have uniformly sized parts scaled in both
directions.
- Implement GetThemeBackgroundExtent().
- Implement DrawThemeEdge().
- Implement support for the ST_TILE background stretching mode.
- Implementation for GetThemePartSize() (not entirely equivalent to
native uxtheme, but sensibly useable).
- Enhance uxtheme to store the themed system metrics in the registry and
also backup the old metrics. That way, themed system colors are set
even uxtheme was not loaded and initialized yet, and when a theme is
deactivated, the colors prior to the activation are restored as well.
- Also, not having to set the system colors in uxtheme startup works
around weird problems where SetSystemColors() ended up being called
from inside window creation and this seemingly led to some creation
message being sent twice.
- Make GetThemeMargins() return default values (0 margin) if the
function does not succeed.
- More elaborate IsThemeBackgroundPartiallyTransparent() implementation;
also returns TRUE for theme parts with 32bpp images.
- Since theme images are reused now it's not really a good idea to
delete them in drawing functions.
- Pass around what kind of transparency an image actually needs. Use
alpha-blending for 32bpp images.
- Set some default values for truesize sizing that seem closer to
Windows.
- If a MINSIZEn property is not present, fall back to actual size of nth
image to determine whether it is suitable.
- EnumThemeColors() and EnumThemeSizes() actually do not return a single
string with the color/size name, but rather a struct containing three
strings - name, display name and tooltip.
- The default image layout is HORIZONTAL, not VERTICAL.
- Take a common computation out of two if-branches in
UXTHEME_LoadImage().
- Compare result of RegQueryValueExW() with ERROR_SUCCESS.
- Another fix to use magenta as the default transparent color.
- Implement "manual" image sharing(as opposed to using LoadImage() with
LR_SHARED) by keeping the loaded images in a list. This is needed for
proper alpha support later on since once-per-image preparations will
be needed then.
- Add support for horizontal & vertical alignment when doing truesize
sizing.
- Whatever TrueSizeStretchMark is for - it's not what Wine uxtheme used
it for. Native uxtheme always stretches "truesize" parts when the
destination is smaller than the part image size, but
TrueSizeStretchMark doesn't seem to have an influence.
svn path=/trunk/; revision=17719
2005-09-07 16:22:51 +00:00
|
|
|
@ stdcall IsAppThemed()
|
|
|
|
@ stdcall IsThemeActive()
|
|
|
|
@ stdcall IsThemeBackgroundPartiallyTransparent(ptr long long)
|
|
|
|
@ stdcall IsThemeDialogTextureEnabled(ptr)
|
|
|
|
@ stdcall IsThemePartDefined(ptr long long)
|
|
|
|
@ stdcall OpenThemeData(ptr wstr)
|
|
|
|
@ stdcall SetThemeAppProperties(long)
|
|
|
|
@ stdcall SetWindowTheme(ptr wstr wstr)
|