aboutsummaryrefslogtreecommitdiff
path: root/src/stardict-view.c
Commit message (Collapse)AuthorAgeFilesLines
* sdgui: fix up the smooth scrolling commitPřemysl Eric Janouch2022-07-241-1/+2
|
* sdgui: use smooth scrollingPřemysl Eric Janouch2022-07-241-5/+9
|
* sdgui: add a file open dialog to the menuPřemysl Eric Janouch2021-10-231-2/+2
| | | | And remove the selection following checkbox from Windows builds.
* sdgui: avoid Pango markup for keywordsPřemysl Eric Janouch2021-10-201-23/+22
| | | | Sadly, there is no way to make this an improvement for the end user.
* sdgui: make an attempt at smooth scrollingPřemysl Eric Janouch2021-10-201-5/+7
|
* sdgui: make Page Up/Down scroll the viewPřemysl Eric Janouch2021-10-201-0/+21
|
* sdgui: stop hardcoding cell side paddingPřemysl Eric Janouch2021-10-171-20/+40
|
* sdgui: stop hardcoding coloursPřemysl Eric Janouch2021-10-171-13/+29
| | | | | Reusing colours from sdtui configuration would be awkward and complicated, e.g. with font attributes, so abandon that idea.
* sdgui: clean up scrolling codePřemysl Eric Janouch2021-10-151-61/+52
|
* sdgui: scroll by three rowsPřemysl Eric Janouch2021-10-151-14/+18
| | | | Don't use an arbitrary amount of pixels, base it off the font.
* sdgtk: add and use a custom listview widgetPřemysl Eric Janouch2021-10-151-0/+526
Nothing in GTK+ appears to be suited for what are virtually infinite lists. Our workaround with GtkLabel and GtkScrolledWindow has been heavily suboptimal and needs to be replaced. Use Pango directly to handle our relatively simple needs. Upgrades: - the widget can be scrolled, - keywords are repeated for each definition line, - definition lines are now wrapped, and support 'g' and 'x' fields. Downgrades: - text can no longer be selected, so far.