aboutsummaryrefslogtreecommitdiff
path: root/event-basic.c
AgeCommit message (Collapse)AuthorFilesLines
2024-05-21remove some ui pointer chasingRandy Palamar1-1/+1
There only exists a single Ui so there is no need to force a pointer redirection for accessing it. The Ui member was moved down in vis-core.h to punt around an issue with the way lua checks for existing objects. It may show up again as I flatten more structs.
2024-05-21replace UiTerm with Ui & delete function pointersRandy Palamar1-1/+1
2024-05-21cleanup vis event interfaceRandy Palamar1-0/+23
This removes the function pointer interface which was adding needless complexity and making it difficult to add new events. Now if new events are only meant for lua they only need to be added to the lua interface. This will also have a minor reduction in runtime memory usage and produce a smaller binary. The only runtime difference is that QUIT happens after all windows have been closed and their files freed.