2020-04-25 18:54:28 +03:00
/ *
* Copyright 2020 Michail Vourlakos < mvourlakos @ gmail . com >
*
* This file is part of Latte - Dock
*
* Latte - Dock is free software ; you can redistribute it and / or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation ; either version 2 of
* the License , or ( at your option ) any later version .
*
* Latte - Dock is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
* along with this program . If not , see < http: //www.gnu.org/licenses/>.
* /
import QtQuick 2.7
2020-12-03 18:59:05 +02:00
import org . kde . latte . abilities . definition 0.1 as AbilityDefinition
2020-04-25 18:54:28 +03:00
2020-04-26 02:59:46 +03:00
AbilityDefinition . Animations {
2020-04-26 16:54:04 +03:00
id: apis
2020-04-26 02:59:46 +03:00
2020-04-26 16:54:04 +03:00
readonly property Item publicApi: Item {
//! animations properties
readonly property alias active: apis . active
readonly property alias hasThicknessAnimation: apis . hasThicknessAnimation
2020-04-25 18:54:28 +03:00
2020-04-26 16:54:04 +03:00
readonly property alias duration: apis . duration
readonly property alias speedFactor: apis . speedFactor
2020-04-25 18:54:28 +03:00
2020-04-26 16:54:04 +03:00
//! animations tracking
readonly property alias needBothAxis: apis . needBothAxis
readonly property alias needLength: apis . needLength
readonly property alias needThickness: apis . needThickness
2020-04-25 18:54:28 +03:00
2020-04-26 16:54:04 +03:00
//! parabolic effect animations
readonly property alias hoverPixelSensitivity: apis . hoverPixelSensitivity
}
2020-04-25 18:54:28 +03:00
}