Commit Graph

95 Commits (804d3d4d73b9e0b393c01527cd16659f5ee972a0)

Author SHA1 Message Date
Michail Vourlakos 7deef41015 move View::WindowsTracker to own directory
Michail Vourlakos 149812080f move View/Indicator in its own directory
Michail Vourlakos 3cbc4a5daf support AppName for WindowInformation
--use plasma libtaskmanager code and way
in order to obtain properly the AppName and
the Icon for its window
Michail Vourlakos 99ec9cb2fd move WM:Trackers in its own directory
Michail Vourlakos 97332cc8cf introduce Display and Icon for WindowInfoWrap
Michail Vourlakos 6248a0ccae refactor:move schemecolors under "wm" folder
Michail Vourlakos 8c3d658a0d refactor:move Importer to "layouts" folder
Michail Vourlakos d426ecb50f refactor:launcherssignals moved to "layouts" folder
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
Michail Vourlakos 3aeabcd885 fix for LayoutsEditor cells coloring
--when the LayoutsEditor is losing focus the
colors chosen should respect that change
and be drawn correctly
Michail Vourlakos fb4508c6a7 simplify CMakeLists
Michail Vourlakos 861fced797 REFACTOR:move storaging to own class
--GenericLayout moves out all the storaging
mechanism to its dedicated Layout::Storage
class
Michail Vourlakos 7d0905e379 refactor: rename Layout to ActiveLayout
--first steps to abstract the Layout code in
different classes
Michail Vourlakos 2767c0f4a0 remove deprecated class from layout
Michail Vourlakos 3e19e553f1 add IndicatorInfo to have a global reference
Michail Vourlakos ba08038bc0 add Latte/Indicator type and improve metadata
Michail Vourlakos 3d2d399072 add functionality to custom indicators
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 78096b4181 refactor:move window functions to its own class
--all windows related functions present at visibility
manager are moved at their own class WindowsTracker
Michail Vourlakos b15bd24218 refactor:move shortcutsEngine to its own class
--in that way all environment related shortcuts
management (e.g. plasma related shortcuts) is moved
in its own class
Michail Vourlakos 608275cc6b refactor:move modifiers code at its own class
Michail Vourlakos 6f1c66f7d2 Display shortcut badges while holding Super
Summary:
Use `KModifierKeyInfo` to display shortcut badges while holding Super

BUG: 401768

Test Plan:
Just playing with it.
I still don't understand the `GlobalShortcut` class very well, correct me if I make any mistake.

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18620
Michail Vourlakos 62f396e86f add shortcuts for layout
Michail Vourlakos 5416b1c0ef REFACTOR:move layout to its own folder
Michail Vourlakos b418923c03 move from luminas to brightness
--the luminas functions didnt work well
for all cases. Latte is now using brightness
functions as described at:

   https://www.w3.org/TR/AERT/#color-contrast

this patch fixes all cases mentioned in the bug
that Latte contrast identification did not work well

BUG: 402115
Michail Vourlakos 095048223a refactor:move backgroundtracker under liblatte
Michail Vourlakos 3b8c52cc59 refactor:move lattepackage to simpler directory
Michail Vourlakos 0497c2c960 add PlasmaScreenPool to help with screen ids
-- Latte screen ids are different from plasma
screen ids. This class helps in order to help
translating the different screen ids between
Latte and Plasma.
Michail Vourlakos 2244cae8bc refactor:move PlasmaThemeExtended to better path
Michail Vourlakos 0510293c21 REFACTOR:Move confiView(s) to ViewPart:: namespace
Michail Vourlakos 9447a8f748 REFACTOR:replace liblattedock with new liblatte2
Michail Vourlakos 25d9d4ed17 refactor:rename DockCorona to Latte::Corona
Michail Vourlakos 7a3fcc7773 refactor:rename dockpackage to Latte::Package
Michail Vourlakos 39368a41de REFACTOR:rename DockView to Latte::View
--move all classes related to Latte::View
from dock/ folder to view/ folder
Michail Vourlakos 6a0438155b fix missing dependency
BUG: 401641
Michail Vourlakos 05bef49d5a move activitiesmodel to settings
Michail Vourlakos deefa6f32e REFACTOR:move wm related classes to wm folder
Michail Vourlakos d8f748b512 REFACTOR:move setting* to relevant folder
Michail Vourlakos 90a2bb3bc1 refactor:rename MenuManager to View::ContextMenu
Michail Vourlakos 47c3d6fb41 refactor:move effects and mask at own dock class
Michail Vourlakos 71d648437f move dock positioning code into its own class
Michail Vourlakos 7d9c5cf593 rename colortools to commontools
--this way more shared functions could be
added
Michail Vourlakos 0179bc6395 add colortools for luminas and plasmathemeextended
--plasmathemeextended is going to provide all the
functionality that current plasma theme infrastructure
does not. Such as roundness and dark/light color schemes
Michail Vourlakos f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
Michail Vourlakos 675bfe284d fix #980,support lock icon in layouts editor
-- when a layout is read-only then a lock icon
appears in its layout record.
Michail Vourlakos 1f0acbc3b5 Support KWin Edges mechanism
--by default now Latte supports the KWin Edges mechanism,
this way the following issues are fixed:
fix , fix , fix , fix , fix 
--improve dock behavior when the user user touch
gestures
--fix , support KWin bright placeholders
--this behavior can be disabled if the user prefers
the old one from the Tweaks page
--in !compositing no more is shown a 1px line at
the screen edge when the dock is hidden
--support KWin Edges in Multiple Layouts state under
X11
Michail Vourlakos b8321fb829 fix #905,smart colorize transparent panels
--enhanche the dynamic background feature and
in ordre to improve contrast with the underlying
background Latte now calculates the luminosity of the area
underneath the panel and based on that chooses the
best color to create contrast. The colors are chosen
only between textColor and backgroundColor.
Michail Vourlakos a1c672a864 create independent secondary config window
Michail Vourlakos 4b07ae7457 move dock contextmenu to dockmenumanager
Michail Vourlakos afe9a2e09d rename latteconfigdialog to settingsdialog