| 351 | std::string text_text; |
| 352 | |
| 353 | inline static ElementLoadContext ForAssetImage(const std::string &path, const u32 custom_width = 0, const u32 custom_height = 0) { |
| 354 | return { |
| 355 | .img_path = path, |
| 356 | .img_custom_width = custom_width, |
| 357 | .img_custom_height = custom_height |
| 358 | }; |
| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected