~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to plasma/generic/applets/battery/README.txt

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Obviously, this is a battery monitor applet for Plasma.
 
2
 
 
3
The catch of those four .svg files is the following:
 
4
 
 
5
battery-inkscape.svg is an so-called "Inkscape SVG", it's the one
 
6
                you want to edit end export to
 
7
battery.svg as plain .svg file.
 
8
 
 
9
Likewise, for the Oxygen theme.
 
10
 
 
11
This file contains various layers:
 
12
 
 
13
* Battery The "background", an empty battery
 
14
* AcAdapter A flash, saying "Ac is plugged in"
 
15
* Fill10 10% filled, red
 
16
* Fill20 20% filled, orange
 
17
* Fill20 30% filled, green (and so on...)
 
18
* Fill30
 
19
* Fill40
 
20
* Fill50
 
21
* Fill60
 
22
* Fill70
 
23
* Fill80
 
24
* Fill90
 
25
* Fill010
 
26
* Shadow An Oxygen-style shadow under the battery
 
27
 
 
28
The Battery layer is always rendered as the first step. On top
 
29
of that, we render only one of the FillN layers. If the AC
 
30
Adapter is plugged in, we paint that layer on top of the cake.
 
31
It makes no difference when we paint the Shadow, there's no
 
32
overlap between shadow and other layers.