Black Theme and Unit Change?

Is it possible to change the UI to black or a dark theme? With it being white when I am gaming at night and have it open it burns my eyes lol. Also it is possible to change the unit of measurement for the "Current DL Rate" and "Current UP Rate" for network adapters? Currently it is Kilobytes per second which is too small of a unit when using a gigabit connection and it is also the wrong unit of measurement. Ideally it should be Megabits per second.

Thanks in advance!
 

SteveBallmer

New Member
I have just upgraded to Windows 10 and prefer to use the dark theme of the system.

I'm looking forward to a dark version of the UI in a future update. Thank you!
 

Martin

HWiNFO Author
Staff member
Unfortunately Dark Theme is available only to UWP applications and HWiNFO is not UWP.
So it would require a complete GUI rewrite. I have already looked into this and it's a quite big effort, so I can't give an ETA when such a feature will be implemented.
 

Hexcate

New Member
Unfortunately Dark Theme is available only to UWP applications and HWiNFO is not UWP.
So it would require a complete GUI rewrite. I have already looked into this and it's a quite big effort, so I can't give an ETA when such a feature will be implemented.
I mean, it could be done pretty easily pragmatically. UWP would be required for it to use the dark theme toggle in windows settings. But a simple function that changes the hex values could be done with a toggle in the settings panel. I'm not sure what you're using to write hwinfo. But it should be as simple as

If (darkTheme.Setting == true)
{
panelName.backgroundColor = color.black;
panelName.foregroundColor = color.white;
etc;
etc;
} else {
panelName.backgroundColor = color.white;
panelName.foregroundColor = color.black;
etc;
etc;
}
 

Martin

HWiNFO Author
Staff member
I mean, it could be done pretty easily pragmatically. UWP would be required for it to use the dark theme toggle in windows settings. But a simple function that changes the hex values could be done with a toggle in the settings panel. I'm not sure what you're using to write hwinfo. But it should be as simple as

If (darkTheme.Setting == true)
{
panelName.backgroundColor = color.black;
panelName.foregroundColor = color.white;
etc;
etc;
} else {
panelName.backgroundColor = color.white;
panelName.foregroundColor = color.black;
etc;
etc;
}
:D That sounds very easy indeed.
But reality is quite different, the trick would be to port the entire application to UWP. Not mentioning the side-effects like losing compatibility with earlier systems and I'm not even sure if UWP applications are allowed to access hardware.
 

Hexcate

New Member
Yeah, IMO UWP is terrible, I tried it a few times and it was just a mess. WinAPI and WinForms are so much better. From a programming standpoint at least.
 

Dalai

Active Member
Total Commander recently introduced Dark Mode as well. This is done via owner-drawn windows. Perhaps you could contact Christian Ghisler and ask him how he's done it in detail. However, judging from the numerous bug reports regarding this mode, it might have side-effects to use owner-drawn windows, and it's certainly a lot of work to implement such a feature.

Regards
Dalai
 
Top