MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / ForRawImage

Method ForRawImage

projects/uDesigner/source/main.cpp:361–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 }
360
361 inline static ElementLoadContext ForRawImage(void *raw_data, size_t raw_data_size, const u32 custom_width = 0, const u32 custom_height = 0) {
362 return {
363 .img_raw_data = raw_data,
364 .img_raw_data_size = raw_data_size,
365 .img_custom_width = custom_width,
366 .img_custom_height = custom_height
367 };
368 }
369
370 inline static ElementLoadContext ForText(const std::string &text) {
371 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected