cppcryptfs
cppcryptfs copied to clipboard
Dark mode
Very low priority request:
For the UI to change to a dark background if windows dark mode is enabled.
I did some looking around, and apparently it's not that straightforward to make an MFC app like cppcryptfs support dark mode. It looks like the MFC dialog controls don't support switching to dark mode. Each tab in cppcryptfs is an MFC dialog control.
As a I understand it, I would have to write a whole bunch of code to support dark mode.
I'll do some more research, but unless I can find a mostly automatic way to support it, I think this won't get added.
SiriKali[1] now supports cppcryptfs and dark mode. Download link is here[2].
You have to first tell SiriKali where cppcryptfs.exe and cppcryptfsctl.exe executables are by going to the following setting and set the folder path of where they are located:- Menu->Settings->External Commands->Set Executables Search Path.
[1] https://mhogomchungu.github.io/sirikali/ [2] https://github.com/mhogomchungu/sirikali/releases/tag/1.5.0
If you do not want the colors i set, you can change them by modifying a file located at "C:\Users\$USER\AppData\Local\SiriKali\SiriKali\themes\Dark.json" and explanation for what those json values are is below:-
- A list of Qt::GlobalColor is here[3].
- You can replace those Qt::GlobalColor with "rgba" json array for a better control of colors.
- You can google for rgba values for colors that you want to use and this[4] link seems to be a good start for gray values.
[3] https://doc.qt.io/qt-5/qcolor.html#predefined-colors
[4] http://www.flatuicolorpicker.com/grey-rgba-color-model/
Screenshots below:-