Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sdgui: stop hardcoding colours | Přemysl Eric Janouch | 2021-10-17 | 1 | -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 code | Přemysl Eric Janouch | 2021-10-15 | 1 | -61/+52 |
| | |||||
* | sdgui: scroll by three rows | Přemysl Eric Janouch | 2021-10-15 | 1 | -14/+18 |
| | | | | Don't use an arbitrary amount of pixels, base it off the font. | ||||
* | sdgtk: add and use a custom listview widget | Přemysl Eric Janouch | 2021-10-15 | 1 | -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. |