New GUI code to replace current Configuration GUI (and other possible uses) #5352
Replies: 5 comments 10 replies
-
Great! I like all of the ideas mentioned. It would also make possible: Coincidentally, at Staging the GUI/OSD discussion was just re-activated with the idea to use Blend2D Thinking out loud about potential synergies/collaboration:
|
Beta Was this translation helpful? Give feedback.
-
Good idea, as that will avoid problems with copyright period, etc. - in the same way for some OS/2 variants IBM didn't pay for Windows license (thus those OS/2 variants were cheaper than normal?), but was using user-supplied Windows installation, where the user takes care of the licensing costs, Windows installation media, etc. |
Beta Was this translation helpful? Give feedback.
-
On a related note, the Unifont TTF file used by the TTF output might be useful as well because it has the full range of Unicode in it. Perhaps the GUI toolkit could support using the message translation system in place, such that it can use your language setting. Unifont could be used for, say, the Chinese characters that the other fonts don't have. |
Beta Was this translation helpful? Give feedback.
-
Huh, how about unifont.pcf in X11. It looks similar to Sans Serif. |
Beta Was this translation helpful? Give feedback.
-
The copy on my system is 5MB large with some things in it that are probably not necessary for DOSBox-X, like the massive "glyph name string table" that's mostly strings like "U+3543", and the font bitmaps are uint32_t aligned, so it would be converted to something more compact within DOSBox-X obviously. However unifont.pcf also has the full Unicode range, which means the UI could support more than just English and European languages with this one. |
Beta Was this translation helpful? Give feedback.
-
While the current Configuration GUI codebase has functioned well enough, I really don't like how it's designed.
It has have C++ style "new Button or whatever" code which allocates objects that you hope attach to the Window or whatever and never get lost. There was also a long ago hard to fix use-after-free issue with the system menu and the window (when you select Close). Finally, it requires DOSBox-X to stop and switch the SDL video mode to 32bpp.
I'd like to write a new GUI toolkit for DOSBox-X. I know enough how to code one, and any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions