summaryrefslogtreecommitdiff
path: root/src/render/decorations
Commit message (Collapse)AuthorAgeFilesLines
* deco: fix warningsVaxry2024-03-091-3/+3
|
* config: improve config value infrastructureVaxry2024-03-033-81/+83
|
* renderer: minor fixes to transformationsVaxry2024-03-031-2/+2
|
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-024-14/+14
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* shadow: fix missed invalid use of cfg val ptrVaxry2024-02-211-1/+1
| | | | fixes #4785
* Migrate the config to hyprlang (#4656)Vaxry2024-02-183-69/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* groupbar: scale groupbar text according to monitor scale (#4640)Ben Landon2024-02-081-1/+2
|
* groupbar: separate gradients from title (#4444)MightyPlaza2024-01-151-16/+18
| | | | | | | | | | | * separate gradients from title logic modified: src/config/ConfigManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix disabled extents modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix disabled height modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* groupbar: improve gradient handling (#4390)MightyPlaza2024-01-081-13/+17
| | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* layout: update rules before applying fullscreen nodes in layoutsvaxerski2024-01-021-1/+1
|
* groupbar: Drag single window instead of destroying group (#4327)dranull2024-01-021-0/+3
|
* groupbar: add enabling groupbar and setting priority (#4299)MightyPlaza2023-12-302-9/+25
|
* groupbar: Middle click on groupbar to close tab (#4297)dranull2023-12-301-4/+20
| | | | | | | | | * Prevent window swapping when the head is removed * Bring floating windows to top when selected * Allow clicks on gropubar in fullscreen 1 * Close window on groupbar with middle click
* internal: minor include fixes and missed formatvaxerski2023-12-291-1/+1
|
* internal: Unify input handling on decorations (#4280)dranull2023-12-284-44/+62
| | | | | | | * Unify input handling on decorations * Make input methods private * Optional data
* hyprctl: add decorations (#4275)MightyPlaza2023-12-288-4/+28
| | | | | | | | | | | | | | | | | | * add hyprctl decorations modified: hyprctl/main.cpp modified: src/debug/HyprCtl.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprBorderDecoration.hpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.hpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fixes modified: hyprctl/main.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp
* groupbar: remove extra border size from groupbars (#4262)MightyPlaza2023-12-271-5/+2
| | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* groupbar: add egl context to refreshGroupBarGradients() (#4238)MightyPlaza2023-12-241-0/+2
| | | | | | | | * add egl context to refreshGroupBarGradients() modified: src/render/decorations/CHyprGroupBarDecoration.cpp * don't unsetEGL modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* shadow: Avoid rounded shadows when rounding is 0 (#4230)dranull2023-12-231-1/+2
|
* border: fix missed translate by offsetvaxerski2023-12-231-1/+1
|
* shadow: correctly scale boxesvaxerski2023-12-221-2/+4
|
* deco-positioner: include sticky in sent geometryVaxry2023-12-111-8/+8
|
* border: fix failed assert on small windowsVaxry2023-12-101-2/+5
| | | | fixes #4115
* internal: Remake borders as window decorations (#4104)Vaxry2023-12-105-18/+166
|
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-062-10/+5
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* groupbar: fix crash in renderGradientToVaxry2023-11-291-0/+3
| | | | fixes #3985
* groupbar: more safety around gradient texturesVaxry2023-11-281-4/+5
|
* groupbar: allow reload and fix locked groupbar gradient (#3546)MightyPlaza2023-11-262-14/+21
| | | | | modified: src/config/ConfigManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp
* shadow: add workspace offset to floating window shadow (#3906)thejch2023-11-201-0/+1
|
* groupbar: fix text pos with verical offset (#3893)MightyPlaza2023-11-191-1/+1
| | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* group: fix dragging into floating groups (#3719)MightyPlaza2023-11-191-0/+3
| | | | | | | | | | | * allow dragging into floating groups modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/layout/IHyprLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * floating-only modified: src/layout/IHyprLayout.cpp
* shadow: avoid fatal mutation of the windowBox for calcsVaxry2023-11-161-1/+1
| | | | fixes #3865
* shadow: avoid using glClear and don't draw behind window if ignore_windowvaxerski2023-11-161-3/+10
| | | | fixes #3860
* groupbar: Fix position of groupbar titles on monitor scales != 1.0 (#3856)Dickby2023-11-151-8/+6
|
* decorations: recalc layout and positioner on add/removeVaxry2023-11-132-0/+11
|
* groupbar: translate box by workspace offsetVaxry2023-11-121-1/+9
|
* deco-positioner: don't remove hidden windows' dataVaxry2023-11-121-3/+3
|
* decoration: add NON_SOLID flag for shadowVaxry2023-11-125-15/+32
| | | | fixes #3841
* decoration-positioner: improve stabilityVaxry2023-11-112-7/+45
|
* shadow: move workspace offset calcs to drawVaxry2023-11-111-11/+8
| | | | fixes #3829
* decoration-positioner: improve extent handlingVaxry2023-11-114-10/+49
|
* deco-positioner: recalc after uncacheVaxry2023-11-112-0/+4
|
* decorations: Decoration Positioner (#3800)Vaxry2023-11-118-150/+484
|
* shadow: alpha treatment improvementsVaxry2023-11-111-3/+3
|
* opengl: switch to black-and-white for alpha mattesVaxry2023-11-091-6/+13
| | | | also fixes shadows on 10b
* groups: add option to configure font name (#3751)David Leal2023-11-051-3/+4
|
* shadow: fix missed fullBox.scaleVaxry2023-11-041-0/+2
|
* renderer: allow transform enabling from outside openglVaxry2023-11-041-3/+3
|
* shadows: fix on transformedVaxry2023-11-041-5/+15
|
* shadow: fix ignore_window falseVaxry2023-11-041-1/+1
|