Skip to content

Conversation

@ukscid
Copy link
Contributor

@ukscid ukscid commented Jan 11, 2025

This branch is a completely revised version of the htext::display procedure.
All tag-specific elements have been separated out into their own functions.
htext::display is structured as a dispatcher that calls these functions.
I hope that this has significantly reduced the complexity.
I have also added two new functions:
Display of a diagram for NAG D https://sourceforge.net/p/scid/feature-requests/107/
Expanding and collapsing the variants https://sourceforge.net/p/scid/feature-requests/126/
The variants can be folded in and out individually.
All variants can be expanded and collapsed at the same time via popup menu
Both Functions can be set in the Display menu of the pgn window.
When adding the two functionalities, I still saw many optimizations, which is why the branch has become so large.
If the branch is too big, I can create a branch that only contains the optimization of htext::display

The graphic shows an example of the new functions.

pgn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant