-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CFGTOOL: Windows themes #5123
CFGTOOL: Windows themes #5123
Conversation
But is the extraction any good? Mostly...
You have no clue how long it took me to figure out that char was 4 bytes 🤣.
Not sure on how to fix these linux/mac errors... |
I enjoy all the recent CFGTOOL updates, thanks! LCD Default seems closest to the DOSbox-X theme, but its borders are blue instead of gray: Can you add one like that? What about a .conf setting to choose the theme + auto setting "match host OS theme"? |
The original was based on 16-color mode, had to switch to 24-bit as color panel swatches were so confusing; then I realized that indeed it's different. It shouldn't be too hard to add it back. Dark mode is hard, although you can easily come up with one, I found it more looking like high-contrast, it's not easy to come up with the right balance of colors. Last things are on the list but before that, the rest of the interface must be ported to that new scheme first. |
Thanks, @aybe! Tangentially related - is there a setting to change the DOSbox menu look - graphical (as on these screenshots) vs text-based? |
Oooh, nice! You got the menu bar to look like Windows 3.1 too! 👍 That looks way closer to what Windows 3.1 actually looks like! So now every window looks like WS_DIALOG, which is perfectly fine. |
Obviously, LCD Dark looks terrible and one really needs a true dark skin... I suppose I'll try again at some point. Just noticed a bug in the theme menu which gets overridden by section editor... The banner you mean? [dosbox[ bannercolortheme
At the moment, borders, title bar, buttons, focus are 1:1, everything else has to be done. Though nice, these old themes have a big problem, button color is always the same... While fixing, I will DRY the code first like I did for the buttons, then adjust. |
One thing you should consider is that the menu bar in Windows 3.1 has a line below it to visually separate it from the client area of the window. Can that be done? |
Yes I know, I just wanted to get theme in first to see how well it would work with actual code. |
No, I mean the menu of the DOSbox-X window itself: Can those be chosen via .conf or dosbox-x.exe argument? Also, after the recent changes - when closing Configuration tool window the main DOSbox window goes to the center of the screen. Builds from 1 month ago don't do that. Maybe related: #3612 And - DOSbox-X window in TTF mode now is a little bigger than in builds from 1 month ago, just enough so that the title bar is outside the screen (above the top) - I see Main/CPU/Video/etc., but not the |
|
The choice of menu is a compile time option. The idea is to use what the OS provides, or if that is not possible, to draw it's own. It's not something that can be changed by a dosbox.conf option. |
never mind, I just remembered you posted one... good old sound forge :) |
Additional information
Finally figured out CONTROL.INI nonsense, OLE colors in wrong order! 😫
For what's been upgraded, I simplified drawing code drastically by using fill rects...
I also added a visualizer for
GUI::String
... it took me ages to notice chars are 4 bytes... 💀🤣Border is 1:1, menu almost done, the rest will be very long... (next time)
The original Windows 3.1 themes: