summaryrefslogtreecommitdiffstats
path: root/source/widgets
AgeCommit message (Collapse)Author
2021-06-15Fix regression in commit e52094ee7a2c216ddf74660a0b4a2e51d7433948 (#1317)nick87720z
I forgot about line style (dash) support which had to be tested too.
2021-06-13[Widget] with background image, draw background-color first.Dave Davenport
2021-06-13[Widget] Add initial support for background-image.Dave Davenport
* Supports url("path") and linear-gradient(start,stop).
2021-06-09Update copyright header.Dave Davenport
2021-06-09[Theme] Allow theme to set icon independent of show-icons option.Dave Davenport
2021-06-08Remove some deprecated options.Dave Davenport
* lines * columns * width
2021-06-01Re-indent the code using indenter.Dave Davenport
2021-05-23Add cursor property (#1313)TonCherAmi
* Change mouse cursor on widget hover Currently only listview element and editbox are supported. * Add cursor property
2021-05-05Cleanup code documentation.Dave Davenport
2021-04-13Added -hover-select option that automatically selects the entry under the ↵rahulaggarwal965
cursor (#1234)
2021-04-10[Listview] Check max_rows on nav_right/left.Dave Davenport
Fixes: #1297
2021-02-03Small fix in log domain containerDave Davenport
2021-01-19[Textbox] Allow markup to be disabled in theme.Dave Davenport
Change textbox for message from textbox to message-textbox. Issue: #1255
2020-12-28[Textbox] Allow theme to force markup enabled on textbox.Dave Davenport
rofi -theme-str 'prompt { markup: true; }' -show drun -display-drun '<i>d</i>ru<b>n</b>' fixes: #1220
2020-12-27[Textbox] When estimating height, set correct font first.Dave Davenport
fixes: #1247
2020-11-03Indent round.Dave Davenport
2020-09-13[Textbox] Try to fix estimated font height.Dave Davenport
This was on newer pango 1 pixel off with actual font height. This casues drawing issues. Fixes: #1190
2020-09-05[Widget] Fix border drawing code.Dave Davenport
Fixes: #1177
2020-08-28Run indenter.Dave Davenport
2020-07-11micro-refactoring: widget.c (#1148)nick87720z
* widget.c: microrefactoring * widget.c: join enable/disable functions
2020-07-09[Widget] Fix inconsistency in argument checking.Dave Davenport
2020-07-05Update changelog a bit.Dave Davenport
2020-06-17Widget bg draw (#1147)nick87720z
* 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-09Again final workaround for #303 (#1142)nick87720z
2020-06-02[Listview] Try to fix sizing of barview.Dave Davenport
Issue: #1137
2020-05-24[Script] Add 'info' row option, that gets passed to ROFI_INFO environment.Dave Davenport
2020-05-13[LISTVIEW] Support more customization in element.Dave Davenport
2020-05-13[Widget] Propaget set_state to children.Dave Davenport
2020-05-12workaround for #303 (#1122)nick87720z
* workaround for #303 Subpixel rendering may be disabled by some clip paths or when text itself is clipped. * optimize draw_pango_layout()
2020-04-26[Test] Fix compiler warning, theme test (bug in lexer) and more.Dave Davenport
2020-04-24[Themes] add calc() support to distance in theme format. (#1105)Dave Davenport
* Initial test to allow math in distances. Support + and - Needs spaces around + and -. * [THEME] Fix printing theme with math in distance. * [Theme] use calc() syntax. * [Theme] Add * and / to calc(). * [Theme] Fix the precedense ordering in parsing. Also avoid making copies. * [Theme] Don't print unneeded (). * [Theme] Add modulo to calc.
2020-04-16[DMenu] Implement -keep-rightDave Davenport
Fixes: #1089
2020-03-31[Textbox] Round estimated size up.Dave Davenport
2020-03-30Fix hack for height calc.Dave Davenport
2020-03-29[Textbox|Listview] Fix sizing of textbox.Dave Davenport
- don't get height of layout, but calculate height using metrics. - listview, set string with right number of lines. Issue: #925, #1069
2020-02-02Indent all the code.Dave Davenport
2020-01-02[Textbox] Correctly fall back to content when str is empty.Dave Davenport
2020-01-02[Textbox] Don't use placeholder color for cursor.Dave Davenport
2020-01-01[Listview] Small fix when distributing remaining space whith scrollbar.Dave Davenport
2020-01-01Update copyright dates.Dave Davenport
2019-12-29[Listview] Add more debug output for debugging.Dave Davenport
2019-12-29[Listview] Make str code more explicit.Dave Davenport
2019-12-29[Listview] Fix wrong flag set on indexDave Davenport
2019-12-29[Listview] Fix drawing issueDave Davenport
2019-12-29[Listview] Add support for showing the (keybindable) index.Dave Davenport
fixes: #1050
2019-12-29[Doc] Update theme manpage with import.Dave Davenport
2019-12-26[Textbox] Add placeholder.Dave Davenport
Fixes: #1020
2019-12-14[Doc] Update rofi-theme documentation.Dave Davenport
allow `content` as alias to `str` on textbox.
2019-11-23[listview] Always do full update to update all theme elements.Dave Davenport
fixes: #1032
2019-11-14[ListView] Fix right-to-left scrolling in bar-view.Dave Davenport
Issue: #1028