Commit Graph

74 Commits (99454c0b15ba7afbeedea69b0ceb0a7a1f44783a)

Author SHA1 Message Date
Michail Vourlakos 7a11670e33 introduce AppletsContainer for LayoutsContainer
Michail Vourlakos fb4508c6a7 simplify CMakeLists
Michail Vourlakos c735792c30 REFACTOR:replace all "foreach" statements
Michail Vourlakos 1210e708c9 support automatic roundness to !compositing
Michail Vourlakos 81204e3519 support importing indicators from compressed files
Michail Vourlakos f9289dc558 support colorGroup for IconItem
--this way we fix all coloring issues with
plasma theme icons e.g. the audio indicator
was not painted correctly for some themes
Michail Vourlakos 0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
Michail Vourlakos ca80a7932f introduce LatteComponents to be consumed globally
--this is needed in order for indicators plugins in
the future to provide the same UI elements with the
rest of LatteView Settings windows
Michail Vourlakos 28d197484e fix warnings
Michail Vourlakos e505e20e59 fix Latte Indicator when plasmoid in Desktop
Michail Vourlakos b89ef0e50b fix warnings fron new indicators architecture
Michail Vourlakos 4318404c9c fix warnings and improvements for Indicators
Michail Vourlakos aa83854b03 fix liblatte2 faulty reference
Michail Vourlakos 0d568c81d5 update indicators architecture to be independent
--first steps in order to support completely independent
indicators that can be downloaded/installed/used online
Michail Vourlakos 1c2df50380 Unity: support reversedEnabled
Michail Vourlakos 480e7532a2 Unity:disable upper arrow indicator for applets
Michail Vourlakos c39f0b4c8c add group indicator for Plasma style
Michail Vourlakos 10fbf41081 enable hover effect for Plasma Style
Michail Vourlakos 33c584cc08 Mouse wheel action for empty areas
--User can now choose for the panel empty areas
a sroll wheel behavior:
-Scroll Desktops
-Scroll Activities
-Scroll Tasks

BUG: 404266
Michail Vourlakos d5ef4c8acf discover standard paths independent of distro
Michail Vourlakos 981e11d231 update all indicators to new architecture
--Latte/Plasma indicators were updated to new
Indicators architecture that supports Back and
Front Layers
Michail Vourlakos c85ec4c07a new architecture for Indicators
--indicators now support both Back/Front
layers. Back layer is the usual layer
behind the current Item and the Front layer is
a layer above the current Item (overlay)
--update Unity to follow new architecture
Michail Vourlakos cb5a602d27 Unity: improve arrow drawing
--draw an external line in the color of
the background in order to create a better
contrast
Michail Vourlakos bc0ad9d19f Unity:fix windows indicators for vertical views
Michail Vourlakos a919dc3fca Unity:add triangles, make things more interesting
--added triangles indicators that follow plasma theme
coloring in order to indicate windows count, minimized
state and isActive flag

CCBUG: 404122
Michail Vourlakos 104ee8581f add more information for indicators consumption
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
Michail Vourlakos 0cd97b6815 improve border size in Unity indicator
Michail Vourlakos f1a34ce437 add hacks in config windows for inner shadow
Michail Vourlakos e1c964ea34 move external shadow under liblatte2
Tranter Madi cf0182e827 Improve Unity Indicator
Summary:
- Fix the bug "UnityRect is smaller than the icon in some cases", caused by `anchors.margin: 4`
- Do not use plasma colors for `isActive` or `inAttention` cases.

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19309
Michail Vourlakos ff77bc3485 compute icon colors only for indicators requesting
Michail Vourlakos b1865e2634 hide indicator properly when task is removed
Michail Vourlakos dd1c3f61b8 increase mask thickness when indicators needed it
Michail Vourlakos 57bf3f3829 mask Unity glow to not break boundaries
Michail Vourlakos 9fcde6ad6b Unity indicator improvements
--force rectangle indicator only for Tasks and use
full applet size for Applets
Michail Vourlakos ab0604b149 improvements for Unity indicator
Michail Vourlakos f1eb8becfc improvements for Plasma Style indicator
Michail Vourlakos 388a5cdb99 important fixes for tasks states
Michail Vourlakos d9fe9d438d move Plasma/UnityIndicators into liblatte2
Michail Vourlakos 529c6f0bab adjust applet to new LatteIndicator
Michail Vourlakos ab85d28701 move LatteIndicator at Latte library as it should
Michail Vourlakos 3d7f5e7990 update Latte Indicator to new design
Michail Vourlakos 19815138c5 set a limit for backgrounds hash size
--Latte should remember 300 backgrounds
maximum and afterwards that cache is removed.
That way we can avoid cases that because
a slideshow plugin uses too many wallpapers
does not make Latte to have high memory usage.
Michail Vourlakos cd825d9463 fix restoring wallpaper tracking after slideshow
Michail Vourlakos e303130ef6 release broadcasted backgrounds when not needed
--an example could be when the user decides to change
wallpaper plugin for its desktop from a slideshow
to other wallpaper plugins
Michail Vourlakos 362d50a1fd support wallpaper slideshows
Michail Vourlakos 7a6dfa352c improve how iconitem tracks source changes
--this is used mostly to identify when the colors
should be updated
Michail Vourlakos c2dc637a46 activate Unity indicator style
--this is just initial work and not even close
to the final result but it is the ground in order
to build upon.
Michail Vourlakos 9eb5e25a2c support unity colors in Latte::IconItem
--iconitem now can provide a background and glow
color for its icon when the propery providesColors
is enabled
Michail Vourlakos 7772ee2855 add Type property for Latte::View
Summary:
--this way any part interested to know the
real type of Latte::View it can access the
all new type() property

Test Plan:
test view settings that indicate correctly
the panel/dock type

Reviewers: trmdi, #latte_dock

Reviewed By: trmdi

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18926