rofi/source
nick87720z e52094ee7a
Widget bg draw (#1147)
* Improved background draw code

- Better to read (precalculated coordinates)
- Unnecessary line_to in the end
- Don't use radius in calculations if zero

* Background draw - separate rounded rect function

* Limit background & border overlap size

Overlap is too good against artifacts when stiching antialiased areas to
be avoided, unless intermediate image is used for additive stiching. But
it doesn't look good with transparent borders, when overlaping background
is visible. It seems, that 1px overlap is right enough to completely
prevent artifacts. Though things may differ if one if side is 1px or
even 0px, while adjacent is still enough thick.

* Style: alignment, less noise, limit var scope
2020-06-17 14:10:48 +02:00
..
dialogs script: Fix parsing of extras (#1141) 2020-06-06 18:32:14 +02:00
widgets Widget bg draw (#1147) 2020-06-17 14:10:48 +02:00
css-colors.c [ThemeParser] Add CSS color names support 2017-05-15 22:46:33 +02:00
helper.c [Helper] Throw error when shell parsing fails. 2020-05-04 14:10:35 +02:00
history.c Update copyright dates. 2020-01-01 12:23:12 +01:00
keyb.c Indent all the code. 2020-02-02 13:56:37 +01:00
mode.c Update copyright dates. 2020-01-01 12:23:12 +01:00
rofi-icon-fetcher.c [IconFetcher] Do faster scaling. 2020-02-14 14:37:41 +01:00
rofi-types.c Support rasi config character type options (#1131) 2020-05-17 14:50:38 +02:00
rofi.c Add check that looks if rofi is running inside rofi script mode. 2020-05-21 09:35:55 +02:00
theme.c Millimeter support for distance (#1144) 2020-06-09 22:19:43 +02:00
timings.c Indent all the code. 2020-02-02 13:56:37 +01:00
view.c When no dpi set (-1) set the default one for fonts handling. 2020-06-09 22:51:44 +02:00
xcb.c Indent all the code. 2020-02-02 13:56:37 +01:00
xrmoptions.c Support rasi config character type options (#1131) 2020-05-17 14:50:38 +02:00