dlangui
dlangui copied to clipboard
Way to load theme xml at runtime or startup
I think it would be useful if there was a way to load a theme xml file at runtime or startup. This would make it easier to allow users of dlangui programs to customize them.
Resource manager should allow to load any resource from directories. If some resource is not found in embedded resources package, it should be loaded from directory. Need to check if this functionality is working ok.
Alright, I didn't realize I had to specify the resourceDirs. I found the example in the source, It does indeed work for me now
The second part of this question is could the default included themes in dlangui be considered a standard? I mean could there be a standard way to make a theme and easily apply it across projects? Sort of like how gtk or qt themes work? Assuming of course the program doesn't use anything else special.