On Windows, the title bar can be set to light or dark mode via DwmSetWindowAttribute ().
This adds code to update the main title bar and dialogue title bars based on the current theme.
The main title bar uses "prefer-dark-theme", while the dialogue title bars
uses the color of the widget background to assume the correct color.
2009-01-17 Michael Natterer <mitch@gimp.org>
* all files with a GPL header and all COPYING files:
Change licence to GPLv3 (and to LGPLv3 for libgimp).
Cleaned up some copyright headers and regenerated the parsers in
the ImageMap plugin.
svn path=/trunk/; revision=27913
2003-11-15 Michael Natterer <mitch@gimp.org>
* app/gui/themes.c (themes_get_theme_file): new utility function
which takes a filename relative to the theme's root directory and
returns the absolute path to the file in the current theme. It
falls back to the resp. path in the default theme if the given
file is not present in the current theme.
* app/gui/preferences-dialog.c (prefs_notebook_append_page): use it.
2003-11-12 Michael Natterer <mitch@gimp.org>
* app/gui/themes.[ch]: split out function themes_apply_theme()
from themes_init(). Connect to "notify::theme" of gimp->config and
change the theme in the callback. Added themes_list_themes().
Added "const gchar *theme_name" parameter to
themes_get_theme_dir().
* app/gui/gui-vtable.c (gui_get_theme_dir): changed accordingly.
* app/gui/preferences-dialog.c (prefs_dialog_create): enabled
theme selection on the "Interface" page. Still has many issues
(like using a conceptually wrong method of theme changing ;-)
but it won't get fixed if we cannot change themes on the fly...
2003-09-11 Michael Natterer <mitch@gimp.org>
* app/gui/Makefile.am
* app/gui/themes.[ch]: new files.
* app/gui/gui.[ch]: code taken from here. It was getting too large.
* app/gui/preferences-dialog.c; changed accordingly.