----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviewboard.kde.org/r/591/#review924 -----------------------------------------------------------
this does't need multiple backends (we have multiple settings for theming already: themes), and the colour should come out of the theme color scheme so it can be matched properly to the panel. at the very least this can form the basis of the defaults; i'm unconvinced this needs to be configurable, since the idea is to at least replace the default black background for themes that don't provide opaque/ svg's (which is the proper route for themes) - Aaron On 2009-04-14 16:00:50, David Nolden wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviewboard.kde.org/r/591/ > ----------------------------------------------------------- > > (Updated 2009-04-14 16:00:50) > > > Review request for Plasma. > > > Summary > ------- > > This allows making transparent themes "solid" in a relatively nice-looking > way. My idea is that there would at least a few configurable > background-providers: User-chosen solid color(with alpha value), user-chosen > pattern(tinted by solid color with alpha-value), solid color autodetected > from the background image(to make the colors match). > > In this initial implementation, there is one background-provider for a color > with an alpha-value. This might also be a nice way to customize themes even > if composition is enabled, because it can be used to just reduce the > transparency, and tint the theme into a user-chosen direction. > > This isn't ready and doesn't have a user-interface, I'm mainly posting this > for review to check whether the general approach is accepted. > > To try it out, add something like: > frameBackgroundColor=#ff0000 > frameBackgroundColorAlpha=255 > Into the [Theme] section of the ~/.kde4/share/apps/plasmarc file. > > About the implementation: > The main problem is identifying the specific frames that are intended to run > as separate windows. I've done that using some simple string-matching, and it > worked well in all my tries. > > > Diffs > ----- > > trunk/KDE/kdelibs/plasma/CMakeLists.txt 953288 > trunk/KDE/kdelibs/plasma/framebackgroundprovider.h PRE-CREATION > trunk/KDE/kdelibs/plasma/framebackgroundprovider.cpp PRE-CREATION > trunk/KDE/kdelibs/plasma/framesvg.cpp 953288 > trunk/KDE/kdelibs/plasma/private/framesvg_p.h 953288 > trunk/KDE/kdelibs/plasma/theme.h 953288 > trunk/KDE/kdelibs/plasma/theme.cpp 953288 > > Diff: http://reviewboard.kde.org/r/591/diff > > > Testing > ------- > > > Thanks, > > David > > _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel