plasma-framework/private
David Nolden 347c0caac4 - Allow painting a background color, or a background pattern behind freely floating elements of the theme, to provide a better fallback mechanism for transparent themes when composition is not available.
The color/pattern is given through the configuration file, and updating due to changes of the configuration file works perfectly. A simple user-interface to use this will be added to the panel configuration.
If you want to try this out, put into the [Theme] section of your plasmarc file:
frameBackgroundColor=#aacc00 (Your picked color)
frameBackgroundColorAlpha=120 (Alpha value for the color, between 0 and 255, 0=invisible, 255=opaque)
frameBackgroundPattern=/path/to/image
frameBackgroundPatternAlpha=255 (Alpha value for the pattern, as above)

The color is painted first, then the pattern. They are painted into the mask defined by the theme, so this only works nicely with themes that supply proper masks.


svn path=/trunk/KDE/kdelibs/; revision=961915
2009-05-01 00:41:41 +00:00
..
qtjolie-branch Add forward headers and use them in the tests. 2009-04-25 14:06:25 +00:00
actionwidgetinterface_p.h licensing and what not 2009-04-24 08:55:31 +00:00
applet_p.h allow loading applets from packages directly 2009-04-26 00:43:20 +00:00
applethandle_p.h Fix handle possibly moving to the other side if the cursor exist for a short time. 2009-02-20 23:23:55 +00:00
applethandle.cpp Don't start the fade out animation if the applet handle is still under the mouse. 2009-04-02 19:08:22 +00:00
configloader_p.h enable-final and compiler warnings fixed 2009-01-06 17:06:26 +00:00
containment_p.h Toolbox -> ToolBox 2009-04-24 19:28:17 +00:00
datacontainer_p.cpp ignore timer id's that aren't ours 2009-03-25 19:10:02 +00:00
datacontainer_p.h ok, this time JUST the plasma dir ;) 2008-11-03 23:08:39 +00:00
dataengine_p.h ++compile 2008-11-04 02:39:56 +00:00
dataengineconsumer_p.h use a QSet instead of a list since we're doing random access and don't care about order 2009-04-07 20:57:19 +00:00
desktoptoolbox_p.h try again to show the toolbox as a circle in the corners, but more 2009-03-24 20:37:28 +00:00
desktoptoolbox.cpp try again to show the toolbox as a circle in the corners, but more 2009-03-24 20:37:28 +00:00
extender_p.h Set margins for spacer and empty extender label based on the extender-background margins, and also consider the extender empty if there are only empty groups in it. 2009-04-30 00:34:49 +00:00
extenderapplet_p.h 1 regression down! Reenabling and changing one of the layout workarounds fixes the incorrect sizehints problem for detached extenderitems, while still allowing 2009-02-09 19:21:59 +00:00
extenderapplet.cpp 1 regression down! Reenabling and changing one of the layout workarounds fixes the incorrect sizehints problem for detached extenderitems, while still allowing 2009-02-09 19:21:59 +00:00
extendergroup_p.h Fix memory leak on theme changes. 2009-04-30 00:46:57 +00:00
extenderitem_p.h Yay! Add support for grouping in extenders. Expect this feature used for grouping jobs in systemtray soon: I'll commit that as soon as I figured out the last problem that patch has (an atm seemingly random crash that happens incidentally). 2009-03-23 16:30:32 +00:00
extenderitemmimedata_p.h Massive refactoring of extender drag&drop handling. This should avoid bugs with the old way of doing things (toplevel view on an offscreen widget can lose 2009-02-09 18:10:45 +00:00
extenderitemmimedata.cpp Massive refactoring of extender drag&drop handling. This should avoid bugs with the old way of doing things (toplevel view on an offscreen widget can lose 2009-02-09 18:10:45 +00:00
framesvg_p.h - Allow painting a background color, or a background pattern behind freely floating elements of the theme, to provide a better fallback mechanism for transparent themes when composition is not available. 2009-05-01 00:41:41 +00:00
nativetabbar_p.h clicking on the tabs in the weather widget felt normal. scroll wheeling == nice. but i kept trying to grab the tab thumb and move it around! now i can :) 2009-04-09 06:41:37 +00:00
nativetabbar.cpp clicking on the tabs in the weather widget felt normal. scroll wheeling == nice. but i kept trying to grab the tab thumb and move it around! now i can :) 2009-04-09 06:41:37 +00:00
packages_p.h allow setting of rendering hints, follow them in the package 2009-04-07 07:18:58 +00:00
packages.cpp SVN_SILENT: don't really need that debug 2009-04-07 07:31:42 +00:00
paneltoolbox_p.h get the highlight/unhilight and shown/unshown sorted out.. now it all works on for the spacer in the panel containment :) 2009-04-24 19:29:16 +00:00
paneltoolbox.cpp get the highlight/unhilight and shown/unshown sorted out.. now it all works on for the spacer in the panel containment :) 2009-04-24 19:29:16 +00:00
popupapplet_p.h Do not let plasma popup appear over screensaver. 2009-04-17 08:45:46 +00:00
runnerjobs.cpp Style correction - thanks Dan 2009-04-23 02:13:54 +00:00
runnerjobs.h if the RunnerManager is deleted but jobs are still processing, create a helper object to wait it out and clean them up when possible 2009-03-12 20:25:52 +00:00
service_p.h delete the config file first before the temp file so that it doesn't write itself out after the tempfile has been removed, avoiding spawning endless temp files. 2009-01-16 17:16:10 +00:00
sharedtimer_p.h ok, this time JUST the plasma dir ;) 2008-11-03 23:08:39 +00:00
style_p.h style with FrameSvg all the lineedits, spinboxes and comboboxes, use 2009-01-17 18:00:33 +00:00
style.cpp ability to have different vertical and horizontal background 2009-03-11 21:03:50 +00:00
toolbox_p.h some small tweaks to the desktop toolbox to make it work with the cashew-triggers-dashboard change 2009-01-28 13:38:57 +00:00
toolbox.cpp SVN_SILENT: minor ws fix 2009-04-24 19:28:37 +00:00
tooltip_p.h fix for the billionth time the tooltip positioning borkage, hopefully 2009-04-17 16:55:42 +00:00
tooltip.cpp gah, no more necessary those two vars 2009-04-17 16:57:16 +00:00
wallpaper_p.h expose the caching for wallpapers that don't use render() to use 2009-04-10 19:49:33 +00:00
wallpaperrenderthread_p.h we can't queue signals with our own enum type, but since this is all internal to the lib and doesn't ever escape into the public API, just pass it around as an int. 2009-04-02 17:21:42 +00:00
wallpaperrenderthread.cpp don't keep threads around forever, let them finish 2009-04-23 16:40:18 +00:00
windowpreview_p.h put a border for each window 2009-04-27 20:16:22 +00:00
windowpreview.cpp put a border for each window 2009-04-27 20:16:22 +00:00