There is an ongoing test on a new branch on github for the Windows port. We can now honor the personalization dark / light color mode setting on Windows. This means that Oolite respects the user's preferences better and can adjust its appearance according to whether it is running on light or dark mode. You will not notice a difference if you are playing in full screen of course, but those who prefer playing in a window (esp. in a dark mode setting) will immediately notice how much more relaxing.the whole experience is.
All apps by default and for compatibility reasons render their windows in light mode, but I just couldn't get over having Oolite with a blazing white title bar sitting in the middle of my screen while the rest of my desktop was nice and dark, so I thought I'd better do something about it and the result is quite nice, if I may say so. A pull request is being prepared, but in the meantime, for those who use dark mode, play in a window often and would rather take care of their eyesight, the auto-build artifact generated from github can be downloaded from here: https://drive.google.com/file/d/1MJJaGu ... sp=sharing
If your system is in light mode, then of course everything will look as it always has. There should be no visible change there, since Oolite has always rendered in light mode till now.
The feature is Windows-only at this time. Please check and let me know if you discover something amiss. This will probably be merged into master after phkb's galactic hyperspace stuff.
Dark mode
Moderators: winston, another_commander
-
- Quite Grand Sub-Admiral
- Posts: 6696
- Joined: Wed Feb 28, 2007 7:54 am
- Redspear
- ---- E L I T E ----
- Posts: 2694
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Dark mode
The very reason I never ran it in a window under normal circumstances.another_commander wrote: ↑Sat Aug 05, 2023 3:07 pmI just couldn't get over having Oolite with a blazing white title bar sitting in the middle of my screen while the rest of my desktop was nice and dark
Looks much better in your picture. A nice addition
- hiran
- Theorethicist
- Posts: 2410
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Dark mode
I just checked Ubuntu 22 LTS. Same issue here:another_commander wrote: ↑Sat Aug 05, 2023 3:07 pmThere is an ongoing test on a new branch on github for the Windows port. We can now honor the personalization dark / light color mode setting on Windows. This means that Oolite respects the user's preferences better and can adjust its appearance according to whether it is running on light or dark mode. You will not notice a difference if you are playing in full screen of course, but those who prefer playing in a window (esp. in a dark mode setting) will immediately notice how much more relaxing.the whole experience is.
While e.g. the Terminal always comes with dark title bar, Oolite always comes with a bright title bar.
Regardless of the desktop settings.
Nautilus (the file explorer equivalent) adapts to the chosen theme, so somehow it is possible.
Sunshine - Moonlight - Good Times - Oolite
-
- Quite Grand Sub-Admiral
- Posts: 6696
- Joined: Wed Feb 28, 2007 7:54 am
Re: Dark mode
Just a quick note to say that in the same PR I sneaked in a small change of the default game window size. Instead of 800x600, we now default to 1024x576 (16:9 aspect ratio). Bye bye 4:3, you served as well all these years but it's time to move on.
-
- Quite Grand Sub-Admiral
- Posts: 6696
- Joined: Wed Feb 28, 2007 7:54 am
Re: Dark mode
PR merged. The latest nightly from github contains the dark mode feature, as well as phkb's scripted galactic jump.
-
- Quite Grand Sub-Admiral
- Posts: 6696
- Joined: Wed Feb 28, 2007 7:54 am