plugins/shakecursor: Drop embedded high resolution version of breeze cursor theme
This commit is contained in:
parent
66fd123f61
commit
69012002d2
7 changed files with 1 additions and 151 deletions
|
@ -3,7 +3,6 @@ kwin_add_builtin_effect(shakecursor)
|
|||
target_sources(shakecursor PRIVATE
|
||||
main.cpp
|
||||
shakecursor.cpp
|
||||
shakecursor.qrc
|
||||
shakedetector.cpp
|
||||
)
|
||||
|
||||
|
|
Binary file not shown.
|
@ -1,63 +0,0 @@
|
|||
[Icon Theme]
|
||||
Name=Breeze Light
|
||||
Name[ar]=نسيم فاتح
|
||||
Name[bg]=Breeze Светъл
|
||||
Name[ca]=Brisa clara
|
||||
Name[ca@valencia]=Brisa clara
|
||||
Name[cs]=Breeze Světlé
|
||||
Name[da]=Breeze Lys
|
||||
Name[en_GB]=Breeze Light
|
||||
Name[eo]=Breeze Light
|
||||
Name[es]=Brisa claro
|
||||
Name[eu]=Breeze argia
|
||||
Name[fr]=Breeze clair
|
||||
Name[he]=בריזה בהירה
|
||||
Name[hu]=Breeze Light
|
||||
Name[ia]=Breeze Light (Brisa Ligier)
|
||||
Name[is]=Breeze Light
|
||||
Name[it]=Brezza chiaro
|
||||
Name[ka]=Breeze ღია
|
||||
Name[lt]=Breeze šviesus
|
||||
Name[nl]=Breeze Light
|
||||
Name[nn]=Breeze lys
|
||||
Name[pl]=Jasna Bryza
|
||||
Name[pt_BR]=Breeze light
|
||||
Name[sl]=Sapica svetla
|
||||
Name[sv]=Breeze lätt
|
||||
Name[ta]=வெளிர் பிரீஸ்
|
||||
Name[tr]=Esinti Açık
|
||||
Name[uk]=Світла Breeze
|
||||
Name[x-test]=xxBreeze Lightxx
|
||||
Name[zh_CN]=Breeze 微风浅色
|
||||
Name[zh_TW]=Breeze Light
|
||||
Comment=Breeze Light by the KDE VDG
|
||||
Comment[ar]=نسيم فاتح من مجموعة تصميم كِيدِي
|
||||
Comment[bg]=Breeze Светъл от KDE VDG
|
||||
Comment[ca]=Brisa clara, creat pel VDG del KDE
|
||||
Comment[ca@valencia]=Brisa clara, creat pel VDG de KDE
|
||||
Comment[cs]=Breeze Light od KDE VDG
|
||||
Comment[da]=Breeze Lys af KDE-VDG'en
|
||||
Comment[en_GB]=Breeze Light by the KDE VDG
|
||||
Comment[eo]=Brizo Leĝera de la KDE VDG
|
||||
Comment[es]=Brisa claro, por KDE VDG
|
||||
Comment[eu]=Breeze argia, KDE VDGk egina
|
||||
Comment[fr]=Breeze clair par le groupe de conception graphique de KDE
|
||||
Comment[he]=בריזה בהירה מאת צוות העיצוב החזותי של KDE
|
||||
Comment[hu]=Breeze Light a KDE VDG-től
|
||||
Comment[ia]=Breeze (Brisa) Ligier per KDE VDG
|
||||
Comment[is]=Breeze Light frá KDE VDG
|
||||
Comment[it]=Brezza chiaro a cura del VDG di KDE
|
||||
Comment[ka]=Breeze-ის ღია ვარიანტი, KDE VDG-სგან
|
||||
Comment[lt]=Breeze šviesus pagal KDE VDG
|
||||
Comment[nl]=Breeze Light door de KDE VDG
|
||||
Comment[nn]=Breeze lys frå KDE VDG
|
||||
Comment[pl]=Jasna Bryza autorstwa KDE VDG
|
||||
Comment[pt_BR]=Breeze light pelo KDE VDG
|
||||
Comment[sl]=Sapica svetla od KDE VDG
|
||||
Comment[sv]=Breeze lätt av KDE:s visuella designgrupp
|
||||
Comment[ta]=கே.டீ.யீ. VDG வழங்கும் வெளிர் பிரீஸ்
|
||||
Comment[tr]=KDE VDG tarafından Esinti Açık
|
||||
Comment[uk]=Світла Breeze, автори — KDE VDG
|
||||
Comment[x-test]=xxBreeze Light by the KDE VDGxx
|
||||
Comment[zh_CN]=Breeze 微风浅色主题,由 KDE VDG (视觉设计团队) 设计制作
|
||||
Comment[zh_TW]=由 KDE VDG 製作的 Breeze Light
|
Binary file not shown.
|
@ -1,63 +0,0 @@
|
|||
[Icon Theme]
|
||||
Name=Breeze
|
||||
Name[ar]=نسيم
|
||||
Name[bg]=Breeze
|
||||
Name[ca]=Brisa
|
||||
Name[ca@valencia]=Brisa
|
||||
Name[cs]=Breeze
|
||||
Name[da]=Breeze
|
||||
Name[en_GB]=Breeze
|
||||
Name[eo]=Breeze
|
||||
Name[es]=Brisa
|
||||
Name[eu]=Breeze (Brisa)
|
||||
Name[fr]=Breeze
|
||||
Name[he]=בריזה
|
||||
Name[hu]=Breeze
|
||||
Name[ia]=Breeze(Brisa)
|
||||
Name[is]=Breeze
|
||||
Name[it]=Brezza
|
||||
Name[ka]=Breeze
|
||||
Name[lt]=Breeze
|
||||
Name[nl]=Breeze
|
||||
Name[nn]=Breeze
|
||||
Name[pl]=Bryza
|
||||
Name[pt_BR]=Breeze
|
||||
Name[sl]=Sapica
|
||||
Name[sv]=Breeze
|
||||
Name[ta]=பிரீஸ்
|
||||
Name[tr]=Esinti
|
||||
Name[uk]=Breeze
|
||||
Name[x-test]=xxBreezexx
|
||||
Name[zh_CN]=Breeze 微风
|
||||
Name[zh_TW]=Breeze
|
||||
Comment=Breeze by the KDE VDG
|
||||
Comment[ar]=نسيم من مجموعة تصميم كِيدِي
|
||||
Comment[bg]=Breeze от KDE VDG
|
||||
Comment[ca]=Brisa, creat pel VDG del KDE
|
||||
Comment[ca@valencia]=Brisa, creat pel VDG de KDE
|
||||
Comment[cs]=Breeze od KDE VDG
|
||||
Comment[da]=Breeze af KDE-VDG'en
|
||||
Comment[en_GB]=Breeze by the KDE VDG
|
||||
Comment[eo]=Brizo de la KDE VDG
|
||||
Comment[es]=Brisa, por KDE VDG
|
||||
Comment[eu]=Breeze, KDE VDGk egina
|
||||
Comment[fr]=Breeze par le groupe de conception graphique de KDE
|
||||
Comment[he]=בריזה מאת צוות העיצוב החזותי של KDE
|
||||
Comment[hu]=Breeze a KDE VDG-től
|
||||
Comment[ia]=Breeze (Brisa) per le KDE VDG
|
||||
Comment[is]=Breeze frá KDE VDG
|
||||
Comment[it]=Brezza a cura del KDE VDG
|
||||
Comment[ka]=Breeze KDE VDG-სგან
|
||||
Comment[lt]=Breeze pagal KDE VDG
|
||||
Comment[nl]=Breeze door de KDE VDG
|
||||
Comment[nn]=Breeze frå KDE VDG
|
||||
Comment[pl]=Bryza autorstwa KDE VDG
|
||||
Comment[pt_BR]=Breeze pelo KDE VDG
|
||||
Comment[sl]=Sapica od KDE VDG
|
||||
Comment[sv]=Breeze av KDE:s visuella designgrupp
|
||||
Comment[ta]=கே.டீ.யீ. VDG வழங்கும் பிரீஸ்
|
||||
Comment[tr]=KDE VDG tarafından Esinti
|
||||
Comment[uk]=Breeze, автори — KDE VDG
|
||||
Comment[x-test]=xxBreeze by the KDE VDGxx
|
||||
Comment[zh_CN]=Breeze 微风主题,由 KDE VDG (视觉设计团队) 设计制作
|
||||
Comment[zh_TW]=由 KDE VDG 設計的 Breeze
|
|
@ -15,11 +15,6 @@
|
|||
#include "scene/itemrenderer.h"
|
||||
#include "scene/workspacescene.h"
|
||||
|
||||
static void ensureResources()
|
||||
{
|
||||
Q_INIT_RESOURCE(shakecursor);
|
||||
}
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
|
@ -47,7 +42,6 @@ void ShakeCursorItem::refresh()
|
|||
ShakeCursorEffect::ShakeCursorEffect()
|
||||
: m_cursor(Cursors::self()->mouse())
|
||||
{
|
||||
ensureResources();
|
||||
input()->installInputEventSpy(this);
|
||||
|
||||
m_deflateTimer.setSingleShot(true);
|
||||
|
@ -153,16 +147,7 @@ void ShakeCursorEffect::magnify(qreal magnification)
|
|||
const qreal maxScale = ShakeCursorConfig::magnification() + 4 * ShakeCursorConfig::overMagnification();
|
||||
const KXcursorTheme originalTheme = input()->pointer()->cursorTheme();
|
||||
if (m_cursorTheme.name() != originalTheme.name() || m_cursorTheme.size() != originalTheme.size() || m_cursorTheme.devicePixelRatio() != maxScale) {
|
||||
static const QStringList embeddedCursorThemes{
|
||||
QStringLiteral("breeze_cursors"),
|
||||
QStringLiteral("Breeze_Light"),
|
||||
};
|
||||
|
||||
QStringList searchPaths;
|
||||
if (embeddedCursorThemes.contains(originalTheme.name())) {
|
||||
searchPaths.append(QStringLiteral(":/effects/shakecursor/cursors"));
|
||||
}
|
||||
m_cursorTheme = KXcursorTheme(originalTheme.name(), originalTheme.size(), maxScale, searchPaths);
|
||||
m_cursorTheme = KXcursorTheme(originalTheme.name(), originalTheme.size(), maxScale);
|
||||
}
|
||||
|
||||
m_cursorItem = std::make_unique<ShakeCursorItem>(m_cursorTheme, effects->scene()->overlayItem());
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource prefix="/effects/shakecursor/">
|
||||
<file>cursors/breeze_cursors/cursors/default</file>
|
||||
<file>cursors/breeze_cursors/index.theme</file>
|
||||
<file>cursors/Breeze_Light/cursors/default</file>
|
||||
<file>cursors/Breeze_Light/index.theme</file>
|
||||
</qresource>
|
||||
</RCC>
|
Loading…
Reference in a new issue