dlangui icon indicating copy to clipboard operation
dlangui copied to clipboard

Way to load theme xml at runtime or startup

Open triplejam opened this issue 6 years ago • 3 comments

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.

triplejam avatar Dec 19 '17 06:12 triplejam

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.

buggins avatar Dec 22 '17 06:12 buggins

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

triplejam avatar Jan 02 '18 10:01 triplejam

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.

triplejam avatar Jan 05 '18 04:01 triplejam