aboutsummaryrefslogtreecommitdiff
path: root/nncmpp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix build in bare configurationsPřemysl Eric Janouch2023-08-011-4/+10
|
* Make the scroll wheel act on the gauge and volumePřemysl Eric Janouch2023-07-231-5/+22
|
* Add vertical padding to the status bar as wellPřemysl Eric Janouch2023-07-231-10/+16
| | | | For symmetry, if for nothing else.
* Change volume in finer stepsPřemysl Eric Janouch2023-07-201-4/+4
|
* Fix build on systems without A_ITALICPřemysl Eric Janouch2023-07-041-0/+4
| | | | Unfortunately, this font style doesn't work in X11 either in that case.
* Dissolve widget_redistribute()Přemysl Eric Janouch2023-06-191-41/+36
| | | | | liberty-xui has xui_hbox() and xui_vbox(), the way we use widgets is odd.
* Bump liberty, move the UI to liberty-xui.cPřemysl Eric Janouch2023-06-191-1508/+183
| | | | | | | | | | Also bump termo. This deduplicates code between nncmpp and hex, and adds support for bold + italic attributes under X11. There is still a lot of space for prettification. Unfortunately, most of our specialized widgets are quite entangled.
* CleanupPřemysl Eric Janouch2023-06-181-3/+1
|
* Fix potential issue with struct paddingPřemysl Eric Janouch2023-06-181-2/+2
| | | | The UI could very theoretically end up textless.
* CleanupPřemysl Eric Janouch2023-06-171-35/+36
|
* Fix crash when scrolling too far upPřemysl Eric Janouch2023-06-151-0/+1
|
* Change default active tab bar attributesPřemysl Eric Janouch2023-06-151-1/+1
| | | | It mostly just looked weird when the underline wasn't on the last row.
* Don't layout during renderingPřemysl Eric Janouch2023-06-151-55/+46
|
* Slightly clean up layoutingPřemysl Eric Janouch2023-06-151-43/+55
|
* Implement font fallbacksPřemysl Eric Janouch2023-06-101-54/+227
| | | | The editor doesn't support this so far, and it could be faster.
* Factor out app_widget_by_id()Přemysl Eric Janouch2023-06-091-14/+12
|
* Change volume adjustment key bindingsPřemysl Eric Janouch2023-05-301-2/+2
| | | | Use the much more obvious ones.
* Add a go-to-playing action and bindingPřemysl Eric Janouch2023-05-301-0/+8
|
* Separate the actions of aborting and quittingPřemysl Eric Janouch2023-03-251-13/+15
| | | | The user should not be afraid of pressing Escape too many times.
* X11: act on DestroyNotify rather than UnmapNotifyPřemysl Eric Janouch2023-03-251-1/+4
| | | | | This makes the program survive i3 restarts, which cause a sequence of: UnmapNotify, ReparentNotify, MapNotify.
* Improve display of files lacking proper metadataPřemysl Eric Janouch2023-03-071-15/+44
|
* X11: fix rendering of overflowing last list itemsPřemysl Eric Janouch2022-10-301-3/+3
|
* X11: support italic fonts as wellPřemysl Eric Janouch2022-09-201-3/+19
| | | | | The bold + italic combination isn't supported thus far, because it seems unnecessary.
* Implement lyrics lookupPřemysl Eric Janouch2022-09-201-32/+450
| | | | | There is now a generic mechanism for loading lyrics, or any other arbitrary content related to songs.
* Implement M-u, M-l, M-c from ReadlinePřemysl Eric Janouch2022-09-181-0/+11
|
* Don't depend on a standalone C preprocessorPřemysl Eric Janouch2022-09-131-3/+2
| | | | And get rid of the sed insanity.
* Put connecting/disconnected messages in status barPřemysl Eric Janouch2022-09-031-18/+12
| | | | | | | Those are general status messages, and seem to belong to the bottom. Partially motivated by the status bar being empty when disconnected. And add a missing window invalidation.
* Fix Clang buildPřemysl Eric Janouch2022-09-031-19/+20
|
* X11: render partially visible list itemsPřemysl Eric Janouch2022-09-031-6/+10
|
* X11: make the scrollbar span the full heightPřemysl Eric Janouch2022-09-031-9/+13
|
* Bind Tab and S-Tab to tab switchingPřemysl Eric Janouch2022-08-271-0/+3
|
* X11: fix Ctrl+SpacePřemysl Eric Janouch2022-08-271-2/+8
|
* Add debugging facilities for input eventsPřemysl Eric Janouch2022-08-271-16/+20
|
* Adjust the "action unavailable" messagePřemysl Eric Janouch2022-08-251-2/+4
|
* Add an action to describe itemsPřemysl Eric Janouch2022-08-251-34/+77
| | | | And improve the display of messages, separating any prefix out.
* X11: support copying text to CLIPBOARDPřemysl Eric Janouch2022-08-251-50/+167
| | | | Use the right mouse button.
* Enable configuring spectrum analyzer FPSPřemysl Eric Janouch2022-08-251-5/+11
|
* X11: mildly optimize drawingPřemysl Eric Janouch2022-08-251-12/+33
| | | | There is no real performance impact on modern systems.
* X11: handle Shift+clicks in the listPřemysl Eric Janouch2022-08-251-0/+7
|
* Rework mouse event processingPřemysl Eric Janouch2022-08-251-34/+51
| | | | X11's triple-click bug is gone, and we may pass modifier state.
* Try to stuff more things in the status barPřemysl Eric Janouch2022-08-241-23/+32
|
* X11: ring the bell as well, when appropriatePřemysl Eric Janouch2022-08-241-36/+42
|
* Improve help tab item choice error messagesPřemysl Eric Janouch2022-08-241-3/+6
|
* Hide messages when interacting with the editorPřemysl Eric Janouch2022-08-241-3/+19
|
* Implement mouse drags on the gauge and scrollbarPřemysl Eric Janouch2022-08-241-2/+35
|
* Click to close messagesPřemysl Eric Janouch2022-08-241-5/+17
| | | | While not ideal, it is at least some way to discard them.
* Notify when actions can't be takenPřemysl Eric Janouch2022-08-241-0/+2
|
* Always show messages to the userPřemysl Eric Janouch2022-08-241-13/+16
|
* X11: remark that triple clicks are mishandledPřemysl Eric Janouch2022-08-231-0/+1
|
* X11: improve rendering of denormalized textPřemysl Eric Janouch2022-08-231-4/+14
| | | | Xft is dumb.