awesome/tests/examples
Emmanuel Lepage Vallee f8f5e2c69b grid: Add border support.
This is long overdue. A bit of historical context. The grid API
is losely somewhat based on the old `radical` module, but was
heavily improved by @getzze. That version had row_span and col_span.

This made the way the previous implementation coded the border
incompatible. I spent some time back then trying to bolt it back on,
but the complexity is quite high and never made it work right.

This commit goes in another direction. Rather than draw the border,
it creates a mask where the border should *not* be, then bucket fill
the widget. This is the equivalent of CSS `border-collapse`.

It also support custom borders. This allows dashed lines and partial
borders.

The main use case will be to add border support to the calendar. It
was previously possible to partially do it using custom cell painters,
but was pretty hacky. Now that the calendar will deprecate the custom
painters in favor of `widget_template`s, a more robust alternative was
required.

The drawback of this commit is obviously the added complexity to the
most complex layout. This is why it adds many tests to cover the various
corner cases.
2023-12-31 00:57:07 -08:00
..
awful doc: Add `awful.screenshot` examples. 2022-11-13 17:35:32 -08:00
gears/shape shape: Add a "solid shadow" shape. (#3489) 2022-10-16 02:29:09 -07:00
naughty tests: Test the new naughty.widgets 2019-06-08 18:56:08 -04:00
screen doc: Use the theme foreground color instead of black in the templates. 2022-08-29 22:48:36 -07:00
sequences textbox: Rename `align` to `halign`. 2022-09-06 16:11:04 -07:00
shims shims: Implement the titlebar size API properly. 2022-11-13 17:35:32 -08:00
text tests: Add awful.wallpaper tests 2021-09-24 08:42:42 -07:00
uml textbox: Rename `align` to `halign`. 2022-09-06 16:11:04 -07:00
wibox grid: Add border support. 2023-12-31 00:57:07 -08:00
CMakeLists.txt fix: Use user-provided Lua binary to run scripts (#3715) 2022-10-10 22:42:33 -07:00
_postprocess.lua doc: Add logging to _postprocess.lua. 2022-08-29 22:49:47 -07:00
_postprocess_cleanup.lua doc: Find and post-process untracked SVG files. 2022-08-29 22:49:03 -07:00
runner.sh Fix runner.sh compatibility with OpenBSD and FreeBSD 2020-05-09 14:19:10 +02:00