What would be the right way to deal with user selectable colors in an application (e.g. a text editor) that:
- Allows the user to select font colors.
- Displays the document text on the screen with background depending on system theme (light or dark theme).
- Allows the user to print the document (on paper).
The color selected by the user is displayed on the screen as well as printed on the (white) paper.
But what to do in dark mode?
The color that the user selects via wxColourPickerCtrl cannot be used for both, displaying on screen (on a dark background) and printing on (white) paper!?
Is there any support from wxWidgets (using GTK on Linux) for such a requirement?
Thanks for every hint how something like that would be done in general and specifically with wxWidgets.