Commit Graph

16 Commits

Author SHA1 Message Date
Stefan Huehner 2440dcfe88 Fix -Wmissing-declarations warnings. 2005-07-05 12:49:14 +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
Frank Richter 796f941bee Enable/disable "flat menus" based on the setting from the active
theme.
2005-07-05 10:55:22 +00:00
Frank Richter db56189f24 Have the theme INI file parsed upon theme activation and not just when
the first theme data is requested; that way, the themed system colors
are set correctly from the start, and not just after some theme data
was requested.
2005-07-01 15:39:14 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +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 f3883fe820 Process color metrics for themes. 2004-02-07 01:02:28 +00:00
Kevin Koltzau 16dc166d4f Ensure MSSTYLES_SetActiveTheme fails properly when theme is invalid. 2004-01-26 21:22:34 +00:00
Vitaliy Margolen a3b58e9d30 Prevent segfault if no theme is set. 2004-01-26 20:13:50 +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