aboutsummaryrefslogtreecommitdiff
path: root/src/layout/focus_ring.rs
AgeCommit message (Collapse)Author
2025-11-16focus-ring: Fix first frame draw of border rounded cornersIvan Molodetskikh
How was this a thing until now?
2025-11-16focus-ring: Add thicken_corners settingIvan Molodetskikh
2025-11-13layout: Fix background color premultiplicationIvan Molodetskikh
2025-10-02config: Split Layout from LayoutPartIvan Molodetskikh
2025-05-10add urgent border color and gradientDuncan Overbruck
2025-02-10Implement tab indicatorsIvan Molodetskikh
2025-02-10Add alpha parameter to shadersIvan Molodetskikh
Lets us add extra opacity.
2025-02-02Add impl From<Color> for GradientIvan Molodetskikh
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2024-07-16Implement gradient color interpolation option (#548)Ivan Molodetskikh
* Added the better color averaging code (tested & functional) * rustfmt * Make Color f32 0..1, clarify premul/unpremul * Fix imports and test name * Premultiply gradient colors matching CSS * Fix indentation * fixup * Add gradient image --------- Co-authored-by: K's Thinkpad <K.T.Kraft@protonmail.com>
2024-06-18Fix blurry rounded corners on high scalesIvan Molodetskikh
2024-06-18Refactor layout to fractional-logicalIvan Molodetskikh
Lets borders, gaps, and everything else stay pixel-perfect even with fractional scale. Allows setting fractional border widths, gaps, struts. See the new wiki .md for more details.
2024-05-04Split update_render_elements() from advance_animations()Ivan Molodetskikh
advance_animations() is called from places like input, whereas update_render_elements() is strictly for rendering.
2024-05-04shader_element: Store and set location separatelyIvan Molodetskikh
2024-05-03Make BorderRenderElement scale-agnosticIvan Molodetskikh
2024-05-03shader_element: Store program type instead of shaderIvan Molodetskikh
2024-05-03shader_element: Make shader optionalIvan Molodetskikh
The element is long-lived, but the shader itself isn't.
2024-05-03Reduce unnecessary damage to bordersIvan Molodetskikh
2024-05-02Implement rounded window cornersIvan Molodetskikh
2024-02-22Fix new warningsIvan Molodetskikh
2024-02-21Implement gradient bordersIvan Molodetskikh
2024-02-21focus-ring: Store config instead of individual fieldsIvan Molodetskikh
2024-02-21Accept location in FocusRingIvan Molodetskikh
Makes it work more like other elements.
2024-01-07Move config into a separate crateIvan Molodetskikh
Get miette and knuffel deps contained within.
2023-12-27layout: Refactor to support window decorations, add border and fullscreen ↵Ivan Molodetskikh
backdrop Windows are now wrapped in Tiles, which keep track of window-specific decorations. Particularly, I implemented a black fullscreen backdrop, which finally brings fullscreened windows smaller than the screen in line with how the Wayland protocol says they should look—centered in a black rectangle. I also implemented window borders, which are similar to the focus ring, but always visible (and hence affect the layout and sizing).
2023-12-26Use correct type alias in FocusRing::renderIvan Molodetskikh
2023-12-24Split layout mod into filesIvan Molodetskikh
No functional change intended.