Commit eda911e3 authored by Aaron J. Seigo's avatar Aaron J. Seigo

first swipe at this

parents
// We create the SVG object; this will cause it to load the file in
// contents/images/tiger.svg
var svg = new PlasmaSvg('routes')
var lines = Array("active", "quick", "contour", "os", "vendor", "hauptbahnhof")
//plasmoid.setAction('myAction', i18n('Toggle KDE Logo'), 'plasma')
plasmoid.paintInterface = function(painter, options, rect)
{
var active = Array("contour-1", "contour-2")
rect = plasmoid.rect
painter.translate(rect.x, rect.y)
svg.resize(rect.width, rect.height)
for (i in lines) {
svg.paint(painter, svg.elementRect(lines[i]), lines[i])
}
for (i in active) {
svg.paint(painter, svg.elementRect(active[i]), active[i])
}
}
This diff is collapsed.
[Desktop Entry]
Encoding=UTF-8
Name=Plasma Active Tracker
Comment=Tracker for the Plasma Active initiative
Type=Service
ServiceTypes=Plasma/Applet
X-KDE-PluginInfo-Author=Aaron Seigo
X-KDE-PluginInfo-Email=panel-devel@kde.org
X-KDE-PluginInfo-Name=org.kde.activelinientnetzplan
X-KDE-PluginInfo-Version=0.1
X-KDE-PluginInfo-Website=http://plasma.kde.org/
X-KDE-PluginInfo-Category=Online Services
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-API=javascript
X-Plasma-MainScript=code/main.js
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment