Eine neue KWin Fensterdekoration Theme Engine

Dies ist eine Übersetzung des Englischen Posts A new KWin window decoration theme engine

Ich habe mit der Arbeit an einer neuen Theme Engine für Fensterdekorationen begonnen. Das Ziel ist Themes für Dekos so einfach zu machen wie Themes für Plasma. Also nutzt es Plasma Technologien, insbesondere FrameSvg 😉 Hier ist ein Screenshot des aktuellen Stand:

Von KWin

Der Hintergrund der Dekoration basiert auf Air’s transparenten Hintergrund und die Icons… nun man sieht, dass ich kein Künstler bin (und serenity auch nicht, der den Schließen Knopf erstellt hat). Es gibt bisher auch nur einen Minimieren und einen Schließen Knopf. Wie man sieht wird KWin’s neue ARGB Dekoratioen benutzt und das Theme zeichnet eigene Schatten. Die Engine unterstützt jedoch noch nicht wirklich undurchsichtige Dekorationen und das ist einer der noch ausstehenden Todos. Aber es wurde auch entwickelt mit Gedanken an ARGB Dekos 🙂

Aktuell fehlen noch zwei Dinge: ein Name und Beispielthemes. Wenn jemand Ideen für Namen hat, bitte einfach einen Kommentar hinterlassen. Und wer Interesse hat ein Theme zu erstellen, soll mich doch bitte einfach kontaktieren.

Ach ich habe noch keinen Code ins SVN eingespielt, aber die Engine wird bald in playground zu finden sein. Es gibt da noch ein paar Blocker (zum Beispiel der fehlende Name), welche zuerst behoben werden müssen, bevor ich den Code teile.

A new KWin window decoration theme engine

I started to work on a new theme engine for window decoration. The goal is to make deco themes as easy as Plasma themes. So it’s using Plasma technologies, that is FrameSvg 😉 Well here is a screenshot of current state:

Von KWin

The decoration background is based on Air’s translucent background and the icons… well you see I’m not an artist. And there is only a minimize and a close button. As you can see it uses KWin’s new ARGB decoration and the theme paints it’s own shadows. The engine does not yet really support opaque decorations that’s one of the left todos. But it’s thought with ARGB decos in mind 🙂

Currently two things are still missing: a name and example themes. So if you have ideas for names please leave a comment and if you are interested in creating a theme, please contact me.

Ah I have not yet committed any code into SVN, but you will soon find the engine in playground. There are some blockers (like the name) which have to be fixed before I want to share the code.