7#include "resource_view.hpp"
11#include <unordered_map>
13namespace hi::inline
v1 {
40 return std::make_unique<static_resource_view>(location);
Utilities used by the HikoGUI library itself.
DOXYGEN BUG.
Definition algorithm.hpp:15
A read-only memory mapping of a resource.
Definition resource_view.hpp:19
A resource that was included in the executable.
Definition static_resource_view.hpp:17
const_void_span span() const noexcept override
Get a span to the memory mapping.
Definition static_resource_view.hpp:33
static const_void_span get_static_resource(std::string const &filename)
Get the data of a static resource.
std::size_t offset() const noexcept override
Offset into the resource file.
Definition static_resource_view.hpp:28
Definition void_span.hpp:156