forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on f51dd67f2d4beaeb0bad697ec026685a8efc5ca8Filtered to src/layout/tile.rsClear filter

2024-04-17

Preserve tile move config on animation restartsIvan Molodetskikh · 47f6c85
Preserve tile move config on animation restarts

This fixes a problem where consume-into-column would use resize
animation config instead of the window-movement config in most cases
(since a resize comes very shortly after the move starts).

A similar change to the column movement anim is more detrimental than
it's worth.

2024-04-16

2024-04-15

2024-04-13

2024-04-10

Fix building on stableIvan Molodetskikh · 6cd3f96Browse files
Reimplement window closing anim in an efficient wayIvan Molodetskikh · 1888696
Reimplement window closing anim in an efficient way

- Keep a root surface cache to be accessible in surface destroyed()
- Only snapshot during / right before closing, rather than every frame
- Store textures rather than elements to handle scale and alpha properly

2024-04-09

2024-04-08

Implement window open shift in terms of window-movementIvan Molodetskikh · 4856522
Implement window open shift in terms of window-movement

This removes the quite unobvious visual size, and fixes jerking when
opening multiple windows in quick succession.

2024-03-24

2024-03-19

2024-03-05

2024-02-21

Implement gradient bordersIvan Molodetskikh · 48f0f6fBrowse files
Accept location in FocusRingIvan Molodetskikh · 646e3d8
Accept location in FocusRing

Makes it work more like other elements.

2024-02-12

2024-02-07

animation: Accept ms as u32Ivan Molodetskikh · 753a904
animation: Accept ms as u32

Less boilerplate elsewhere.

2024-02-06

Inline variableIvan Molodetskikh · d4929b8Browse files
Move focus ring into TileIvan Molodetskikh · 93c547f
Move focus ring into Tile

For now, will make the open animation better.
Split render_helpers.rsIvan Molodetskikh · b2298dbBrowse files

2024-02-05

layout/tile: Return Iterator of render elementsIvan Molodetskikh · bf978fe
layout/tile: Return Iterator of render elements

Avoid a Vec.

2024-02-04

layout: Add TileRenderElementIvan Molodetskikh · 57521c6Browse files
layout: Add LayoutElementRenderElementIvan Molodetskikh · da826e4
layout: Add LayoutElementRenderElement

Allows for testing layout rendering without Wayland windows.

2023-12-29

2023-12-28

layout: Use saturating_add() in several placesIvan Molodetskikh · 097c415
layout: Use saturating_add() in several places

Apparently VSCode sends i32::MAX worth of max_size?
Rename window -> tile, fix popup unconstraining window_yIvan Molodetskikh · 777ad4e
Rename window -> tile, fix popup unconstraining window_y

I missed the window_y thing and found it thanks to the rename. Too lazy
to split it into a commit.

2023-12-27

layout: Refactor to support window decorations, add border and fullscreen backdropIvan Molodetskikh · c21805b
layout: Refactor to support window decorations, add border and fullscreen 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).