3a4eb9a093
* a copy of the blur shader to become a copy of the background contrast effect * contrastshader actually doing the light modification * don't expand/shrink the area
30 lines
911 B
CMake
30 lines
911 B
CMake
#######################################
|
|
# Effect
|
|
|
|
# Source files
|
|
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
|
|
backgroundcontrast/contrast.cpp
|
|
backgroundcontrast/contrastshader.cpp )
|
|
|
|
kde4_add_kcfg_files(kwin4_effect_builtins_sources backgroundcontrast/contrastconfig.kcfgc)
|
|
|
|
# .desktop files
|
|
install( FILES
|
|
backgroundcontrast/contrast.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
|
|
|
#######################################
|
|
# Config
|
|
|
|
# Source files
|
|
set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources}
|
|
backgroundcontrast/contrast_config.cpp
|
|
backgroundcontrast/contrast_config.ui )
|
|
|
|
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources backgroundcontrast/contrastconfig.kcfgc)
|
|
|
|
# .desktop files
|
|
install( FILES
|
|
backgroundcontrast/contrast_config.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
|
|