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

Method Reload

projects/uDesigner/source/main.cpp:624–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622 }
623
624 void Reload(const ElementLoadContext ctx) {
625 const auto old_ctx = this->load_ctx;
626 this->load_ctx = ctx;
627 this->load_ctx.img_custom_width = old_ctx.img_custom_width;
628 this->load_ctx.img_custom_height = old_ctx.img_custom_height;
629 this->Load();
630 this->load_ctx = old_ctx;
631 }
632
633 inline u32 GetDrawX(const u32 width) {
634 auto draw_x = this->x;

Callers 1

cpp_LoadElementImageFunction · 0.45

Calls 1

LoadMethod · 0.95

Tested by

no test coverage detected