Commit Graph

10 Commits

Author SHA1 Message Date
Frank Richter eed5b662b9 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.
2005-08-29 09:30:17 +00:00
Frank Richter 0f94e03b40 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.
2005-08-12 15:51:13 +00:00
Frank Richter 420d7a82da Opening some theme class data now also increases the reference count
of the theme file, so as long as theme class data is still opened
somewhere, the theme file won't get freed. Otherwise, it could happen
that invalid class data was used, which could lead to problems.
2005-07-05 11:45:57 +00:00
Kevin Koltzau 92002d924b Implemented system metric functions. 2004-02-20 05:12:21 +00:00
Kevin Koltzau f28552b3d3 Keep track of theme filename within THEME_FILE. 2004-02-17 20:22:27 +00:00
Kevin Koltzau 533a999adb Implement DrawThemeBackgroundEx, DrawThemeText, GetThemeTextExtent. 2004-02-16 20:32:59 +00:00
Kevin Koltzau c31cae0f7e Load properties from the theme ini.
Implemented most of the GetTheme* functions.
2004-01-23 04:34:02 +00:00
Kevin Koltzau 5e8a34f163 Full implementation of OpenThemeData, CloseThemeData, and
IsThemePartDefined
Export undocumented functions by ordinal only (to match Microsoft's
uxtheme).
2004-01-19 21:52:09 +00:00
Kevin Koltzau e04ff33417 Add INI file processing.
Full implementation of GetThemeDocumentationProperty.
Define string maps for parsing INI files into useable form.
Implemented (undocumented) ApplyTheme to select current theme.
2004-01-16 21:25:25 +00:00
Kevin Koltzau d2c4cf14f8 Load, validate and retrieve a few properties from an msstyles theme. 2003-12-08 22:45:26 +00:00