currently, we manage our resources manually in the C++ source files. that process is quite error prune and could be automatized. on top of that we will need more resource files in the future looking at features like creating new documents or CSS/JS for an image viewer.
one part of this ticket would be to automatize the C++ source file generation from the resource files in the repository. this should be achieved by CMake.
the other part is to generalize resources by having either a key for each resource that obtains the content at run-time or even having a VirtualFilesystem with paths.
currently, we manage our resources manually in the C++ source files. that process is quite error prune and could be automatized. on top of that we will need more resource files in the future looking at features like creating new documents or CSS/JS for an image viewer.
one part of this ticket would be to automatize the C++ source file generation from the resource files in the repository. this should be achieved by CMake.
references
the other part is to generalize resources by having either a
key
for each resource that obtains the content at run-time or even having aVirtualFilesystem
with paths.