MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / containerHandler

Method containerHandler

source/windowing/StarWidgetParsing.cpp:664–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664WidgetConstructResult WidgetParser::containerHandler(String const& name, Json const& config) {
665 auto widget = widgetHandler(name, config);
666 widget.obj->disableScissoring();
667 widget.obj->markAsContainer();
668 return widget;
669}
670
671WidgetConstructResult WidgetParser::layoutHandler(String const& name, Json const& config) {
672 String type;

Callers

nothing calls this directly

Calls 2

disableScissoringMethod · 0.80
markAsContainerMethod · 0.80

Tested by

no test coverage detected