9d197e8cb6
Summary: The new effect scales windows as they appear and disappear. As the the most of window animation effects, it is a monolithic effect, i.e., if you enable scale effect, it will animate *both* the appearing and disappearing. The main difference between the Scale effect and the Scale in effect is that the Scale in effect only animates windows as they appear. There is no corresponding "the Scale out" effect, which is odd. Other points that differentiate the Scale effect from the Scale in effect: * it is more subtle; * it doesn't animate the log out screen; * it doesn't conflict with the Fade effect, etc. ... and overall, the Scale effect supersedes the Scale in effect. {F5904947} //Window open animation.// {F5904948} //Window close animation.// {F5905283, layout=center, size=full} //KCM.// Test Plan: * Enabled this effect * Opened/closed System Settings Reviewers: #kwin, #plasma, #vdg, davidedmundson Reviewed By: #kwin, #plasma, #vdg, davidedmundson Subscribers: ngraham, davidedmundson, fvogt, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D13461
25 lines
701 B
CMake
25 lines
701 B
CMake
#######################################
|
|
# Config
|
|
set(kwin_scale_config_SRCS scale_config.cpp)
|
|
ki18n_wrap_ui(kwin_scale_config_SRCS scale_config.ui)
|
|
qt5_add_dbus_interface(kwin_scale_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
|
kconfig_add_kcfg_files(kwin_scale_config_SRCS scaleconfig.kcfgc)
|
|
|
|
add_library(kwin_scale_config MODULE ${kwin_scale_config_SRCS})
|
|
|
|
target_link_libraries(kwin_scale_config
|
|
Qt5::DBus
|
|
KF5::ConfigWidgets
|
|
KF5::I18n
|
|
KF5::Service
|
|
)
|
|
|
|
kcoreaddons_desktop_to_json(kwin_scale_config scale_config.desktop SERVICE_TYPES kcmodule.desktop)
|
|
|
|
install(
|
|
TARGETS
|
|
kwin_scale_config
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/kwin/effects/configs
|
|
)
|
|
|