summaryrefslogtreecommitdiff
path: root/src/render/decorations/CHyprGroupBarDecoration.hpp
Commit message (Collapse)AuthorAgeFilesLines
* renderer: refactor part 7: api fixes (#13631)UjinT342026-03-281-6/+6
| | | | | | | Part 7 of ujin's refactors --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* renderer: refactor Texture, Framebuffer and Renderbuffer (#13437)UjinT342026-03-061-4/+4
| | | Part 1 of the renderer refactors
* grpupbar: Add config options to color inactive and locked groupbar titles ↵Jacob Ilias Komissar2025-06-161-0/+2
| | | | (#10667)
* groupbar: force recalc on visibility changesvaxerski2025-05-281-0/+3
| | | | fixes #10566
* render: refactor class member vars (#10292)davc0n2025-05-051-11/+9
| | | | | * render: refactor class member vars * render: fix clang format
* groupbar: Add options for setting group bar title font weight (and indicator ↵M Matthew Hydock2025-04-241-2/+2
| | | | gap) (#9617)
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-301-2/+2
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-2/+2
|
* groupbar: unify title renderingvaxerski2025-01-021-2/+1
| | | | moves the text renderer to the unified opengl impl
* core: drop using deques in favor of vectorsVaxry2024-12-161-15/+15
| | | | No point in most of these.
* internal: more profiling less calls and local copies (#8300)Tom Englund2024-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compositor: reduce amount of window box copies mousemoveunified can call this very frequently, the cbox copying actually shows up as an impact in such cases, move it down in the scope and only do it when necessery. * core: constify and reference frequent calls profiling shows these as frequent called functions try to reduce the amount of copies with references and const the variables. * pointermgr: remove not used local copy, const ref remove unneded local copies and const ref cursorsize. * inputmgr: reduce amount of calls to vectortowindow the amount of calls to g_pCompositor->vectorToWindowUnified fast ramps up in cpu usage with enough windows existing and moving the mouse, move the PWINDOWIDEAL up and reuse it if its already the same. * protocol: compositor remove unused local copy remove unused local copy of accumulateCurrentBufferDamage and const previousBuffer. * renderer: reduce scope of variables and refactor move a few variables down in their scopes to reduce the amount of calls and copies when not needed, also add one more for loop in renderWorkspaceWindows and store the windows in a vector with weakpointers that should be rendered, this adds a loop but reduces the amount of repeated calls to shouldRenderWindow and also makes the rest of the loops go over way smaller vector when many windows exist.
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-1/+1
| | | | | * move monitors to sp * XD
* core: Move to hyprutils for MathVaxry2024-06-191-1/+1
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* groupbar: Fix window title rendering (#6392)zakk42232024-06-101-0/+3
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-1/+1
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* decoration: Stacked group tabs (#5886)zakk42232024-05-161-0/+1
| | | | | | | | | | | | * Stacked group tabs * Fix index when creating groupbar title textures * Changes for stacked dnd * formatting * Don't remove internal horizontal padding when calculating stacked bar width
* groupbar: fix title scaling (#5969)MightyPlaza2024-05-091-1/+1
| | | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp
* decorations: fix groupbar input (#5963)MightyPlaza2024-05-091-2/+3
| | | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-9/+9
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* renderer/animations: Fix various inaccurate damage tracking issues and ↵thejch2024-03-311-1/+1
| | | | offsets (#5297)
* internal: Unify input handling on decorations (#4280)dranull2023-12-281-5/+6
| | | | | | | * Unify input handling on decorations * Make input methods private * Optional data
* hyprctl: add decorations (#4275)MightyPlaza2023-12-281-0/+2
| | | | | | | | | | | | | | | | | | * 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: allow reload and fix locked groupbar gradient (#3546)MightyPlaza2023-11-261-2/+2
| | | | | modified: src/config/ConfigManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-14/+15
|
* Decos: Window decoration flags, shadow improvements (#3739)Vaxry2023-11-041-2/+4
|
* input: handle mouse on decorations (#3560)MightyPlaza2023-10-291-0/+8
|
* decos: groupbar mouse interaction (#3102)MightyPlaza2023-08-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow groupbar clicking modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp * remove setting pos inside insertWindowToGroup() modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * add group window by index and group size functions modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp * allow dragging into groupbar modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * allow dragging from groupbar modified: src/managers/KeybindManager.cpp * try groupbar clicking before border resize modified: src/managers/input/InputManager.cpp * block grabbing groupbar on floating (crash) remove later when crashing is fixed modified: src/managers/KeybindManager.cpp * remove redundant { } modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * implement getWindowDecorationBox() modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fix crash when moveoutofgroup in floating windows also removes dragging from floating windows limitation modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp * use CRegion in getWindowDecorationBox() modified: src/helpers/Region.cpp modified: src/helpers/Region.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * add groupbar scrolling modified: src/config/ConfigManager.cpp modified: src/managers/input/InputManager.cpp * change name to getWindowDecorationRegion() modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * make dragging from group less hacky for floating modified: src/managers/KeybindManager.cpp
* groupbar: fix vram leakvaxerski2023-07-111-1/+6
|
* groupbars: conserve VRAM by staticizing texturesvaxerski2023-05-221-12/+9
|
* groupbars: add title and gradient renderingvaxerski2023-05-221-5/+26
|
* groupbar: make exclusivevaxerski2023-05-221-0/+2
|
* Added clang format (#1239)Vaxry2022-12-161-11/+11
| | | * clang-format stuff and format files
* offset floating windows out of bounds on ws animsvaxerski2022-10-071-1/+1
|
* added DPMSvaxerski2022-07-271-1/+1
|
* fix fade with decovaxerski2022-06-251-1/+1
|
* Added IHyprWindowDecoration and Group Barsvaxerski2022-05-281-0/+30