summaryrefslogtreecommitdiffstats
path: root/source/widgets
AgeCommit message (Collapse)Author
2021-01-23Merge remote-tracking branch 'origin/next' into deprecateDave 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-12-03Remove cycle option.Dave Davenport
Is part of the listview theme option now.
2020-12-02Fix some wrong defaults.Dave Davenport
2020-12-02Remove more old config options that are now part of theme.Dave Davenport
2020-12-02Deprecate some old config options.Dave Davenport
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
2019-11-07[Box] Fix update not propagating to parent.Dave Davenport
2019-11-03[Textbox] Add theme option to stop blinking.Dave Davenport
2019-09-30[CI] Update missing documentation.Dave Davenport
2019-09-27Update copyright.Dave Davenport
2019-08-15[Icon] Suppport distance for size.Dave Davenport
2019-08-08Issue949 (#999)Dave Davenport
* [Issue 949] Add initial split of listview row into widget tree. Allowing better themeing. * Remove unneeded code from textbox. allow dis. icons. * Fix typo. * Fix wrong widget offset in textbox. * Fix mouse handling * [ListView] Add 'fixed-columns' boolean option. * [Listview] Fix inversion of option. * [ListView] remove commented old code. * [Textbox] Handle null pointer on desired width. * [Listview] Fix crasher with fixed_columns and more max elements requested items. * Add hack to get backwards compatibility for new listview structure. * Fix the scrollbar test. * Fix tests for theme update..
2019-05-04[ListView|Textbox] Add user-settable ellipsize mode.Dave Davenport
Fixes: #917