Various minor adjustments to the code and preparation for GTK+ 3 #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request makes various minor adjustments all around the codebase and prepares the trivially adjustable tests for a port to GTK+ 3.
I don't know how far your considerations/coding in direction of porting to SDL went. I would have continued with GTK since it should be readily available on most Linux systems anyhow.
If I don't overlook anything the port to GTK+ 3 and beyond should mostly concern the drawing, which would need to be ported to Cairo. I realized this with this pull request, only the test cases containing text are more difficult (I know neither Cairo nor Pango).
I considered porting to GTK 4 directly, but I prefer to maintain a good deal of backwards compatibility. So I'd aim at GTK+ 3 first and then make optional adjustments to GTK 4.